Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5551 - xfs_check from xfsprogs (ver. 20020330) seems to seg fault
Summary: xfs_check from xfsprogs (ver. 20020330) seems to seg fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: phoen][x
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-25 05:09 UTC by Scott
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott 2002-07-25 05:09:46 UTC
When I emerge xfsprogs (ver. 20020330) and run xfs_check on a validfilesystem, it runs xfs_db which in turn gives me the followingerror.> xfs_check /dev/hdc2/usr/sbin/xfs_check: line 62:  1489 Segmentation fault  xfs_db$ISFILE -i -p   xfs_check -c "check$OPTS" $1xfs_check is just a wrapper script for xfs_db. However xfs_repair, also part of xfsprogs, seems to work ok.Also, if I build xfsprogs-2.0.6.src.tar.gz, downloaded directly from SGI'swebsite and do a generic install on it, its xfs_check seems to work ok.A difference to consider is that my /etc/make.conf specifies to compilewith `-O3', but the distribution from SGI tries to use `-O1' but isoverridden by the make.conf and emerge script.  I haven't tried to change theemerge script to see if forcing -O1 back would work (since I haven'tfigured out how), but it may be worth someone's try.
Comment 1 phoen][x 2002-07-26 12:55:09 UTC
Strange, it works in a gcc3 environment. Anyways, if the optimization FLAG 
is higher than -O1 and you compile it in a gcc-2.95.3 environment, xfs_check
will segfault. I modified the ebuild so that xfsprogs will always be compiled
with -O1.

The new version is xfsprogs-20020330-r1 (its masked).

Could you give it a try, scott?

-phoen][x-
Comment 2 phoen][x 2002-07-27 13:08:02 UTC
Closing bug, unmasking ebuild.

-phoen][x-