Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
1.0.2
-
Symbian 3rd FP2 (E72 and E52)
-
a1be8f1d113e30c45452534a726a9ed1a4a8ea62 a469c779be9d1d1f58859904b52230f8217cf911
Description
Seems to be some problem when accessing System information from multiple threads. Can't find anywhere that this is not supported. Creating a QSystemDeviceInfo in main thread and then create another thread that creates a QSystemNetworkInfo it will crash. However if you create and delete QSystemNetworkInfo in main thread it will work to create it in the other thread but then some signals fail to be sent (maybe another issue).
Think this could be due to that some static members are created first time the QSystemDeviceInfo/QSystemNetworkInfo is created.
Posted a simple application that will crash. But will work if you uncomment one line in MainWindow.cpp. Note that it can't be signed with self-signed as it needs QSystemNetworkInfo.
Attachments
Issue Links
- relates to
-
QTMOBILITY-1345 QSystemDeviceInfo::imei() method is crashing with KERN-EXEC 0 panic when QSystemDeviceInfo object is instaniated and called on a secondary thread
- Closed
-
QTMOBILITY-1533 QSystemNetworkInfo class cannot be used from any other thread than the main thread - will crash otherwise
- Closed
- replaces
-
QTMOBILITY-1477 QSystemStorageInfo.availableDiskSpace() not working in Simulator & Windows, crashing on Symbian in thread
- Closed