Bug#545460: segfault during update of grub-pc package
Robert Ramiega
jedi at plukwa.net
Tue Sep 8 09:57:06 UTC 2009
On Mon, Sep 07, 2009 at 03:27:10PM +0200, Felix Zielcke wrote:
> It would be good if you could make a debug compile to get a back trace
> See the Debian wiki. It should be clear even if it's german, if not then
> please ask:
> http://wiki.debian.org/de/GRUB2/Anleitung/DebianPaketVonOriginalQuelltext
>
> You can remove all blocks except the first one from the packages you
> don't need from debian/control so it builds faster.
> Then change the first line of all files in /etc/grub.d from
> `#! /bin/sh -e' to `#! /bin/sh -ex'
> and run `bash -x grub-mkconfig'
> then you should get the exact grub-probe line which segfaults.
> Then `gdb grub-probe'
> `r <arguments>'
> `bt'
(gdb) r --device /dev/mapper/rhenvar-lvol0 --target=abstraction
Starting program: /usr/sbin/grub-probe --device /dev/mapper/rhenvar-lvol0
--target=abstraction
Program received signal SIGSEGV, Segmentation fault.
0x080490a8 in probe_raid_level (disk=0x0) at
/home/work/src/grub2/util/grub-probe.c:94
94 if (disk->dev->id != GRUB_DISK_DEVICE_RAID_ID)
(gdb) bt
#0 0x080490a8 in probe_raid_level (disk=0x0) at
/home/work/src/grub2/util/grub-probe.c:94
#1 0x08049293 in probe (path=0x0, device_name=0xbffffea0
"/dev/mapper/rhenvar-lvol0") at /home/work/src/grub2/util/grub-probe.c:167
#2 0x0804982f in main (argc=4, argv=0xbffffd74) at
/home/work/src/grub2/util/grub-probe.c:417
Not so much but I hope it's usefull
--
NameLess, the Jedi | Just a friendly Jedi Knight
Robert Ramięga | http://nlj.plukwa.net/
More information about the Pkg-grub-devel
mailing list