[Digikam-devel] [Bug 133026] crashes on systems using hyperthreading
Marcel Wiesweg
marcel.wiesweg at gmx.de
Mon Oct 30 22:22:47 GMT 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=133026
------- Additional Comments From marcel.wiesweg gmx de 2006-10-30 23:22 -------
Taking a closer look at kdebug.cpp, the function kDebugBackend(): it uses a global, static variable.
Yes, I think we should not use kdDebug anywhere outside the main thread from now.
I see four possibilities, for the 0.9.0 release:
- remove all kdDebug in multithreaded code
- use qDebug
- write a thin wrapper around kdDebug using a mutex
- write a replacement for kdDebug which is reentrant. Copy over all the nice operator<< implementations.
More information about the Digikam-devel
mailing list