Chris Staub wrote:
Jürg Billeter wrote:
On Sam, 2005-09-03 at 18:53 +1000, Greg Schafer wrote:
On Sat, 03 Sep 2005 10:37:30 +0200, Jürg Billeter wrote:
Ok, it's not a gcc bug at all... The SEGV seems to have destroyed some
debug info on the stack and that's the reason gdb didn't help. The
problem occured on all systems with linux partitions that don't have a
ext2/ext3, xfs, or jfs filesystem as the crash happens during the
reiserfs check which is the last one by hazard. The patch speaks for
itself, I have no idea why this doesn't crash with other gcc versions /
optimization settings, must be luck...
Great work!
Please submit this upstream ASAP, as a new release of util-linux is not
too far away.
Already done; submitted to patches project, too.
Jürg
What do you mean? I have ext3 partitions on the couple of systems that
I've tried it on and it segfaulted. I also do not have any Reiser
partitions.
OK, I tried it with the patch and it works now. I guess the description
of the problem isn't quite accurate since it does happen when I have
ext3 partitions but no reiser partitions. Here's the output of cfdisk -P
t...
---Starting--- ----Ending---- Start Number of
# Flags Head Sect Cyl ID Head Sect Cyl Sector Sectors
-- ----- ---- ---- ---- ---- ---- ---- ---- ----------- -----------
1 0x80 1 1 0 0x07 15 63 1023 63 17669169
2 0x00 15 63 1023 0x83 15 63 1023 17669232 17611776
3 0x00 15 63 1023 0x83 15 63 1023 35281008 19531008
4 0x00 15 63 1023 0x83 15 63 1023 54812016 3821328
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page