Bug#605357: grub-common: grub-probe segfault in grub_disk_adjust_range
Julien Danjou
acid at debian.org
Sun Nov 28 19:17:14 UTC 2010
Package: grub-common
Version: 1.98+20100804-8
Severity: serious
/ is /dev/sde2, nothing weird here.
Here's a full backtrace:
#0 0x0000000000435085 in grub_disk_adjust_range (disk=0x0, sector=0x7fffffffe010,
offset=0x7fffffffe008, size=4096) at ../../grub-core/kern/disk.c:360
part = 0x1010
#1 0x00000000004351d9 in grub_disk_read (disk=0x0, sector=0, offset=0, size=4096,
buf=0x6bd6d0) at ../../grub-core/kern/disk.c:393
tmp_buf = 0x0
real_offset = 0
#2 0x00000000004078f3 in grub_raid5_recover (array=0x6868e0, disknr=0, buf=0x69b4b0 "",
sector=0, size=4096) at ../../grub-core/disk/raid5_recover.c:48
err = 64
buf2 = 0x6bd6d0 ""
i = 1
#3 0x00000000004057a4 in grub_raid_read (disk=0x686cc0, sector=0, size=8,
buf=0x69b4b0 "") at ../../grub-core/disk/raid.c:407
read_size = 8
next_level = 0
read_sector = 0
e = 0
b = 0
p = 7
n = 1
disknr = 0
array = 0x6868e0
err = GRUB_ERR_READ_ERROR
#4 0x0000000000435359 in grub_disk_read (disk=0x686cc0, sector=0, offset=0, size=256,
buf=0x7fffffffe2a0) at ../../grub-core/kern/disk.c:439
data = 0x0
start_sector = 0
len = 256
pos = 0
tmp_buf = 0x69b4b0 ""
real_offset = 0
#5 0x00000000004048be in grub_mdraid_detect (disk=0x686cc0, array=0x7fffffffe410,
start_sector=0x7fffffffe408) at ../../grub-core/disk/mdraid1x_linux.c:142
sector = 0
size = 13674674944
sb = {magic = 456598646, major_version = 3924610504, feature_map = 2013230210,
pad0 = 4160396796, set_uuid = "\212\247\245o\360\252ۉ\214@<\252.%\253O",
set_name = "\252\207Ռ\236T;\372\322\376\313{ǵ9\"\327\377c\377_\245\222A\322]|o\221d\222\240", ctime = 2494676255545041851, level = 1735120094, layout = 3950006114,
size = 13297700641086735132, chunksize = 2682578142, raid_disks = 3295306323,
bitmap_offset = 1048214877, new_level = 3347934811,
reshape_position = 7774889662045309302, delta_disks = 3832601734,
new_layout = 1770921548, new_chunk = 2816950484, pad1 = "ę+\032",
data_offset = 11583333703300887920, data_size = 10275221751711273489,
super_offset = 984244538649780840, recovery_offset = 3151007113834776622,
dev_number = 3584485342, cnt_corrected_read = 170500724,
device_uuid = "\310\355\335U\334\362\253\267\336\366\001\273G\201$_",
devflags = 87 'W', pad2 = "\035\244\251\315*Qw", utime = 11630869007482402686,
events = 13077670425335307153, resync_offset = 7794127030959215663,
sb_csum = 3801921126, max_dev = 3762957838,
pad3 = "C_\352(*\370\034\336\352\347\"m m\222!\231\033\352\277\003\231\271\364\272*\337\372g1{m", dev_roles = 0x7fffffffe3a0}
minor_version = 1 '\001'
#6 0x00000000004060f1 in hook (name=0x686570 "md0") at ../../grub-core/disk/raid.c:704
disk = 0x686cc0
array = {number = -7072, level = 32767, layout = 4203088, total_devs = 0,
chunk_size = 140737488348960, disk_size = 0, index = 0, uuid_len = 0,
uuid = 0x7ffff78d284c "\203=\225\235.", name = 0x7fffffffe550 "",
nr_devs = 4430390, allocated_devs = 0, members = 0xffffe440ba490043,
next = 0x686ca0, driver = 0x7fffffffe480}
start_sector = 140737349652032
#7 0x00000000004345c5 in iterate_disk (disk_name=0x686570 "md0")
at ../../grub-core/kern/device.c:96
dev = 0x686ca0
hook = 0x406065 <hook>
ents = 0x0
#8 0x0000000000404d12 in grub_raid_iterate (hook=0x7fffffffe560)
at ../../grub-core/disk/raid.c:84
array = 0x6868e0
#9 0x0000000000434c78 in grub_disk_dev_iterate (hook=0x7fffffffe560)
at ../../grub-core/kern/disk.c:212
p = 0x64e2c0
#10 0x000000000043473c in grub_device_iterate (hook=0x406065 <hook>)
at ../../grub-core/kern/device.c:168
ents = 0x686360
#11 0x0000000000406190 in grub_raid_register (raid=0x64e290)
at ../../grub-core/disk/raid.c:723
No locals.
#12 0x0000000000404be6 in grub_mod_init (mod=0x0)
at ../../grub-core/disk/mdraid1x_linux.c:230
No locals.
#13 0x0000000000404bce in grub_mdraid1x_init ()
at ../../grub-core/disk/mdraid1x_linux.c:228
No locals.
#14 0x0000000000402d30 in main (argc=3, argv=0x7fffffffe728)
at ../../util/grub-probe.c:403
dev_map = 0x0
argument = 0x7fffffffe96b "/"
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-common depends on:
ii base-files 5.10 Debian base system miscellaneous f
ii dpkg 1.15.8.6 Debian package management system
ii gettext-base 0.18.1.1-3 GNU Internationalization utilities
ii install-info 4.13a.dfsg.1-6 Manage installed documentation in
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.48-4 The Linux Kernel Device Mapper use
ii libfreetype6 2.4.2-2.1 FreeType 2 font engine, shared lib
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages grub-common recommends:
pn os-prober <none> (no description available)
Versions of packages grub-common suggests:
pn grub-emu <none> (no description available)
pn multiboot-doc <none> (no description available)
ii xorriso 0.5.6.pl00-2 command line iso9660+RR manipulati
-- no debconf information
--
Julien Danjou
// ᐰ <julien at danjou.info> http://julien.danjou.info
More information about the Pkg-grub-devel
mailing list