Hi,
I have received the following bug report in zfs-fuse.
When running this sequence of commands:
$ zpool create tank /tmp/file
$ zfs create tank/fs
$ zfs snapshot tank/fs at 1
$ zfs send tank/fs at 1 | zfs receive foo
zfs segfaults at this point with the following stack trace:
Core was generated by `zfs receive foo''.
Program terminated with signal 11, Segmentation fault.
#0 0x0807177b in zfs_receive_one (hdl=0x80926f8, infd=0,
tosnap=0xbfc8f7e3 "foo", flags {verbose = 0, isprefix = 0, dryrun
= 0, force = 0, canmountoff =
0, byteswap = 0}, drr=0xbfc8f02c, drr_noswap=0xbfc8eef4, stream_avl=0x0)
at lib/libzfs/libzfs_sendrecv.c:1703
1703 *strrchr(zc.zc_name, ''/'') =
''\0'';
(gdb) bt
#0 0x0807177b in zfs_receive_one (hdl=0x80926f8, infd=0,
tosnap=0xbfc8f7e3 "foo", flags {verbose = 0, isprefix = 0, dryrun
= 0, force = 0, canmountoff =
0, byteswap = 0}, drr=0xbfc8f02c, drr_noswap=0xbfc8eef4, stream_avl=0x0)
at lib/libzfs/libzfs_sendrecv.c:1703
#1 0x08072d0b in zfs_receive (hdl=0x80926f8, tosnap=0xbfc8f7e3 "foo",
flags={verbose = 0, isprefix = 0, dryrun = 0, force = 0, canmountoff =
0, byteswap = 0},
infd=0, stream_avl=0x0) at lib/libzfs/libzfs_sendrecv.c:1933
#2 0x0804ee21 in zfs_do_receive (argc=1, argv=0xbfc8f29c) at
cmd/zfs/zfs_main.c:2410
#3 0x08052fa4 in main (argc=3, argv=0xbfc8f294) at cmd/zfs/zfs_main.c:4053
This looks like a bug introduced in build 77, so you should be able to
reproduce this on newer OpenSolaris builds.
Regards,
Ricardo
--
<http://www.sun.com>
*Ricardo Manuel Correia*
Lustre Engineering
*Sun Microsystems, Inc.*
Portugal
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/zfs-code/attachments/20071229/2d58cccd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6g_top.gif
Type: image/gif
Size: 1257 bytes
Desc: not available
URL:
<http://mail.opensolaris.org/pipermail/zfs-code/attachments/20071229/2d58cccd/attachment.gif>