Bug#478401: Segment fault on grub-probe

Isaac M. Marcos isaacmarcos100010 at gmail.com
Wed May 7 03:32:20 UTC 2008


El Tuesday 06 May 2008 06:57:27 Robert Millan escribió:
> On Sun, May 04, 2008 at 06:50:38PM -0430, Isaac M. Marcos wrote:
> > El Saturday 03 May 2008 09:28:55 Robert Millan escribió:
> > > On Fri, May 02, 2008 at 11:09:54PM -0430, Isaac M. Marcos wrote:
> > >
> > > Please provide a gdb backtrace.  See:
> > >   http://wiki.debian.org/HowToGetABacktrace
> >
> > # gdb grub-probe
> > (gdb) run -t device /
> > Starting program: /usr/sbin/grub-probe -t device /
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x0000000000421b7c in grub_lvm_scan_device (name=0x638210 "hd1,5") at
> > /home/immf/grub2-1.96+20080429/disk/lvm.c:305 305       while (*q != ' ')
>
> Please try:
>
> print q
> print metadatabuf
> print rlocn->offset

(gdb) run -t device /
Starting program: /usr/sbin/grub-probe -t device /

Program received signal SIGSEGV, Segmentation fault.
0x0000000000421b7c in grub_lvm_scan_device (name=0x638210 "hd1,5") 
at /home/immf/grub2-1.96+20080429/disk/lvm.c:305
305       while (*q != ' ')
(gdb) print q
$1 = 0x78b000 <Address 0x78b000 out of bounds>
(gdb) print metadatabuf
$2 = 0x73ba00 "�N\203\220 LVM2 x[5A%r0N*>\001"		# the ? symbol is a 0x00
(gdb) print rlocn->offset
$3 = 92672


-- 
Isaac M. Marcos





More information about the Pkg-grub-devel mailing list