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

Jacopo De Simoi wilderkde at gmail.com
Wed Jan 25 16:35:41 UTC 2012


On Wednesday 11 January 2012 14:30:17 David Faure wrote:
> 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?

That is actually an issue in the solid runner; those warning have been there 
forever, but afair somebody (Thiago, iirc) told me that they were innocuous, 
so I always found something more interesting to do than trying to fix them.

Jacopo


More information about the Kde-hardware-devel mailing list