bug-parted
[Top][All Lists]
Advanced

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

Re: rescue command segv's always


From: K.G.
Subject: Re: rescue command segv's always
Date: Thu, 17 Nov 2005 03:27:36 +0100

On Wed, 16 Nov 2005 19:15:10 -0600 Ryan Charles Underwood <address@hidden> 
wrote:

> No, in fact with this patch exactly the same behavior is shown,
> dereferencing NULL in the same library function.  I did verify that the
> library and the parted binary were rebuilt from scratch with the updated
> codes.

This is weird, I can't reproduce the bug with the patch...

> This time I built with CFLAGS=-g, --enable-debug and --enable-all-static
> in the hopes that Valgrind would give me the line number of the error in
> the shared library.  [Un]fortunately, this time it worked, but with many
> (!!) memory errors noted.

Are you sure they really are memory errors ? Valgrind uses to report lots
of ioctl errors that indeed are not really errors when I use it to debug 
Parted :p

> Anyway, I don't know what the source of the
> original problem is now, since it works when built statically.  It seems
> to me that it should either work in both cases or be broken in both cases.

I agree that would make more sens.

> Unfortunately the scan does not find my ext3 partition.  It was simply 
> deleted with fdisk, not overwritten or anything, I don't see what the 
> matter is.  I have used parted rescue before with success.

I reproduced your partition scheme, with a supplementary partition 10
from 41 to 49g, formatted everybody with ext3, deleted it and rescued it
without any problem, but well this test doesn't mean anything because
it could be different from the exact position of your partition 10

Cheers,
Guillaume Knispel




reply via email to

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