Chris Staub wrote:
Jürg Billeter wrote:

On Sam, 2005-09-03 at 05:26 -0400, Chris Staub 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...



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.



I didn't write that this is the only bug in cfdisk but it's the only
reason for the crash on one of my systems. To be sure that your system
exposes an other bug: Do all 0x83 partitions contain the ext3 filesystem
on the affected system, i.e. no unused partitions or more unusual
filesystem for example (that's the reason I wrote non-ext2/ext3,
non-xfs, non-jfs instead of reiserfs)? And did you try the patch at all?

Jürg


Yes, there is an NTFS partition on hda1. And I did try the patch - it works.

Though, if I remember right, I had just about exactly the same partition setup on my laptop - NTFS hda1, ext3 hda2-3, swap hda4. I removed the hda1 partition and it still segfaulted.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to