Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.6.0
-
None
-
Kubuntu 15.10, Qt 5.6 branch debug build, KDE git master
Description
This is an application hang during exit, involving destruction of Q_GLOBAL_STATICs, one of them being the QDBusConnectionManager. It can be triggered by the included trivial example. I have tested it on Linux with Breeze style. Oxygen also "works". GTK+ style does not reproduce the bug. Also included: backtrace of the example where it hangs, a helgrind log of the same example, and a patch that I've tried to fix the problem. With the commented out lines in the patch not commented out, the test application won't hang, but blocking queued signals won't be delivered to a thread that is just starting, which breaks other things.
Attachments
Issue Links
- relates to
-
QTBUG-51648 Deadlock happens when a Q_GLOBAL_STATIC object connected to QtDBus signal
- Closed