[Bug 1050774] Re: grub-script-check assert failure: *** glibc detected *** /usr/bin/grub-script-check: double free or corruption (!prev): 0x08210b38 ***
Colin Watson
cjwatson at canonical.com
Fri Sep 14 16:58:46 UTC 2012
This is actually a bug somewhere in the grub-mkconfig stack. There's a
series of increasingly-implausible lines of the form:
menuentry 'Ubuntu'\\''\'\\'''\\'' --class ubuntu --class gnu-
linux --class gnu --class os $menuentry_id_option
'\\''\'\\'''\\''gnulinux-simple-aa1bddfe-1ddb-4832-bee9-eb31c56faefa (on
/dev/sdc4)'\\'' --class gnu-linux --class gnu --class os
$menuentry_id_option '\\''osprober-
gnulinux-/boot/vmlinuz-3.6.0-030600rc5-generic--aa1bddfe-
1ddb-4832-bee9-eb31c56faefa (on /dev/sdc5)' --class gnu-linux --class
gnu --class os $menuentry_id_option 'osprober-
gnulinux-/boot/vmlinuz-3.6.0-030600rc5-generic--00c5de83-479c-
4ab0-9b54-9af0a727175e' {
... and eventually these get long enough to overflow grub-script-check's
buffer. The buffer size is sufficiently large that I can't really
imagine it being hit intentionally, so I'd rather fix whatever's
generating this madness.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1050774
Title:
grub-script-check assert failure: *** glibc detected *** /usr/bin
/grub-script-check: double free or corruption (!prev): 0x08210b38 ***
Status in “grub2” package in Ubuntu:
Triaged
Bug description:
Lubuntu Quantal i386
Yesterday i've tested grub 2.0 fromm the cjwatson ppa without issue.
Then i've ran vbeinfo on next boot to fill custom values :
GRUB_GFXMODE=1024x768,800x600
Today the new 2.00-3ubuntu1 is upgraded and get that problem. Note
that ubuntu quantal i386 have been previously upgraded with this
latest grub 2.0 without that issue.
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: grub-common 2.00-3ubuntu1
Uname: Linux 3.6.0-030600rc5-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.5.1-0ubuntu7
Architecture: i386
AssertionMessage: *** glibc detected *** /usr/bin/grub-script-check: double free or corruption (!prev): 0x08210b38 ***
Date: Fri Sep 14 09:06:51 2012
ExecutablePath: /usr/bin/grub-script-check
ProcCmdline: /usr/bin/grub-script-check /boot/grub/grub.cfg.new
Signal: 6
SourcePackage: grub2
StacktraceTop:
__libc_message (do_abort=2, fmt=0xb77271dc "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
malloc_printerr (action=<optimized out>, str=<optimized out>, ptr=0x8210b38) at malloc.c:5007
?? ()
?? ()
?? ()
Title: grub-script-check assert failure: *** glibc detected *** /usr/bin/grub-script-check: double free or corruption (!prev): 0x08210b38 ***
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1050774/+subscriptions
More information about the foundations-bugs
mailing list