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

Crash in QMutexPrivate::allocate on exit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 5.5.1
    • 5.3.0
    • Core: Threads
    • None
    • Mac OS X 10.5.5
      32-bit build
    • 314c83c0c2f91532654f869b7dc6af1b7e8538da

    Description

      We are experiencing the occasional crash on our application shutting down. A typical trace looks like so:

      Thread 0 (crashed)
       0  QtCore + 0x2be74             : QMutexPrivate::allocate() (in QtCore) + 132
       1  QtCore + 0x2b610             : QBasicMutex::lockInternal(int) (in QtCore) + 96
       2  QtCore + 0x2b537             : QMutex::lock() (in QtCore) + 55
       3  QtCore + 0x34763             : QWaitCondition::wait(QMutex*, unsigned long) (in QtCore) + 179
       4  QtCore + 0x33f13             : QThread::wait(unsigned long) (in QtCore) + 99
       5  QtCore + 0x30462             : QThreadPoolPrivate::reset() (in QtCore) + 338
       6  QtCore + 0x30bbb             : QThreadPool::waitForDone(int) (in QtCore) + 43
       7  QtNetwork + 0x836b2          : QHostInfoLookupManager::clear() (in QtNetwork) + 386
       8  QtNetwork + 0x833e6          : QHostInfoLookupManager::~QHostInfoLookupManager() (in QtNetwork) + 38
       9  QtNetwork + 0x833a1          : QHostInfoLookupManager::~QHostInfoLookupManager() (in QtNetwork) + 17
      10  QtNetwork + 0x83d6d          : (anonymous namespace)::Q_QGS_theHostInfoLookupManager::innerFunction()::Cleanup::~Cleanup() (in QtNetwork) + 29
      11  libsystem_c.dylib + 0x5fb51  : __cxa_finalize_ranges (in libsystem_c.dylib) + 315
      12  libsystem_c.dylib + 0x5fbd7  : __cxa_finalize (in libsystem_c.dylib) + 59
      13  libsystem_c.dylib + 0x5fed4  : exit (in libsystem_c.dylib) + 62
      14  [REDACTED APPLICATION NAME]!start + 0x3d
      15  0x1
      

      This is a potential duplicate of QTBUG-46768

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ogoffart Olivier Goffart (Woboq GmbH)
              dan.erik.petersen Dan Erik Petersen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes