[Kde-hardware-devel] QObject thread issue in UDisks

David Faure faure at kde.org
Wed Jan 11 13:30:17 UTC 2012


Typing letters in krunner shows lots of qobject-in-wrong-thread issues in UDisksDevice:

QObject: Cannot create children for a parent that is in a different thread.
(Parent is Solid::Backends::UDisks::UDisksDevice(0xab9e80), parent's thread is QThread(0x60d0b0), current thread is ThreadWeaver::Thread(0x6ca6f0)

[repeated multiple times]

To reproduce this, just kill krunner and run it in a terminal with "krunner --nofork".
I'm guessing the usage of threads comes from some krunner plugin, but since
UDisks stuff is created internally, the fix can only be done in solid's udisks backend?

PS: please CC me, I'm not subscribed.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. KDE Frameworks 5



More information about the Kde-hardware-devel mailing list