MW

Tag QMutex

Recent Posts

Dear Lazyweb: How can I fix this deadlock on shutdown (September 30, 2010)

Hello dear lazyweb,

I have a problem that I could not solve nor find help by my usual paths. I’m speaking about a deadlock on shutdown I get sometimes with what will become KDevelop 4.1. You can find a backtrace in this bug report:

https://bugs.kde.org/show_bug.cgi?id=239032

The thing is this: Apparently some global QMutex is getting destroyed by the exit handler but the call to __pthread_cond_destroy does not return.

I have no clue on how to fix this. Is there at least a way to find out which mutex this is? Someone told me to have a look in /proc/PID/maps but there I only found out that - what a suprise - ~QMutex is defined in libQtCore.so… Or should I have looked for the this=0xfffffe00 address? Speaking of which - isn’t that address messed up?

Does anyone have a better idea?

continue reading...