grub-setup crashed with SIGSEGV

Bug #217287 reported by Chris Glass
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: grub2

Using a MacPro (NOT a MacBook Pro!) and hardy amd64.

ProblemType: Crash
Architecture: amd64
Date: Mon Apr 14 16:30:44 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/sbin/grub-setup
NonfreeKernelModules: nvidia
Package: grub-pc 1.96+20080203-1ubuntu2
PackageArchitecture: amd64
ProcCmdline: grub-setup /dev/sda
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: grub2
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()
Title: grub-setup crashed with SIGSEGV
Uname: Linux 2.6.24-16-generic x86_64
UserGroups:
SegvAnalysis:
 Segfault happened at: 0x401594 <sync@plt+260>: mov 0x8(%rax),%edx
 PC (0x00401594) ok
 source "0x8(%rax)" (0x00000008) not located in a known VMA region (needed readable region)!
 destination "%edx" ok
SegvReason: reading NULL VMA

Tags: apport-crash
Revision history for this message
Chris Glass (tribaal) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:find_first_partition_start (disk=0x62e490,
find_first_partition_start (disk=0x62e490,

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Apport retracing service (apport) wrote : Stack trace with source code
Changed in grub2:
importance: Undecided → Medium
Revision history for this message
Chris Glass (tribaal) wrote :

Somehow, I installed grub2 instead of grub - the machine now works properly once grub (not grub2) was installed.

I needed to run "update-grub" for my menu.lst to be created and everything to go back to normal.

Revision history for this message
Robert Millan (rmh-aybabtu) wrote :

Hi,

This stacktrace corresponds to a very old version of GRUB (February 2008). It's likely we already fixed it in upstream.

Please can you try with a recent version?

Revision history for this message
Àlex Magaz (rivaldi8) wrote :

I'm not really sure I'm having the same bug. I attach the apport-crash information if it helps. And this is the partition layout:

root@ubuntu:~# parted /dev/sda print
Model: ATA SAMSUNG HD103UJ (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 32,3kB 908GB 908GB primary ext3 boot
 2 908GB 917GB 8587MB primary linux-swap
 3 917GB 958GB 41,7GB extended
 5 917GB 917GB 115MB logical ext3
 6 917GB 938GB 21,5GB logical ext4
 7 938GB 958GB 20,1GB logical ext4

Kees Cook (kees)
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :

Given that this is a MacPro and therefore presumably GPT, I think this is probably the same as bug 207876, fixed upstream as follows:

2008-02-17 Robert Millan <email address hidden>

        * util/i386/pc/grub-setup.c (setup): In find_first_partition_start(),
        set `first_start' to 0 for non-PC/MSDOS partition maps.

Àlex Magaz, your problem can't possibly be the same as this one as the function in the original reporter's stacktrace had been entirely rewritten by well before Ubuntu 9.10. If you're still having this problem with a current version of Ubuntu, please file a fresh bug report.

Changed in grub2 (Ubuntu):
status: New → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

Oops, I quoted the wrong ChangeLog entry. I meant to say:

2008-02-16 Robert Millan <email address hidden>

        * util/i386/pc/grub-setup.c (setup): In find_first_partition_start(),
        do not assume partition map is PC/MSDOS before performing checks that
        are specific to that layout.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.