Bug#474931: grub-common: update-grub segfaults
Robert Millan
rmh at aybabtu.com
Thu Apr 10 08:12:53 UTC 2008
tags 474931 patch
thanks
On Tue, Apr 08, 2008 at 02:20:25AM +0300, Sami Liedes wrote:
> (gdb) print q
> $2 = 0x66b5b4 " LVM2 x[5A%r0N*>\001"
This could mean that your LVM is corrupt, or that our LVM logic is incomplete.
Unfortunately I don't have the time to review that, but I improved the parser
to make it more robust, failing safely when problems like this one arise. This
fixes the issue at hand (using grub-probe in update-grub).
Please, could you try the attached patch and report your results?
Thanks
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm_fault_tollerant.diff
Type: text/x-diff
Size: 5525 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20080410/aa0a68c8/attachment.diff
More information about the Pkg-grub-devel
mailing list