Bug#486596: grub-pc: Crash in postinst: /usr/sbin/grub-probe: realloc(): invalid next size: 0x080be408
Bryan Donlan
bdonlan at fushizen.net
Tue Jun 17 03:19:49 UTC 2008
Package: grub-pc
Version: 1.96+20080601-2
Severity: normal
grub-pc post-inst crashed with:
Setting up grub-pc (1.96+20080601-2) ...
Installing new version of config file /etc/grub.d/00_header ...
Installing new version of config file /etc/grub.d/10_linux ...
Installing new version of config file /etc/grub.d/10_hurd ...
Installing new version of config file /etc/grub.d/05_debian_theme ...
Installing new version of config file /etc/default/grub ...
*** glibc detected *** /usr/sbin/grub-probe: realloc(): invalid next size:
0x080be408 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7e40614]
/lib/i686/cmov/libc.so.6[0xb7e44191]
/lib/i686/cmov/libc.so.6(realloc+0x106)[0xb7e44b36]
/usr/sbin/grub-probe[0x804ac08]
/usr/sbin/grub-probe[0x805a145]
/usr/sbin/grub-probe[0x805a222]
/usr/sbin/grub-probe[0x805b97d]
/usr/sbin/grub-probe[0x8061b16]
/usr/sbin/grub-probe[0x8049173]
/usr/sbin/grub-probe[0x80496db]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7de8455]
/usr/sbin/grub-probe[0x8048f31]
======= Memory map: ========
08048000-08067000 r-xp 00000000 03:02 46279 /usr/sbin/grub-probe
08067000-08068000 rwxp 0001f000 03:02 46279 /usr/sbin/grub-probe
08068000-08caf000 rwxp 08068000 00:00 0 [heap]
b7c00000-b7c21000 rwxp b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7dc4000-b7dd0000 r-xp 00000000 03:02 6530 /lib/libgcc_s.so.1
b7dd0000-b7dd1000 rwxp 0000b000 03:02 6530 /lib/libgcc_s.so.1
b7dd1000-b7dd2000 rwxp b7dd1000 00:00 0
b7dd2000-b7f27000 r-xp 00000000 03:02 53539 /lib/i686/cmov/libc-2.7.so
b7f27000-b7f28000 r-xp 00155000 03:02 53539 /lib/i686/cmov/libc-2.7.so
b7f28000-b7f2a000 rwxp 00156000 03:02 53539 /lib/i686/cmov/libc-2.7.so
b7f2a000-b7f2e000 rwxp b7f2a000 00:00 0
b7f42000-b7f43000 rwxp b7f42000 00:00 0
b7f43000-b7f5d000 r-xp 00000000 03:02 53540 /lib/ld-2.7.so
b7f5d000-b7f5f000 rwxp 0001a000 03:02 53540 /lib/ld-2.7.so
bfa66000-bfa7c000 rwxp bfa66000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
Updating /boot/grub/grub.cfg ...
Found Debian background: debian-blueish-wallpaper-640x480.png
Found linux image: /boot/vmlinuz-2.6.22-3-686
Found initrd image: /boot/initrd.img-2.6.22-3-686
done
The overall post-inst script suceeded, so APT did not detect the error.
Is it safe to reboot still? :)
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/hda2 / reiserfs rw 0 0
/dev/hda2 /dev/.static/dev reiserfs rw 0 0
/dev/hdb1 /boot ext3 rw,data=ordered 0 0
/dev/mapper/hanyuu-home /home reiserfs rw 0 0
/dev/mapper/hanyuu-media /srv/media reiserfs rw 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/hda
(hd1) /dev/hdb
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,2)
search --fs-uuid --set 412e3acc-15d9-446d-b9e2-ee0262431829
if font /usr/share/grub/unicode.pff ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
terminal gfxterm
fi
set root=(hd1,1)
search --fs-uuid --set 9318f519-f756-4a1f-8cec-78b547ae9ca2
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,2)
search --fs-uuid --set 412e3acc-15d9-446d-b9e2-ee0262431829
insmod png
if background_image /usr/share/images/desktop-base/debian-blueish-wallpaper-640x480.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
set root=(hd1,1)
search --fs-uuid --set 9318f519-f756-4a1f-8cec-78b547ae9ca2
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/09_windows ###
#!/bin/cat
menuentry "Windows XP" {
chainloader (hd0,3)+1
}
### END /etc/grub.d/09_windows ###
### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.22-3-686" {
linux /vmlinuz-2.6.22-3-686 root=/dev/hda2 ro
initrd /initrd.img-2.6.22-3-686
}
menuentry "Debian GNU/Linux, linux 2.6.22-3-686 (single-user mode)" {
linux /vmlinuz-2.6.22-3-686 root=/dev/hda2 ro single
initrd /initrd.img-2.6.22-3-686
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii grub-common 1.96+20080601-2 GRand Unified Bootloader, version
ii libc6 2.7-12 GNU C Library: Shared libraries
ii liblzo2-2 2.03-1 data compression library
ii libncurses5 5.6+20080531-1 Shared libraries for terminal hand
grub-pc recommends no packages.
-- debconf information:
* grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
More information about the Pkg-grub-devel
mailing list