Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
4.7.4
-
None
-
windows
Description
I sometimes get a crash at startup. The problem is that I have concurrent threads creating QNAM. The way the singleton for the QNetworkConfigurationManagerPrivate is done allows it to have 2 instances alive for a short period of time, out of which 1 will be deleted.
The problem is when it is deleted, the member bearerThread is accessed. But this member was not initialized. To fix the problem, it needs to be initialized to 0 in the constructor (qnetworkconfigmanager_p.cpp:62).
Attachments
Issue Links
- relates to
-
QTBUG-20343 QNetworkAccessBackend pointer is NULL when request is done in thread
- Closed