Bug 135564

Summary: XFS utilities segfault
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Manfred Hollstein <mh>
Component: OtherAssignee: Marian Jancar <mjancar>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Strace output from running the failing program

Description Manfred Hollstein 2005-11-25 14:13:11 UTC
Trying to find out the level of fragmentation on my XFS filesystems using "xfs_db" from the xfsdump package results in a "Segmentation fault". Here are the details:

# df -T /dev/md5
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/md5       xfs    64356608       480  64356128   1% /home/vault/nobackup
# xfs_db -r -c frag /dev/md5
Segmentation fault

Strace'ing the program shows that the segfault happens after a call to mmap (will attach the strace log to this report in a second).
Comment 1 Manfred Hollstein 2005-11-25 14:14:28 UTC
Created attachment 58753 [details]
Strace output from running the failing program
Comment 2 Manfred Hollstein 2005-11-25 14:15:50 UTC
FWIW, this does not just happen on my x86_64 box or on an md device, but it also happens on plain x86 boxes with hdax devices, so it appears to be a rather generic failure inside the XFS utilities/stack.
Comment 3 Marian Jancar 2006-01-20 11:58:03 UTC
I have upgraded the xfsprogs in 10.1, does it still happen there?
Comment 4 Manfred Hollstein 2006-01-21 16:31:19 UTC
Just tried to upgrade to xfsprogs-2.7.11-3 on my SUSE Linux 10.0, but it failed due to its dependency to GLIBC_2.4. Can you provide a package built for SL-10.0, too?
Comment 5 Manfred Hollstein 2006-01-23 10:42:52 UTC
OK, I just build the package myself using build.rpm and tested it on i586 and x86_64; the problem appears to be fixed. Maybe we should release this package as an update via YOU?
Comment 7 Marian Jancar 2006-01-23 15:39:24 UTC
fixed