[xfs-masters] [Bug 842] xfs_db crashes on 'frag'

bugzilla-daemon at oss.sgi.com bugzilla-daemon at oss.sgi.com
Fri Jul 17 05:26:15 CDT 2009


http://oss.sgi.com/bugzilla/show_bug.cgi?id=842


Olaf Weber <olaf at sgi.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olaf at sgi.com




--- Comment #6 from Olaf Weber <olaf at sgi.com>  2009-07-17 05:26:13 CST ---
It looks like convert_extent() has been given a bad input pointer (the
'rp' value) -- this implies the same happened to process_bmbt_reclist()
which was called by scanfunc_bmap().

The rp value is set up like this.

    452                 rp = (xfs_bmbt_rec_32_t *)
    453                         XFS_BTREE_REC_ADDR(mp->m_sb.sb_blocksize,
xfs_bmbt,
    454                         block, 1, mp->m_bmap_dmxr[0]);
    455                 process_bmbt_reclist(rp, INT_GET(block->bb_numrecs,
ARCH_CONVERT), extmapp);

The code in this area has been reorganized a bit since 2.9.  Would it be
possible to test this with xfs_db compiled from current sources?

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the xfs-masters mailing list