[xfs-masters] [Bug 976] xfs_repair v3.1.11 -- segfault in Phase 6 Badness key lookup (length) : get_inode_offset at incore.h:319

bugzilla-daemon at oss.sgi.com bugzilla-daemon at oss.sgi.com
Sun Aug 25 12:21:54 CDT 2013


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

Eric Sandeen <sandeen-xfs at sandeen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sandeen-xfs at sandeen.net

--- Comment #2 from Eric Sandeen <sandeen-xfs at sandeen.net> ---
Can you please try the latest git tree?  I think this recent commit fixes it:

commit 3ac87fbf6ac29494dc46134323733551aac1737c
Author: Mark Tinguely <tinguely at sgi.com>
Date:   Fri Aug 16 18:12:43 2013 +0000

    xfsprogs: fix inode crash in xfs_repair

    Adding the lost+found in phase 6 could allocate an inode from
    a new inode chunk. Since this chunk was not around in phase 3
    when the inode chunks are verificated and added to the avl tree,
    the avl tree look up will return a NULL pointer. This results
    in a NULL defererence and segmentation fault.

    Add the newly created inode chunk as if found in the chunk
    verification phase.

    Signed-off-by: Mark Tinguely <tinguely at sgi.com>
    Reviewed-by: Rich Johnston <rjohnston at sgi.com>
    Signed-off-by: Rich Johnston <rjohnston at sgi.com>

quick-start:

# git clone git://oss.sgi.com/xfs/cmds/xfsprogs.git
# cd xfsprogs
# make
# repair/xfs_repair $DEVICE

-Eric

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs-masters/attachments/20130825/d01faaf2/attachment.html>


More information about the xfs-masters mailing list