Bug 355292 - Dolphin hangs on NFS server disconnect
Summary: Dolphin hangs on NFS server disconnect
Status: RESOLVED DUPLICATE of bug 316655
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 4.14.2
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 14:32 UTC by adri58
Modified: 2015-11-16 21:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***