Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2013 14:20:01 GMT
From:      Georg Graf <georg@graf.priv.at>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/176874: sysutils/fusefs-sshfs crashes on amd64
Message-ID:  <201303181420.r2IEK1Ti041165@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/176874; it has been noted by GNATS.

From: Georg Graf <georg@graf.priv.at>
To: <bug-followup@FreeBSD.org>, <georg@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@murl /usr/ports/sysutils/fusefs-sshfs]# sshfs -o idmap=user 
 schurli@monty.wu-wien.ac.at:/crypt/mp3 /mnt/spare
 (works)
 [root@murl /usr/ports/sysutils/fusefs-sshfs]# ls /mnt/spare
 (works)
 [root@murl /usr/ports/sysutils/fusefs-sshfs]# find 
 /mnt/spare/>/dev/null
 (runs some time, then comes:)
    find: fts_read: Input/output error
 [root@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@murl /usr/ports/sysutils/fusefs-sshfs]# mount_fusefs auto 
 /mnt/spare sshfs -o idmap=user schurli@monty.wu-wien.ac.at:/crypt/mp3
 [root@murl /usr/ports/sysutils/fusefs-sshfs]# Bad address  <-- also in 
 part 3!!
 [root@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@murl /usr/ports/sysutils/fusefs-sshfs]# ls /mnt/spare
 ls: /mnt/spare: Bad file descriptor
 
 Umounting hangs after that:
 
 [root@murl /usr/ports/sysutils/fusefs-sshfs]# umount /mnt/spare
 ^C  <-- would hang forever ...
 [root@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@murl /usr/ports/sysutils/fusefs-sshfs]# umount /mnt/spare
 umount: /mnt/spare: not a file system root directory
 
 
 pkg-message part 3:
 
 [root@murl /usr/ports/sysutils/fusefs-sshfs]# env 
 FUSE_DEV_NAME=/dev/fuse0 sshfs -o idmap=user 
 schurli@monty.wu-wien.ac.at:
 Bad address  <-- interesting, same as in part 2
 
 
 -- 
 Georg Graf
 +43 680 208 36 06
 PGP Key ID: 0xA5232AD5



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