Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.1
-
None
-
f9a3f15376d0c0cddc4ab023d2421859847df56b
Description
If you create QThread with Q_GLOBAL_STATIC that waits for the thread to finish in QThread destructor, the main thread ends up waiting forever as the kernel has already killed the Symbian thread by the time Q_GLOBAL_STATIC is being destructed. This seem to be related to how Symbian threads work or how Qt handles threading on Symbian, problem does not reproduce on Linux or Windows. See example project as an attachment with respective traces when running the example on Linux (works, process and all threads exit) and on Symbian (the main thread is left hanging in the OS, waiting for the already deleted thread to finish).