Thread-leak?

David nolden david.nolden.kdevelop at art-master.de
Sun Feb 15 22:09:33 UTC 2009


Am Sonntag 15 Februar 2009 22:59:05 schrieb Milian Wolff:
> Just curious: Could there be something like a thread-leak? I just closed
> kdevelop after like 2-3h of work and this was outputted:
>
> QThreadStorage: Thread 0x90bbd98 exited after QThreadStorage 2147483532
> destroyed
>
> But not once or like 4-8 times like the other times. No: 191 times!

I also have the suspicion.

I've done a little test. When I import a project, a new thread is created. 
When the importing finished, the thread seems to stay forever, with this 
backtrace:

Thread 12 (Thread 0x7fffd89e5950 (LWP 643)):
#0  0x00007ffff4c36fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
#1  0x00007ffff4ea7f07 in QWaitCondition::wait(QMutex*, unsigned long) () from 
/usr/lib64/libQtCore.so.4
#2  0x00007ffff4e9e129 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007ffff4ea6f72 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007ffff4c33070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007ffff34c510d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Greetings, David





More information about the KDevelop-devel mailing list