Segmentation Fault with grub-bhyve

Peter Grehan grehan at freebsd.org
Thu Jul 30 20:00:47 UTC 2015


Hi Manas,

> Just a follow up, here is the backtrace from GDB

  Thanks for the core. Appended is a backtrace with symbols. The source 
may not be an exact match but it's close enough to show the issue is in zfs.

  Just to check: are you booting a Debian VM with a ZFS filesystem ?

  The version of ZFS in grub2-bhyve doesn't work with FreeBSD (the 
supported pool version is too old) so it's never had much of a workout. 
I'm looking at backporting some of the more recent grub ZFS code but 
it's going to take a while.

later,

Peter.

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000004798d3 in fill_vdev_info_real (data=0x5304f0 <options+80>,
     nvlist=0x0, fill=0x40b5bf <grub_print_error+39>, 
insert=0x7fffffffe0e0,
     inserted=0x0, ashift=8) at fs/zfs/zfs.c:639

warning: Source file is more recent than executable.
639	      fill->type = DEVICE_LEAF;
(gdb) where
#0  0x00000000004798d3 in fill_vdev_info_real (data=0x5304f0 <options+80>,
     nvlist=0x0, fill=0x40b5bf <grub_print_error+39>, 
insert=0x7fffffffe0e0,
     inserted=0x0, ashift=8) at fs/zfs/zfs.c:639
#1  0x0000000000481864 in grub_zfs_read (file=0x481864 <grub_zfs_read+602>,
     buf=0x7fffffffe190 "\340\341\377\377\377\177", len=33443870448)
     at fs/zfs/zfs.c:3627
#2  0x0000000000481977 in fill_fs_info (info=0x0, mdn=..., data=0x0)
     at fs/zfs/zfs.c:3675
#3  0x000000000047ae4e in recovery (bufs=0x7fffffffe238, s=1536, nbufs=0,
     powers=0x7fffffffe1e0, idx=0x80221900c) at fs/zfs/zfs.c:1130
#4  0x000000000047b3e6 in recovery (bufs=0x8020e4000, s=34389098696, 
nbufs=8,
     powers=0x11f, idx=0x8000) at fs/zfs/zfs.c:1173
#5  0x0000000000482024 in grub_zfs_dir (device=0x802219018, 
path=0x7fffffffeb30 "\b")
     at fs/zfs/zfs.c:3748
#6  0x00000000004830d3 in grub_memcpy (dest=0x7fffffffe8e0, 
src=0x8020f4800,
     n=18446744065119617024) at ../include/grub/misc.h:74
#7  0x0000000000000000 in ?? ()




More information about the freebsd-virtualization mailing list