xfs-masters
[Top] [All Lists]

[Bug 842] xfs_db crashes on 'frag'

To: xfs-masters@xxxxxxxxxxx
Subject: [Bug 842] xfs_db crashes on 'frag'
From: bugzilla-daemon@xxxxxxxxxxx
Date: Fri, 17 Jul 2009 05:26:15 -0500
Auto-submitted: auto-generated
In-reply-to: <bug-842-113@xxxxxxxxxxxxxxxx/bugzilla/>
References: <bug-842-113@xxxxxxxxxxxxxxxx/bugzilla/>
http://oss.sgi.com/bugzilla/show_bug.cgi?id=842


Olaf Weber <olaf@xxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olaf@xxxxxxx




--- Comment #6 from Olaf Weber <olaf@xxxxxxx>  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.

<Prev in Thread] Current Thread [Next in Thread>