[Bug 497740] Re: grub-mkconfig -o /boot/grub/grub.cfg crashes

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 12:38:05 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

** Changed in: grub2 (Ubuntu)
       Status: New => Incomplete

-- 
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/497740

Title:
  grub-mkconfig -o /boot/grub/grub.cfg crashes

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: grub2

  # strace -o file -ff grub-mkconfig -o /boot/grub/grub.cfg
  Generating grub.cfg ...
  Segmentation fault

  Looking at the trace files shows:

  # fgrep -i SEGV file.*
  file.5192:rt_sigaction(SIGSEGV, NULL, {SIG_DFL, [], 0}, 8) = 0
  file.5258:wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0, NULL) = 5290
  file.5290:--- SIGSEGV (Segmentation fault) @ 0 (0) ---

  # tail file.5290
  ...
  open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 3
  fstat64(3, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 0), ...}) = 0
  ioctl(3, BLKGETSIZE64, 0xbfd36258)      = 0
  close(3)                                = 0
  gettimeofday({1261052227, 143182}, NULL) = 0
  munmap(0xb75f9000, 389120)              = 0
  gettimeofday({1261052227, 143994}, NULL) = 0
  stat64("/dev/mapper/template--dmz-root", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  gettimeofday({1261052227, 144883}, NULL) = 0
  --- SIGSEGV (Segmentation fault) @ 0 (0) ---

  ProblemType: Bug
  Architecture: i386
  Date: Thu Dec 17 13:13:33 2009
  DistroRelease: Ubuntu 9.10
  Package: grub-pc 1.97~beta4-1ubuntu4.1
  ProcEnviron:
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-14.48-generic-pae
  SourcePackage: grub2
  Uname: Linux 2.6.31-14-generic-pae i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/497740/+subscriptions



More information about the foundations-bugs mailing list