ports/176874: sysutils/fusefs-sshfs crashes on amd64

Georg Graf georg at graf.priv.at
Mon Mar 18 14:20:02 UTC 2013


The following reply was made to PR ports/176874; it has been noted by GNATS.

From: Georg Graf <georg at graf.priv.at>
To: <bug-followup at FreeBSD.org>, <georg at graf.priv.at>
Cc:  
Subject: Re: ports/176874: sysutils/fusefs-sshfs crashes on amd64
Date: Mon, 18 Mar 2013 15:16:49 +0100

 Hi.
 
 I've compiled sshfs with the -g switch ... having a new core file here: 
 <URL:http://graf.priv.at/tmp/sshfs_debug.core.bz2>
 
 Only the first way mentioned in pkg-message works for me, see below. 
 For me it feels like its a timing problem or 64bit stuff, or threading.
 Unfortunately not so skilled in C debugging :-(
 
 pkg-message part 1:
 
 [root at murl /usr/ports/sysutils/fusefs-sshfs]# sshfs -o idmap=user 
 schurli at monty.wu-wien.ac.at:/crypt/mp3 /mnt/spare
 (works)
 [root at murl /usr/ports/sysutils/fusefs-sshfs]# ls /mnt/spare
 (works)
 [root at murl /usr/ports/sysutils/fusefs-sshfs]# find 
 /mnt/spare/>/dev/null
 (runs some time, then comes:)
    find: fts_read: Input/output error
 [root at murl /usr/ports/sysutils/fusefs-sshfs]# ls /mnt/spare
 ls: /mnt/spare: Socket is not connected
 
 <umount -f /mnt/spare>
 
 pkg-message part 2:
 
 [root at murl /usr/ports/sysutils/fusefs-sshfs]# mount_fusefs auto 
 /mnt/spare sshfs -o idmap=user schurli at monty.wu-wien.ac.at:/crypt/mp3
 [root at murl /usr/ports/sysutils/fusefs-sshfs]# Bad address  <-- also in 
 part 3!!
 [root at murl /usr/ports/sysutils/fusefs-sshfs]# mount
 /dev/ada0p2 on / (ufs, local, noatime, journaled soft-updates)
 devfs on /dev (devfs, local, multilabel)
 /dev/ada1 on /bs (ufs, local, soft-updates)
 fdescfs on /dev/fd (fdescfs)
 linprocfs on /compat/linux/proc (linprocfs, local)
 procfs on /proc (procfs, local)
 /dev/fuse0 on /mnt/spare (fusefs, local, synchronous)
 [root at murl /usr/ports/sysutils/fusefs-sshfs]# ls /mnt/spare
 ls: /mnt/spare: Bad file descriptor
 
 Umounting hangs after that:
 
 [root at murl /usr/ports/sysutils/fusefs-sshfs]# umount /mnt/spare
 ^C  <-- would hang forever ...
 [root at murl /usr/ports/sysutils/fusefs-sshfs]# mount
 /dev/ada0p2 on / (ufs, local, noatime, journaled soft-updates)
 devfs on /dev (devfs, local, multilabel)
 /dev/ada1 on /bs (ufs, local, soft-updates)
 fdescfs on /dev/fd (fdescfs)
 linprocfs on /compat/linux/proc (linprocfs, local)
 procfs on /proc (procfs, local)
 [root at murl /usr/ports/sysutils/fusefs-sshfs]# umount /mnt/spare
 umount: /mnt/spare: not a file system root directory
 
 
 pkg-message part 3:
 
 [root at murl /usr/ports/sysutils/fusefs-sshfs]# env 
 FUSE_DEV_NAME=/dev/fuse0 sshfs -o idmap=user 
 schurli at monty.wu-wien.ac.at:
 Bad address  <-- interesting, same as in part 2
 
 
 -- 
 Georg Graf
 +43 680 208 36 06
 PGP Key ID: 0xA5232AD5


More information about the freebsd-ports-bugs mailing list