Bug 355292

Summary: Dolphin hangs on NFS server disconnect
Product: [Applications] dolphin Reporter: adri58
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: frank78ac
Priority: NOR    
Version: 4.14.2   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:

Description adri58 2015-11-13 14:32:21 UTC
Hi everyone

I own a NAS server directly attached to my router. From my desktop PC (Linux Mint 17.2 KDE amd64 Kernel 3.16.0-38-generic), which is also connected via ethernet to the router I mount shared folders in the NAS server. That's OK

The problem is that when the server loses connection, the file manager completely hangs.
The only way to use Dolphin again is rebooting the machine.These are the mount parameters I have:

IP:/NAS/sharedFolder on /mnt type nfs (rw,vers=4,addr=IP,clientaddr=IP)

Is something such us timeout in order to automatically disconnect instead of hanging the machine?
Note that I have also tried deactivating NFSv4 but the same problem occurs.

Reproducible: Always

Steps to Reproduce:
1.Mount a NFS shared folder
2.Interrupt the connection with the server without unmounting the share previously.

Actual Results:  
Dolphin file manager completely hangs becaming unusable.

Expected Results:  
I cannot access the shared folder, but the rest works well
Comment 1 Frank Reininghaus 2015-11-16 21:47:03 UTC
Thanks for the bug report. Problems with lost connections to servers from which directories are mounted via NFS or CIFS have been known for quite some time. Unfortunately, there is nothing that can be done about this in Dolphin. The only solution would be to make all file system accesses asynchronous at a lower level. See bug 316655 for details.

*** This bug has been marked as a duplicate of bug 316655 ***