Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2012 08:37:27 GMT
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171945: fusefs-smbnetfs crash since fusefs-libs update to 2.9.1
Message-ID:  <201209250837.q8P8bRGZ057331@red.freebsd.org>
Resent-Message-ID: <201209250840.q8P8e3W1094650@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171945
>Category:       ports
>Synopsis:       fusefs-smbnetfs crash since fusefs-libs update to 2.9.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 25 08:40:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Fandrey
>Release:        RELENG_9
>Organization:
private
>Environment:
FreeBSD mobileKamikaze.norad 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Thu Sep 20 02:16:43 CEST 2012     root@mobileKamikaze.norad:/usr/obj/HP6510b-9/amd64/usr/src/sys/HP6510b-9  amd64

>Description:
Since the fusefs-libs update , smbnetfs crashes for me. The
only thing that works is listing the members of a workgroup.

Accessing a shared folder or listing the shares of a server crash
smbnetfs.

A log of a debug session is attached. 
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

gdb -e /usr/local/bin/smbnetfs
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 "amd64-marcel-freebsd".
(gdb) run -o rw -o log_file=/var/log/smbnetfs.log -o uid=0 -o gid=5 -o umask=007  -o allow_other -o debug /mnt/smb
Starting program: /usr/local/bin/smbnetfs -o rw -o log_file=/var/log/smbnetfs.log -o uid=0 -o gid=5 -o umask=007 -o allow_other -o debug /mnt/smb
(no debugging symbols found)...[New LWP 100292]
gnome-keyring is not available.
FUSE library version: 2.9.1
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 0, opcode: INIT (26), nodeid: 0, insize: 56, pid: 37699
INIT: 7.19
flags=0x00000000
max_readahead=0x00000000
   INIT: 7.19
   flags=0x00000010
   max_readahead=0x00000000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
NOTIFY: code=0 length=40
unique: 0, opcode: GETATTR (3), nodeid: 1, insize: 40, pid: 2997
getattr /
NOTIFY: code=0 length=120
unique: 0, opcode: LOOKUP (1), nodeid: 1, insize: 55, pid: 2997
LOOKUP /MOBILEKAMIKAZE
getattr /MOBILEKAMIKAZE
   NODEID: 2
NOTIFY: code=0 length=144
unique: 0, opcode: ACCESS (34), nodeid: 2, insize: 48, pid: 2997
NOTIFY: code=-78 length=16
unique: 0, opcode: LOOKUP (1), nodeid: 1, insize: 55, pid: 2997
LOOKUP /MOBILEKAMIKAZE
getattr /MOBILEKAMIKAZE
   NODEID: 2
NOTIFY: code=0 length=144
unique: 0, opcode: GETATTR (3), nodeid: 2, insize: 40, pid: 37706
fgetattr[76253944826189] /MOBILEKAMIKAZE
[New Thread 805007400 (LWP 100292/smbnetfs)]
[New Thread 805008800 (LWP 100392/smbnetfs)]
[New Thread 8050e5c00 (LWP 100393/smbnetfs)]
[New Thread 8050e6000 (LWP 100394/smbnetfs)]
[New Thread 8050e6400 (LWP 100395/smbnetfs)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8050e5c00 (LWP 100393/smbnetfs)]
0x0000000000413b9b in ?? ()
(gdb) bt
#0  0x0000000000413b9b in ?? ()
#1  0x0000000000000000 in ?? ()
#2  0x000000000000037f in ?? ()
#3  0x00007fffff9fcc20 in ?? ()
#4  0x0000455a414b494d in ?? ()
#5  0x00007fffff9fcb90 in ?? ()
#6  0x00000000004160b5 in ?? ()
#7  0x000000000000934a in ?? ()
#8  0x00007fffff9fcce0 in ?? ()
#9  0x00007fffff9fcc20 in ?? ()
#10 0x0000000805c65100 in ?? ()
#11 0x00007fffff9fcc20 in ?? ()
#12 0x0000000805c21040 in ?? ()
#13 0x00007fffff9fcb90 in ?? ()
#14 0x0000455a414b494d in ?? ()
#15 0x00007fffff9fcbd0 in ?? ()
#16 0x0000000800f03c5d in fuse_fs_fgetattr (fs=0x455a414b494d, 
    path=0x7fffff9fcc20 "", buf=0x37f, fi=0x0) at fuse.c:1555
Previous frame inner to this frame (corrupt stack?)
(gdb) continue
Continuing.
37696->sig_handler: signal 11 received
37696->common_print_backtrace: dumping ...
srv(37700)->smb_conn_srv_listen: errno=0, No error: 0

Program exited with code 013.
(gdb) quit


>Release-Note:
>Audit-Trail:
>Unformatted:



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