Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26352

Crash when using qmake based project (Qt 6.2)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 6.0.0-beta1
    • None

    Description

      It has crashed with the following message:

      QWaitCondition::wait(): mutex lock failure (Invalid argument)
      corrupted double-linked list
      

      Crashing thread:

      Thread 1 (Thread 0x7f7b10ff9640 (LWP 355147)):
      #0  0x00007f7b5beb72a2 in raise () from /usr/lib64/libc.so.6
      #1  0x00007f7b5bea08a4 in abort () from /usr/lib64/libc.so.6
      #2  0x00007f7b5bef9a97 in __libc_message () from /usr/lib64/libc.so.6
      #3  0x00007f7b5bf0170c in malloc_printerr () from /usr/lib64/libc.so.6
      #4  0x00007f7b5bf025ec in unlink_chunk.constprop () from /usr/lib64/libc.so.6
      #5  0x00007f7b5bf02790 in malloc_consolidate () from /usr/lib64/libc.so.6
      #6  0x00007f7b5bf0466b in _int_malloc () from /usr/lib64/libc.so.6
      #7  0x00007f7b5bf058ba in _int_realloc () from /usr/lib64/libc.so.6
      #8  0x00007f7b5bf06cd7 in realloc () from /usr/lib64/libc.so.6
      #9  0x00007f7b5c70f382 in QArrayData::reallocateUnaligned (data=0x7f7af4ac04f0, dataPointer=0x7f7af4ac0500, objectSize=40, capacity=102, option=QArrayData::Grow) at /home/jarek/dev/qt-62/qtbase/src/corelib/tools/qarraydata.cpp:260
      #10 0x00007f7b344f301d in QTypedArrayData<ProString>::reallocateUnaligned (data=0x7f7af4ac04f0, dataPointer=0x7f7af4ac0500, capacity=65, option=QArrayData::Grow) at /home/jarek/dev/qt-62/qtbase/src/corelib/tools/qarraydata.h:153
      #11 0x00007f7b344f07d7 in QtPrivate::QMovableArrayOps<ProString>::reallocate (this=0x7f7b10ff5940, alloc=65, option=QArrayData::Grow) at /home/jarek/dev/qt-62/qtbase/src/corelib/tools/qarraydataops.h:862
      #12 0x00007f7b344ee24a in QArrayDataPointer<ProString>::reallocateAndGrow (this=0x7f7b10ff5940, where=QArrayData::GrowsAtEnd, n=57, old=0x0) at /home/jarek/dev/qt-62/qtbase/src/corelib/tools/qarraydatapointer.h:222
      #13 0x00007f7b344ef7c3 in QArrayDataPointer<ProString>::detachAndGrow (this=0x7f7b10ff5940, where=QArrayData::GrowsAtEnd, n=57, data=0x0, old=0x0) at /home/jarek/dev/qt-62/qtbase/src/corelib/tools/qarraydatapointer.h:208
      #14 0x00007f7b344f0df5 in QtPrivate::QCommonArrayOps<ProString>::growAppend (this=0x7f7b10ff5940, b=0x7f7af8acb040, e=0x7f7af8acb928) at /home/jarek/dev/qt-62/qtbase/src/corelib/tools/qarraydataops.h:940
      #15 0x00007f7b344ee54f in QList<ProString>::append (this=0x7f7b10ff5940, i1=..., i2=...) at /home/jarek/dev/qt-62/qtbase/src/corelib/tools/qlist.h:765
      #16 0x00007f7b344eca5d in QList<ProString>::append (this=0x7f7b10ff5940, l=...) at /home/jarek/dev/qt-62/qtbase/src/corelib/tools/qlist.h:408
      #17 0x00007f7b34520353 in QList<ProString>::operator+= (this=0x7f7b10ff5940, l=...) at /home/jarek/dev/qt-62/qtbase/src/corelib/tools/qlist.h:633
      #18 0x00007f7b34533d8c in addStrList (joined=false, pending=<optimized out>, ret=0x7f7b10ff5940, tok=522, list=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:391
      #19 QMakeEvaluator::evaluateExpression (this=0x87b7810, tokPtr=@0x7f7b10ff5be0: 0x7f7af410cb06, ret=0x7f7b10ff5940, joined=false) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:440
      #20 0x00007f7b3453d280 in QMakeEvaluator::expandVariableReferences (this=0x87b7810, tokPtr=@0x7f7b10ff5be0: 0x7f7af410cb06, sizeHint=9, ret=0x7f7b10ff5940, joined=false) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1664
      #21 0x00007f7b34536887 in QMakeEvaluator::visitProVariable (this=0x87b7810, tok=2, curr=..., tokPtr=@0x7f7b10ff5be0: 0x7f7af410cb06) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:907
      #22 0x00007f7b34534855 in QMakeEvaluator::visitProBlock (this=0x87b7810, tokPtr=0x7f7af410cb06) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:537
      #23 0x00007f7b34534775 in QMakeEvaluator::visitProBlock (this=0x87b7810, pro=0x7f7af40318f0, tokPtr=0x7f7af410c990) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:515
      #24 0x00007f7b3453adb5 in QMakeEvaluator::visitProFile (this=0x87b7810, pro=0x7f7af40318f0, type=QMakeHandler::EvalFeatureFile, flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1457
      #25 0x00007f7b3453ebbb in QMakeEvaluator::evaluateFile (this=0x87b7810, fileName=..., type=QMakeHandler::EvalFeatureFile, flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1936
      #26 0x00007f7b3453f71c in QMakeEvaluator::evaluateFeatureFile (this=0x87b7810, fileName=..., silent=false) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:2049
      #27 0x00007f7b3453acbd in QMakeEvaluator::visitProFile (this=0x87b7810, pro=0x7f7af4a66830, type=QMakeHandler::EvalProjectFile, flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1445
      #28 0x00007f7b344e9c8c in ProFileEvaluator::accept (this=0x87e6310, pro=0x7f7af4a66830, flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/profileevaluator.cpp:244
      #29 0x00007f7b3421aa83 in evaluateOne (input=..., pro=0x7f7af4a66830, reader=0x87e6260, cumulative=false, buildPassReader=0x7f7b10ff72a0) at /home/jarek/dev/creator-6/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp:1342
      #30 0x00007f7b3421b25c in QmakeProjectManager::QmakeProFile::evaluate (input=...) at /home/jarek/dev/creator-6/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp:1385
      #31 0x00007f7b3421f4d2 in QmakeProjectManager::QmakeProFile::asyncEvaluate (this=0x7f7ae0b02730, fi=..., input=...) at /home/jarek/dev/creator-6/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp:1640
      #32 0x00007f7b34254acd in Utils::Internal::MemberCallable<void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>::operator() (this=0x7f7b10ff8a10, args#0=..., args#1=...) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:227
      #33 0x00007f7b342549f7 in Utils::Internal::runAsyncQFutureInterfaceDispatch<QmakeProjectManager::Internal::QmakeEvalResult*, Utils::Internal::MemberCallable<void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>, QmakeProjectManager::Internal::QmakeEvalInput> (futureInterface=..., function=...) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:257
      #34 0x00007f7b342549ba in Utils::Internal::runAsyncMemberDispatch<QmakeProjectManager::Internal::QmakeEvalResult*, Utils::Internal::MemberCallable<void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>, QmakeProjectManager::Internal::QmakeEvalInput, void> (futureInterface=..., function=...) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:274
      #35 0x00007f7b34254936 in Utils::Internal::runAsyncImpl<QmakeProjectManager::Internal::QmakeEvalResult*, Utils::Internal::MemberCallable<void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>, QmakeProjectManager::Internal::QmakeEvalInput> (futureInterface=..., function=...) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:303
      #36 0x00007f7b3425484d in Utils::Internal::runAsyncMemberDispatch<QmakeProjectManager::Internal::QmakeEvalResult*, void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput), QmakeProjectManager::QmakeProFile*, QmakeProjectManager::Internal::QmakeEvalInput, void> (futureInterface=..., function=@0x41daa78: (void (QmakeProjectManager::QmakeProFile::*)(QmakeProjectManager::QmakeProFile * const, QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*> &, QmakeProjectManager::Internal::QmakeEvalInput)) 0x7f7b3421f4b2 <QmakeProjectManager::QmakeProFile::asyncEvaluate(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>, obj=@0x41daa70: 0x7f7ae0b02730) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:285
      #37 0x00007f7b34254784 in Utils::Internal::runAsyncImpl<QmakeProjectManager::Internal::QmakeEvalResult*, void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput), QmakeProjectManager::QmakeProFile*, QmakeProjectManager::Internal::QmakeEvalInput> (futureInterface=..., function=@0x41daa78: (void (QmakeProjectManager::QmakeProFile::*)(QmakeProjectManager::QmakeProFile * const, QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*> &, QmakeProjectManager::Internal::QmakeEvalInput)) 0x7f7b3421f4b2 <QmakeProjectManager::QmakeProFile::asyncEvaluate(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:303
      #38 0x00007f7b3425467c in Utils::Internal::AsyncJob<QmakeProjectManager::Internal::QmakeEvalResult*, void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput), QmakeProjectManager::QmakeProFile*, QmakeProjectManager::Internal::QmakeEvalInput&>::runHelper<0ul, 1ul, 2ul> (this=0x41da940) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:372
      #39 0x00007f7b3425452b in Utils::Internal::AsyncJob<QmakeProjectManager::Internal::QmakeEvalResult*, void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput), QmakeProjectManager::QmakeProFile*, QmakeProjectManager::Internal::QmakeEvalInput&>::run (this=0x41da940) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:352
      #40 0x00007f7b5c7d6f04 in QThreadPoolThread::run (this=0x814b990) at /home/jarek/dev/qt-62/qtbase/src/corelib/thread/qthreadpool.cpp:99
      #41 0x00007f7b5c7d0017 in QThreadPrivate::start (arg=0x814b990) at /home/jarek/dev/qt-62/qtbase/src/corelib/thread/qthread_unix.cpp:336
      #42 0x00007f7b5c052299 in start_thread () from /usr/lib64/libpthread.so.0
      #43 0x00007f7b5bf7a353 in clone () from /usr/lib64/libc.so.6
      

      Attachments

        Issue Links

          Activity

            People

              jkobus Jarek Kobus
              jkobus Jarek Kobus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: