By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 488

Summary: kolourpaint, okular (maybe others) are frozen by defuncted SSHFS mount.
Product: TDE Reporter: Rémi Bouhl <remibouhl>
Component: tdebaseAssignee: Timothy Pearson <kb9vqf>
Status: NEW ---    
Severity: enhancement CC: bugwatch, darrella
Priority: P5    
Version: 3.5.13.x [Trinity]   
Hardware: amd64   
OS: Debian Squeeze   
Compiler Version: TDE Version String: 3.5.12
Application Version: 1.4.8_relight-post Application Name: kolourpaint, okular.

Description Rémi Bouhl 2011-07-25 18:29:26 CDT
How to reproduce:

- mount a sshfs file system with:

$ sshfs ssh_server: mount_point,

- access a file in the SSH mount using some graphic Trinity application:

$ okular ~/mount_point/my_pdfs/some.pdf, or
$ kolourpaint ~/mount_point/my_png/some.png

- close the graphic app.

- wreak the ssh mount, by changing IP of default network interface:

# ifconfig eth0 10.1.1.1
Then back to network, this won't fix the ssh mount:
# dhclient eth0 -v

- sshfs is now broken, this command will wait indefinitely:

$ ls -l ~/mount_point

- when trying to launch a graphic application that has known a file in the broken mount, the application won't launch, with no apparent cause:

$ okular <= frozen
$ kolourpaint <= frozen too.

- the reason is obvious while using strace:

$ strace kolourpaint
[...]
access("/home/remi/mount_point/my_png/some.png", F_OK <= stuck there.

Users that don't know strace may be puzzled by this.
Comment 1 Timothy Pearson 2011-08-15 15:20:50 CDT
Changing priority to enhancement as this behaviour is actually rooted in the design of Linux and how it handles file access on hard mounted remote filesystems.  I am not sure there is any way that Trinity can actually handle this due to the design of the kernel.
Comment 2 Darrell 2013-04-05 17:07:35 CDT
Note: there are similar reports in the KDE bug tracker. Perhaps research some of them before proceeding.