[Bug 938724] Re: `grub-probe --target=device inaccessible-path` crashes

Colin Watson cjwatson at canonical.com
Thu Apr 5 10:45:06 UTC 2012


** Changed in: grub2 (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: grub2 (Ubuntu)
   Importance: Undecided => Medium

** Changed in: grub2 (Ubuntu)
     Assignee: (unassigned) => Colin Watson (cjwatson)

-- 
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:
  Triaged

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