[Kde-hardware-devel] Fwd: plasma hang on unrechable devices

Aaron J. Seigo aseigo at kde.org
Tue Oct 20 21:36:02 CEST 2009


... forwarding to a potentially more appropriate list

(and thanks for looking into this, Thomas!)

----------  Forwarded Message  ----------

Subject: plasma hang on unrechable devices
Date: October 20, 2009
From: Thomas Kallenberg
To: kde-devel at kde.org

Hi all!

After several months I went crazy about this bug here...

https://bugs.kde.org/show_bug.cgi?id=194196
https://bugzilla.redhat.com/show_bug.cgi?id=491211
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530558

and i made some investigations why this happens. 
As you may all know if you want to access a directory which has been
mounted remotely and there is no connection to the server with the
attached volume, the request hangs.

As I discovered the bug is not in plasma. It's in Solid. And it's not
actually a bug. It rather seems that someone forgot about the fact with
the hanging request above while doing the solid design.

So the actual "bug" lies in the halfstabhandling. halfstabhandling
generates a cache with all the fstab entries in there and tries
periodically to renew this cache. while building this cache it tries to
resolve a possible symlink (if it really is one) on all the mountpoints
and the devices given in fstab. And there it goes. Since the mounted
volume is not reachable anymore, it will hang!

The fact that the whole plasma hangs, comes from kickoff. But I don't
see any reason why kickoff needs information about fstab since it
doesn't display anything about it. So removing kickoff or using lancelot
will help here.
But lunching kde or using dolphin (with unreachable device) is the other
thing. Both hangs long time.
In dolphin it's even worse. It hangs every time you hovering with the
mouse about an icon and every time you do this solid retrieves
information about fstab, which is in my opinion somehow stupid.

So I had this bug on a laptop with smbfs and nfs and I made a little
hack which "solves" the problem for me. 

It would be nice to hear some voices about this issue or even better get
some help so solve this.

cheers
	thomas

-------------------------------------------------------
-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: solidhack.patch
Type: text/x-patch
Size: 1460 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20091020/658590c5/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20091020/658590c5/attachment.sig 


More information about the Kde-hardware-devel mailing list