Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
1.1.3
-
Symbian^3 wk14 rnd platform.
-
a3707efb0efd0d8999154d28f677593ce303bbe7,f08c4b606aff41f48300748ecaf29c93b9ac25ca,5d765e2d5db139160b61aee02d580e41b922509a, 2bcfd0e15f92e426437f853cfd9d57ecabc94d1d
Description
If QSystemNetworkInfo class is instantiated in a worker thread context and gets destroyed in the same context, crash will occur.
As QSystemNetworkInfoPrivate is global static data, it will get deallocated only when process is shutting down. In otherwords lifetime of QSystemNetworkInfoPrivate object is longer than QSystemNetworkInfo object.
This causes a problem if QSystemNetworkInfoPrivate (or objects it is deallocating) closes / frees Symbian client-server handles in the destructor.
Steps for reproducing the bug:
1. Build and run the attached qsni_test application
2. Wait few seconds and exit the program
Expected behaviour:
Application crashes
Actual behaviour:
Application should not crash
Attached also a call stack of the crash (in the same zip).
Attachments
Issue Links
- relates to
-
QTMOBILITY-1058 QtMobility access from multiple threads
-
- Closed
-