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

Crash on loading a qmake based project

    XMLWordPrintable

Details

    Description

      The crashing thread:

      Thread 1 (Thread 0x7fc555b55640 (LWP 351061)):
      #0 0x00007fc5a9c25474 in pthread_mutex_lock () from /usr/lib64/libpthread.so.0
      #1 0x00007fc5aa3b3f7f in QWaitCondition::wait (this=0x7fc5240c57c0, mutex=0x7b06668, deadline=...) at /home/jarek/dev/qt-62/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:216
      #2 0x00007fc58c12f9e2 in QMakeParser::parsedProFile (this=0x8127e00, fileName=..., flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeparser.cpp:199
      #3 0x00007fc58c11ca32 in QMakeEvaluator::evaluateFile (this=0x8127eb0, fileName=..., type=QMakeHandler::EvalFeatureFile, flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1934
      #4 0x00007fc58c11d5e2 in QMakeEvaluator::evaluateFeatureFile (this=0x8127eb0, fileName=..., silent=true) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:2049
      #5 0x00007fc58c118288 in QMakeEvaluator::evaluateConfigFeatures (this=0x8127eb0) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1342
      #6 0x00007fc58c118e68 in QMakeEvaluator::visitProFile (this=0x8127eb0, pro=0x7fc53c0c3710, type=QMakeHandler::EvalProjectFile, flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1475
      #7 0x00007fc58c0c7c6c in ProFileEvaluator::accept (this=0x8127e70, pro=0x7fc53c0c3710, flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/profileevaluator.cpp:244
      #8 0x00007fc580e77a83 in evaluateOne (input=..., pro=0x7fc53c0c3710, reader=0x8127dc0, cumulative=false, buildPassReader=0x7fc555b532a0) at /home/jarek/dev/creator-6/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp:1342
      #9 0x00007fc580e7825c in QmakeProjectManager::QmakeProFile::evaluate (input=...) at /home/jarek/dev/creator-6/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp:1385
      #10 0x00007fc580e7c4d2 in QmakeProjectManager::QmakeProFile::asyncEvaluate (this=0x7fc53812c610, fi=..., input=...) at /home/jarek/dev/creator-6/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp:1640
      #11 0x00007fc580eb1acd in Utils::Internal::MemberCallable<void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>::operator() (this=0x7fc555b54a10, args#0=..., args#1=...) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:227
      #12 0x00007fc580eb19f7 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
      #13 0x00007fc580eb19ba 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
      #14 0x00007fc580eb1936 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
      #15 0x00007fc580eb184d 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=@0x8128cd8: (void (QmakeProjectManager::QmakeProFile::*)(QmakeProjectManager::QmakeProFile * const, QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*> &, QmakeProjectManager::Internal::QmakeEvalInput)) 0x7fc580e7c4b2 <QmakeProjectManager::QmakeProFile::asyncEvaluate(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>, obj=@0x8128cd0: 0x7fc53812c610) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:285
      #16 0x00007fc580eb1784 in Utils::Internal::runAsyncImpl<QmakeProjectManager::Internal::QmakeEvalResult*, void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput), QmakeProjectManager::QmakeProFile*, QmakeProjectManager::Internal::QmakeEvalInput> (futureInterface=..., function=@0x8128cd8: (void (QmakeProjectManager::QmakeProFile::*)(QmakeProjectManager::QmakeProFile * const, QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*> &, QmakeProjectManager::Internal::QmakeEvalInput)) 0x7fc580e7c4b2 <QmakeProjectManager::QmakeProFile::asyncEvaluate(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:303
      #17 0x00007fc580eb167c 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=0x8128ba0) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:372
      #18 0x00007fc580eb152b in Utils::Internal::AsyncJob<QmakeProjectManager::Internal::QmakeEvalResult*, void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput), QmakeProjectManager::QmakeProFile*, QmakeProjectManager::Internal::QmakeEvalInput&>::run (this=0x8128ba0) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:352
      #19 0x00007fc5aa3a7f04 in QThreadPoolThread::run (this=0x7d1e540) at /home/jarek/dev/qt-62/qtbase/src/corelib/thread/qthreadpool.cpp:99
      #20 0x00007fc5aa3a1017 in QThreadPrivate::start (arg=0x7d1e540) at /home/jarek/dev/qt-62/qtbase/src/corelib/thread/qthread_unix.cpp:336
      #21 0x00007fc5a9c23299 in start_thread () from /usr/lib64/libpthread.so.0
      #22 0x00007fc5a9b4b353 in clone () from /usr/lib64/libc.so.6
      

      A similar crash with the following prinout prior to crash:

      qtcreator: ../nptl/pthread_mutex_lock.c:424: __pthread_mutex_lock_full: Assertion `e != ESRCH || !robust' failed.
      

      Call stack of crashing thread:

      Thread 1 (Thread 0x7f11567fc640 (LWP 355880)):
      #0 0x00007f1196ff52a2 in raise () from /usr/lib64/libc.so.6
      #1 0x00007f1196fde8a4 in abort () from /usr/lib64/libc.so.6
      #2 0x00007f1196fde789 in __assert_fail_base.cold () from /usr/lib64/libc.so.6
      #3 0x00007f1196feda16 in __assert_fail () from /usr/lib64/libc.so.6
      #4 0x00007f1197192443 in __pthread_mutex_lock_full () from /usr/lib64/libpthread.so.0
      #5 0x00007f1197920f7f in QWaitCondition::wait (this=0x7f113413de30, mutex=0x819a388, deadline=...) at /home/jarek/dev/qt-62/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:216
      #6 0x00007f116fd50bca in QMakeParser::parsedProFile (this=0x44aeeb0, fileName=..., flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeparser.cpp:199
      #7 0x00007f116fd3db6c in QMakeEvaluator::evaluateFile (this=0x44aef60, fileName=..., type=QMakeHandler::EvalFeatureFile, flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1934
      #8 0x00007f116fd3e71c in QMakeEvaluator::evaluateFeatureFile (this=0x44aef60, fileName=..., silent=false) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:2049
      #9 0x00007f116fd19f88 in QMakeEvaluator::evaluateBuiltinConditional (this=0x44aef60, func_t=22, function=..., args=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakebuiltins.cpp:1760
      #10 0x00007f116fd3cd70 in QMakeEvaluator::evaluateConditionalFunction (this=0x44aef60, func=..., tokPtr=@0x7f11567f6960: 0x7f11243024b0) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1770
      #11 0x00007f116fd343ae in QMakeEvaluator::visitProBlock (this=0x44aef60, tokPtr=0x7f11243024b0) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:671
      #12 0x00007f116fd33775 in QMakeEvaluator::visitProBlock (this=0x44aef60, pro=0x7f112423d260, tokPtr=0x7f11242fe8a0) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:515
      #13 0x00007f116fd39db5 in QMakeEvaluator::visitProFile (this=0x44aef60, pro=0x7f112423d260, type=QMakeHandler::EvalFeatureFile, flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1457
      #14 0x00007f116fd3dbbb in QMakeEvaluator::evaluateFile (this=0x44aef60, fileName=..., type=QMakeHandler::EvalFeatureFile, flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1936
      #15 0x00007f116fd3e71c in QMakeEvaluator::evaluateFeatureFile (this=0x44aef60, fileName=..., silent=false) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:2049
      #16 0x00007f116fd19f88 in QMakeEvaluator::evaluateBuiltinConditional (this=0x44aef60, func_t=22, function=..., args=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakebuiltins.cpp:1760
      #17 0x00007f116fd3cd70 in QMakeEvaluator::evaluateConditionalFunction (this=0x44aef60, func=..., tokPtr=@0x7f11567f9390: 0x7f112429a41c) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1770
      #18 0x00007f116fd343ae in QMakeEvaluator::visitProBlock (this=0x44aef60, tokPtr=0x7f112429a41c) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:671
      #19 0x00007f116fd33775 in QMakeEvaluator::visitProBlock (this=0x44aef60, pro=0x7f112423c0b0, tokPtr=0x7f1124299d00) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:515
      #20 0x00007f116fd39db5 in QMakeEvaluator::visitProFile (this=0x44aef60, pro=0x7f112423c0b0, type=QMakeHandler::EvalProjectFile, flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/qmakeevaluator.cpp:1457
      #21 0x00007f116fce8c8c in ProFileEvaluator::accept (this=0x44aef20, pro=0x7f112423c0b0, flags=...) at /home/jarek/dev/creator-6/src/shared/proparser/profileevaluator.cpp:244
      #22 0x00007f116ec21a83 in evaluateOne (input=..., pro=0x7f112423c0b0, reader=0x44aee70, cumulative=false, buildPassReader=0x7f11567fa2a0) at /home/jarek/dev/creator-6/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp:1342
      #23 0x00007f116ec2225c in QmakeProjectManager::QmakeProFile::evaluate (input=...) at /home/jarek/dev/creator-6/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp:1385
      #24 0x00007f116ec264d2 in QmakeProjectManager::QmakeProFile::asyncEvaluate (this=0x7f11241302d0, fi=..., input=...) at /home/jarek/dev/creator-6/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp:1640
      #25 0x00007f116ec5bacd in Utils::Internal::MemberCallable<void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>::operator() (this=0x7f11567fba10, args#0=..., args#1=...) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:227
      #26 0x00007f116ec5b9f7 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
      #27 0x00007f116ec5b9ba 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
      #28 0x00007f116ec5b936 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
      #29 0x00007f116ec5b84d 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=@0x44afde8: (void (QmakeProjectManager::QmakeProFile::*)(QmakeProjectManager::QmakeProFile * const, QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*> &, QmakeProjectManager::Internal::QmakeEvalInput)) 0x7f116ec264b2 <QmakeProjectManager::QmakeProFile::asyncEvaluate(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>, obj=@0x44afde0: 0x7f11241302d0) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:285
      #30 0x00007f116ec5b784 in Utils::Internal::runAsyncImpl<QmakeProjectManager::Internal::QmakeEvalResult*, void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput), QmakeProjectManager::QmakeProFile*, QmakeProjectManager::Internal::QmakeEvalInput> (futureInterface=..., function=@0x44afde8: (void (QmakeProjectManager::QmakeProFile::*)(QmakeProjectManager::QmakeProFile * const, QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*> &, QmakeProjectManager::Internal::QmakeEvalInput)) 0x7f116ec264b2 <QmakeProjectManager::QmakeProFile::asyncEvaluate(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:303
      #31 0x00007f116ec5b67c 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=0x44afcb0) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:372
      #32 0x00007f116ec5b52b in Utils::Internal::AsyncJob<QmakeProjectManager::Internal::QmakeEvalResult*, void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput), QmakeProjectManager::QmakeProFile*, QmakeProjectManager::Internal::QmakeEvalInput&>::run (this=0x44afcb0) at /home/jarek/dev/creator-6/src/libs/utils/runextensions.h:352
      #33 0x00007f1197914f04 in QThreadPoolThread::run (this=0x83b61b0) at /home/jarek/dev/qt-62/qtbase/src/corelib/thread/qthreadpool.cpp:99
      #34 0x00007f119790e017 in QThreadPrivate::start (arg=0x83b61b0) at /home/jarek/dev/qt-62/qtbase/src/corelib/thread/qthread_unix.cpp:336
      #35 0x00007f1197190299 in start_thread () from /usr/lib64/libpthread.so.0
      #36 0x00007f11970b8353 in clone () from /usr/lib64/libc.so.6
      

      Attachments

        1. backtrace2.txt
          105 kB
        2. backtrace.txt
          104 kB

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-26351
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes