[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1.6.5pre1: segmentation fault in disk_sync_part_table

From: Andrew Clausen
Subject: Re: 1.6.5pre1: segmentation fault in disk_sync_part_table
Date: Sat, 1 Feb 2003 11:07:58 +1100
User-agent: Mutt/1.4i

On Thu, Jan 30, 2003 at 12:37:21PM +0100, Sven Hartrumpf wrote:
> Hi again.
> I see reproducable crashes for 1.6.5-pre1 (I think 1.6.3 crashes similarly).
> For example, the following:
> (parted has been configured like this:
> ./configure --prefix=/programs/free/parted-1.6.5-pre1 --enable-all-static
> OS: SuSE GNU/Linux 7.2, I386, kernel 2.4.20-rc1 )

Could you please configure like this:

        CFLAGS=-g ./configure --prefix=/programs/free/parted-1.6.5-pre1 \

That way, you get debugging information.

> Program received signal SIGSEGV, Segmentation fault.
> 0x0806f63a in _disk_sync_part_table ()
> (gdb) bt
> #0  0x0806f63a in _disk_sync_part_table ()

FWICT, the only way _disk_sync_part_table() can seg fault is
ped_disk_get_partition() returns a bogus non-NULL pointer.  There
aren't many pointer dereferences in _disk_sync_part_table().

That's why debugging information would help a lot :)  (It would
give parameters and local variables)

Thanks a lot!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]