[MacPorts] #31768: kernel panic when touch file in filesystem mounted with sshfs

MacPorts noreply at macports.org
Tue Oct 25 16:03:45 PDT 2011


#31768: kernel panic when touch file in filesystem mounted with sshfs
--------------------------------+-------------------------------------------
 Reporter:  william@…           |       Owner:  dports@…           
     Type:  defect              |      Status:  new                
 Priority:  Normal              |   Milestone:                     
Component:  ports               |     Version:  2.0.3              
 Keywords:  lion                |        Port:  sshfs              
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

 * cc: dports@…, openmaintainer@… (removed)
  * owner:  macports-tickets@… => dports@…


Old description:

> Hi All,
>
> When I try to touch a file in a filesystem mounted using sshfs, the
> machine crashes hard, requiring four-second-button-press.
>
> I cleaned and reinstalled sshfs and its dependencies. The install process
> went like this:
>
> MyMac:~ williamg $ sudo port install sshfs
> --->  Computing dependencies for sshfs
> --->  Dependencies to be installed: fuse4x fuse4x-kext
> --->  Fetching archive for fuse4x-kext
> --->  Attempting to fetch fuse4x-
> kext-0.8.12_0+universal.darwin_11.i386-x86_64.tbz2 from
> http://packages.macports.org/fuse4x-kext
> --->  Fetching fuse4x-kext
> --->  Attempting to fetch fuse4x-kext-0.8.12.tar.gz from
> http://lil.fr.distfiles.macports.org/fuse4x-kext
> --->  Verifying checksum(s) for fuse4x-kext
> --->  Extracting fuse4x-kext
> --->  Applying patches to fuse4x-kext
> --->  Configuring fuse4x-kext
> --->  Building fuse4x-kext
> --->  Staging fuse4x-kext into destroot
> --->  Installing fuse4x-kext @0.8.12_0+universal
> --->  Activating fuse4x-kext @0.8.12_0+universal
> --->  Cleaning fuse4x-kext
> --->  Fetching archive for fuse4x
> --->  Attempting to fetch fuse4x-0.8.12_0.darwin_11.x86_64.tbz2 from
> http://packages.macports.org/fuse4x
> --->  Fetching fuse4x
> --->  Attempting to fetch fuse4x-0.8.12.tar.gz from
> http://lil.fr.distfiles.macports.org/fuse4x
> --->  Verifying checksum(s) for fuse4x
> --->  Extracting fuse4x
> --->  Applying patches to fuse4x
> --->  Configuring fuse4x
> --->  Building fuse4x
> --->  Staging fuse4x into destroot
> --->  Installing fuse4x @0.8.12_0
> --->  Activating fuse4x @0.8.12_0
> --->  Cleaning fuse4x
> --->  Fetching archive for sshfs
> --->  Attempting to fetch sshfs-2.3_0.darwin_11.x86_64.tbz2 from
> http://packages.macports.org/sshfs
> --->  Fetching sshfs
> --->  Verifying checksum(s) for sshfs
> --->  Extracting sshfs
> --->  Applying patches to sshfs
> --->  Configuring sshfs
> --->  Building sshfs
> --->  Staging sshfs into destroot
> --->  Installing sshfs @2.3_0
> --->  Activating sshfs @2.3_0
> --->  Cleaning sshfs
>
> As you can see, all the dependencies were installed fresh.
>
> However, the hard crash results. I will attach a sample session (in which
> I simply mount the remote fs with -d in case that's of any use), and the
> kernel crash log which is presented to me after the reboot! If instead of
> attempting to use it, I unmount the filesystem using umount, the sshfs
> process terminates and all is well!

New description:

 Hi All,

 When I try to touch a file in a filesystem mounted using sshfs, the
 machine crashes hard, requiring four-second-button-press.

 I cleaned and reinstalled sshfs and its dependencies. The install process
 went like this:

 {{{
 MyMac:~ williamg $ sudo port install sshfs
 --->  Computing dependencies for sshfs
 --->  Dependencies to be installed: fuse4x fuse4x-kext
 --->  Fetching archive for fuse4x-kext
 --->  Attempting to fetch fuse4x-
 kext-0.8.12_0+universal.darwin_11.i386-x86_64.tbz2 from
 http://packages.macports.org/fuse4x-kext
 --->  Fetching fuse4x-kext
 --->  Attempting to fetch fuse4x-kext-0.8.12.tar.gz from
 http://lil.fr.distfiles.macports.org/fuse4x-kext
 --->  Verifying checksum(s) for fuse4x-kext
 --->  Extracting fuse4x-kext
 --->  Applying patches to fuse4x-kext
 --->  Configuring fuse4x-kext
 --->  Building fuse4x-kext
 --->  Staging fuse4x-kext into destroot
 --->  Installing fuse4x-kext @0.8.12_0+universal
 --->  Activating fuse4x-kext @0.8.12_0+universal
 --->  Cleaning fuse4x-kext
 --->  Fetching archive for fuse4x
 --->  Attempting to fetch fuse4x-0.8.12_0.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/fuse4x
 --->  Fetching fuse4x
 --->  Attempting to fetch fuse4x-0.8.12.tar.gz from
 http://lil.fr.distfiles.macports.org/fuse4x
 --->  Verifying checksum(s) for fuse4x
 --->  Extracting fuse4x
 --->  Applying patches to fuse4x
 --->  Configuring fuse4x
 --->  Building fuse4x
 --->  Staging fuse4x into destroot
 --->  Installing fuse4x @0.8.12_0
 --->  Activating fuse4x @0.8.12_0
 --->  Cleaning fuse4x
 --->  Fetching archive for sshfs
 --->  Attempting to fetch sshfs-2.3_0.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/sshfs
 --->  Fetching sshfs
 --->  Verifying checksum(s) for sshfs
 --->  Extracting sshfs
 --->  Applying patches to sshfs
 --->  Configuring sshfs
 --->  Building sshfs
 --->  Staging sshfs into destroot
 --->  Installing sshfs @2.3_0
 --->  Activating sshfs @2.3_0
 --->  Cleaning sshfs
 }}}

 As you can see, all the dependencies were installed fresh.

 However, the hard crash results. I will attach a sample session (in which
 I simply mount the remote fs with -d in case that's of any use), and the
 kernel crash log which is presented to me after the reboot! If instead of
 attempting to use it, I unmount the filesystem using umount, the sshfs
 process terminates and all is well!

--

Comment:

 Sounds like a bug that should be reported to the developers of sshfs.

-- 
Ticket URL: <https://trac.macports.org/ticket/31768#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list