Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Oct 2012 11:53:44 +0600
From:      Talovikov Boris Aleksandrovich <boris.t.ru@mail.ru>
To:        current@freebsd.org
Subject:   fusefs-sshfs crash
Message-ID:  <506D2468.90703@mail.ru>

next in thread | raw e-mail | index | archive | help
root@hummingbird:boris# uname -a
FreeBSD hummingbird.dev 10.0-CURRENT FreeBSD 10.0-CURRENT #41 r241078: 
Mon Oct  1 21:18:05 YEKT 2012 
root@hummingbird.dev:/usr/obj/usr/src/sys/HUMMINGBIRD  i386
root@hummingbird:boris# tail /var/log/messages
...
Oct  4 11:29:04 hummingbird su: boris to root on /dev/pts/1
root@hummingbird:boris# sshfs boris@elephant:/home/boris/ /mnt/
boris@elephant.localnetwork's password:
root@hummingbird:boris# ls /mnt
ls: /mnt: Bad file descriptor
root@hummingbird:boris# tail /var/log/messages
...
Oct  4 11:29:04 hummingbird su: boris to root on /dev/pts/1
Oct  4 11:29:46 hummingbird kernel: pid 593 (sshfs), uid 0: exited on 
signal 11 (core dumped)
root@hummingbird:boris# mount -lv
...
/dev/fuse0 on /mnt (fusefs.sshfs, local, synchronous, fsid 04ff00eded000000)
root@hummingbird:boris# umount -f /mnt
root@hummingbird:boris# gdb -e /usr/local/bin/sshfs  -c /sshfs.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".
Core was generated by `sshfs'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libfuse.so.2...done.
Loaded symbols for /usr/local/lib/libfuse.so.2
Reading symbols from /usr/local/lib/libgthread-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.0
Reading symbols from /usr/local/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/local/lib/libintl.so.9...done.
Loaded symbols for /usr/local/lib/libintl.so.9
Reading symbols from /usr/local/lib/libpcre.so.1...done.
Loaded symbols for /usr/local/lib/libpcre.so.1
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0804ecd5 in ?? ()
[New Thread 2902a300 (LWP 100808/sshfs)]
[New Thread 2902a080 (LWP 100807/sshfs)]
[New Thread 28c03580 (LWP 100806/sshfs)]
[New Thread 28c03080 (LWP 100344/sshfs)]
(gdb) bt
#0  0x0804ecd5 in ?? ()
#1  0x08056b78 in ?? ()
#2  0x00000000 in ?? ()
#3  0x28c31a30 in ?? ()
#4  0x281a5dde in __pthread_mutex_lock (mutex=0xa5a5a5a5)
     at /usr/src/lib/libthr/thread/thr_mutex.c:436
#5  0x0805001f in ?? ()
#6  0xa5a5a5a5 in ?? ()
#7  0x000189c7 in ?? ()
#8  0x00000000 in ?? ()
#9  0x2809aa40 in .got () from /usr/local/lib/libfuse.so.2
#10 0x29008000 in ?? ()
#11 0xbf8fce90 in ?? ()
#12 0xbf8fcc98 in ?? ()
#13 0x0805267f in ?? ()
#14 0x08056cf8 in ?? ()
#15 0xbf8fce90 in ?? ()
#16 0xbf8fccb8 in ?? ()
#17 0x00000000 in ?? ()
#18 0x00000000 in ?? ()
#19 0xa5a5a5a5 in ?? ()
#20 0xbf8fccc8 in ?? ()
#21 0x08052ecd in ?? ()
#22 0x2982a100 in ?? ()
#23 0xbf8fcd28 in ?? ()
#24 0xbf8fcdbc in ?? ()
#25 0x2807127f in ?? ()
#26 0x29808020 in ?? ()
#27 0x2809aa40 in .got () from /usr/local/lib/libfuse.so.2
#28 0xbf8fccc8 in ?? ()
#29 0xffffffdd in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0xbf8fccf8 in ?? ()
#33 0x2807f451 in fuse_fs_fgetattr (fs=0x2982a100, path=0xbf8fcd28 "", 
buf=0xbf8fcdbc,
     fi=0x2807127f) at fuse.c:1555

Sorry bad speak English.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?506D2468.90703>