Bug#545460: segfault during update of grub-pc package

Robert Ramiega jedi at plukwa.net
Mon Sep 7 13:47:46 UTC 2009


On Mon, Sep 07, 2009 at 03:27:10PM +0200, Felix Zielcke wrote:
> Am Montag, den 07.09.2009, 12:30 +0200 schrieb Robert Ramiega:
> > Package: grub-pc
> > Version: 1.97~beta2-2
> > Severity: important
> > 
> > 
> > While attempting to upgrade grub-pc using aptitude I got:
> > 
> > Setting up grub-pc (1.97~beta2-2) ...
> > Installation finished. No error reported.
> > This is the contents of the device map /boot/grub/device.map.
> > Check if this is correct or not. If any of the lines is incorrect,
> > fix it and re-run the script `grub-install'.
> > 
> > (hd0)   /dev/hda
> > Generating grub.cfg ...
> > Segmentation fault
> > dpkg: error processing grub-pc (--configure):
> >  subprocess installed post-installation script returned error exit status 139
> > 
> > This is clean install of Debian/SID done a couple of weeks ago with grub-pc chosen as
> > default bootloader.
> 
> 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.

the exact grub-probe line that segfaults is this:

/usr/sbin/grub-probe --device /dev/mapper/rhenvar-lvol0 --target=abstraction

tho what does grub want from my /usr filessytem is beyond me =o))


> Then `gdb grub-probe'
> `r <arguments>'
> `bt'

This will need some more preparations and I'll do that ASAP. In the meantime
I can provide strace output from above (if it's of any help).


-- 
 NameLess, the Jedi     | Just a friendly Jedi Knight
 Robert Ramięga         | http://nlj.plukwa.net/





More information about the Pkg-grub-devel mailing list