Bug#478401: Segment fault on grub-probe

Isaac M. Marcos isaacmarcos100010 at gmail.com
Sun May 4 23:20:38 UTC 2008


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 != ' ')

(gdb) bt
#0  0x0000000000421b7c in grub_lvm_scan_device (name=0x638210 "hd1,5") at /home/im/grub2-1.96+20080429/disk/lvm.c:305
#1  0x0000000000404b11 in iterate_partition (disk=0x638030, partition=0x7fffabef7360) at /home/im/grub2-1.96+20080429/kern/device.c:132
#2  0x000000000041ed11 in pc_partition_map_iterate (disk=0x638030, hook=0x7fffabef752f) at /home/im/grub2-1.96+20080429/partmap/pc.c:153
#3  0x0000000000408707 in grub_partition_iterate (disk=0x638030, hook=0x7fffabef752f) at /home/im/grub2-1.96+20080429/kern/partition.c:126
#4  0x0000000000404ba5 in iterate_disk (disk_name=0x7fffabef7480 "hd1") at /home/im/grub2-1.96+20080429/kern/device.c:101
#5  0x0000000000401f0f in call_hook (hook=0x7fffabef7518, drive=129) at /home/im/grub2-1.96+20080429/util/biosdisk.c:132
#6  0x0000000000401f44 in grub_util_biosdisk_iterate (hook=0x7fffabef7518) at /home/im/grub2-1.96+20080429/util/biosdisk.c:141
#7  0x0000000000404ff5 in grub_disk_dev_iterate (hook=0x7fffabef7518) at /home/im/grub2-1.96+20080429/kern/disk.c:205
#8  0x0000000000404a64 in grub_device_iterate (hook=0x4218a4 <grub_lvm_scan_device>) at /home/im/grub2-1.96+20080429/kern/device.c:138
#9  0x000000000042248b in grub_mod_init (mod=0x0) at /home/im/grub2-1.96+20080429/disk/lvm.c:576
#10 0x0000000000422473 in grub_lvm_init () at /home/im/grub2-1.96+20080429/disk/lvm.c:574
#11 0x0000000000423649 in grub_init_all () at grub_probe_init.c:45
#12 0x0000000000401d97 in main (argc=4, argv=0x7fffabef7748) at /home/im/grub2-1.96+20080429/util/grub-probe.c:356
(gdb)                      


-- 
Isaac M. Marcos





More information about the Pkg-grub-devel mailing list