[Bug 938724] Re: `grub-probe --target=device inaccessible-path` crashes
Launchpad Bug Tracker
938724 at bugs.launchpad.net
Thu Apr 5 12:40:42 UTC 2012
This bug was fixed in the package grub2 - 1.99-21ubuntu2
---------------
grub2 (1.99-21ubuntu2) precise; urgency=low
[ Andy Whitcroft ]
* Only supply vt.handoff=7 when we are using gfxpayload=keep. Do this
even when the command line is modified before execution. (LP: #942846)
[ Colin Watson ]
* Don't crash on inaccessible loop device backing paths (LP: #938724).
-- Colin Watson <cjwatson at ubuntu.com> Thu, 05 Apr 2012 13:36:57 +0100
** Changed in: grub2 (Ubuntu)
Status: Triaged => Fix Released
--
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/938724
Title:
`grub-probe --target=device inaccessible-path` crashes
Status in “grub2” package in Ubuntu:
Fix Released
Bug description:
While running update-grub within a chroot, /usr/sbin/grub-probe
--target=device /opt/ltsp/images/fat.img was called (a loop device),
but that path wasn't available inside the chroot, and grub-probe
crashed.
The attached trace is from a simple `grub-probe --target=device asdf`
in my main system, without using any chroots at all.
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: grub-common 1.99-14ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic-pae 3.2.6
Uname: Linux 3.2.0-17-generic-pae i686
ApportVersion: 1.92-0ubuntu1
Architecture: i386
Date: Wed Feb 22 16:42:31 2012
ExecutablePath: /usr/sbin/grub-probe
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20111129.1)
ProcCmdline: /usr/sbin/grub-probe --target=device asdf
SegvAnalysis:
Segfault happened at: 0x807d567: cmpb $0x0,(%eax)
PC (0x0807d567) ok
source "$0x0" ok
destination "(%eax)" (0x00000000) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: grub2
StacktraceTop:
?? ()
?? ()
?? ()
?? ()
__libc_start_main () from /lib/i386-linux-gnu/libc.so.6
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip epoptes fuse lpadmin plugdev sambashare sudo vboxusers
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/938724/+subscriptions
More information about the foundations-bugs
mailing list