Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36000

Mac OS: Application crashes when it is closed during wifi set up

    XMLWordPrintable

    Details

    • Platform/s:
      macOS
    • Commits:
      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.

        Attachments

        1. Launching.txt
          54 kB
        2. MacCrashLogInWifiSetup.txt
          34 kB
        3. MavericksCrashLog.txt
          54 kB
        4. NetworkHandler.cpp
          1 kB
        5. NowPlayingArea.txt
          55 kB
        6. QScanThreadCrashLog.zip
          70 kB
        7. SoundTouch_2013-12-27-103954_tcss-MacBook-Pro (1).crash
          50 kB
        For Gerrit Dashboard: QTBUG-36000
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            dzedsystems Dyami Caliri
            Reporter:
            qtcomsupport Qt Support
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: