Bug 224438

Summary: Dolphin hangs when nfs server disconnected
Product: [Applications] dolphin Reporter: Mehul Rajput <mehulrajput>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED INTENTIONAL    
Severity: crash CC: azou8506, rtdvrs
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mehul Rajput 2010-01-27 09:16:15 UTC
Version:            (using KDE 4.3.4)
OS:                Linux
Installed from:    Ubuntu Packages

I am using a laptop which I use to in home and office. At home I am having network drive which mounted through nfs in home.

I normally put my laptop to suspend and then bring over the same to work. When I access dolphin in this case, it just simply hangs it does not open any folder neither from quickview or folder view. Even plasma-desktop hangs. the only option is to reboot even terminating the app does not work.

This is very annoying as I have to reboot the computer just for dolphin hanging.

This is similar to bug I created for nautilus too here in ubuntu bug tracker.

https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/164120
Comment 1 Peter Penz 2010-08-08 12:57:05 UTC
Thanks for the report. Does this issue still occur with a more recent KDE version in your environment? (e. g. 4.4 or 4.5)
Comment 2 rtdvrs 2012-09-01 09:51:59 UTC
Yes, this bug still occurs in KDE4.9. (Why wouldn't it? It's not like bugs magically disappear, except perhaps in fantasy land). 

The solution is really simple; run the lstat calls to nfs mounted locations in a separate lightweight thread/green thread. 

This has been a problem for 9(!) years now. 

Does Dolphin still have any maintainers/developers?
Comment 3 Alassane 2017-12-12 13:24:53 UTC
8 years later an this bug is still an issue. It also happen BTW with a cifs mounted drive. Just mount one and everything locks down when the connection drops: plasmashell, dolphin, KDE workspace (to a lesser extant though)
Comment 4 Christoph Feck 2018-01-02 00:23:28 UTC
Use KIO to access remote shares. Those will not block, because KIO slaves run out-of-process.
Comment 5 Alassane 2018-01-03 18:22:07 UTC
KIO is quite useless if you are, for example writing a latex thesis on a remote folder. Actually, most applications I tested don't work well when interacting with it.

For some reason though CIFS mounts don't seem to hang the entire system in the same way when mounted. It only happen when actually trying to click on a folder, and then it is only dolphin that hangs. So I guess it is better. Not using nfs anymore. KDE in it current states makes it useless on a laptop