kdevelop crash in ThreadWeaver

René J.V. Bertin rjvbertin at gmail.com
Thu Jan 7 13:08:47 UTC 2016


Hi,

I'm seeing KDevelop crashes (on OS X) when exiting with the background parser running, somewhere deep in a ThreadWeaver dtor. Apparently the same kind of crash can occur on Linux:
https://bugs.kde.org/show_bug.cgi?id=357630

Looking at the code, one question comes to mind immediately: why is the auto delete state variable in ThreadWeaver::IdDecorator stored as a pointer to bogus class, instead of as just a boolean (which is what it appears to be  in practice)?

R.


More information about the Kde-frameworks-devel mailing list