Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.0
-
OSX 10.9 Mavericks
-
-
71006cf04c6a3d1f44efb3d59eb136f4f589bccf
Description
Qt application sporadically crashes On Mavericks OS, when applications is closed in Wifi setup page.
From top level view it looks like file in the file: qtbase\src\plugins\bearer\corewlanqcorewlanengine.mm QScanThread:run() thread, function QScanThread::isKnownSsid() is trying to traverse through the HashMap elements. At this time if user closes the application, the objects contents(along with HashMap) of the class QScanThread will get released, so at this state QScanThread trying to traverse through this HashMap, is crashing.
May be below change is needed in this file -corewlanqcorewlanengine.mm
QScanThread::~QScanThread()
{
// When user closes application, in this distructor call quit function will suspend the thread immediately
quit();
}
Attached is the crash log.