Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
Qt Creator 4.8.0-rc1
-
None
Description
I randomly get a crash when launching qt-creator. I happens about 1 in 6 launches. I finally got a backtrace the last time:
#0 QHashNode<QString, int>::same_key (key0=..., h0=3953945171, this=0x0) at /opt/qt-5.12/include/QtCore/qhash.h:158 #1 QHash<QString, int>::findNode (this=this@entry=0x7f2f576435d0 <QMakeVfs::s_fileIdMap>, akey=..., h=3953945171) at /opt/qt-5.12/include/QtCore/qhash.h:919 #2 0x00007f2f575b2bb2 in QHash<QString, int>::findNode (ahp=0x0, akey=..., this=0x7f2f576435d0 <QMakeVfs::s_fileIdMap>) at /opt/qt-5.12/include/QtCore/qhash.h:928 #3 QHash<QString, int>::value (akey=..., this=0x7f2f576435d0 <QMakeVfs::s_fileIdMap>) at /opt/qt-5.12/include/QtCore/qhash.h:624 #4 QMakeVfs::idForFileName(QString const&, QFlags<QMakeVfs::VfsFlag>) () at ../../shared/proparser/qmakevfs.cpp:120 #5 0x00007f2f5759dedd in QMakeEvaluator::writeFile(QString const&, QString const&, QFlags<QIODevice::OpenModeFlag>, QFlags<QMakeVfs::VfsFlag>, QString const&) () at /opt/qt-5.12/include/QtCore/qflags.h:140 #6 0x00007f2f5759ffb9 in QMakeEvaluator::evaluateBuiltinConditional(int, ProKey const&, ProStringList const&) () at /opt/qt-5.12/include/QtCore/qarraydata.h:257 #7 0x00007f2f5759692f in QMakeEvaluator::evaluateConditionalFunction(ProKey const&, unsigned short const*&) () at ../../shared/proparser/qmakeevaluator.cpp:1766 #8 0x00007f2f57592830 in QMakeEvaluator::visitProBlock(unsigned short const*) [clone .localalias.177] () at ../../shared/proparser/proitems.h:142 #9 0x00007f2f575927af in QMakeEvaluator::visitProBlock(unsigned short const*) [clone .localalias.177] () at /opt/qt-5.12/include/QtCore/qrefcount.h:102 #10 0x00007f2f575928c2 in QMakeEvaluator::visitProBlock (this=this@entry=0x564655ae7d40, pro=<optimized out>, tokPtr=<optimized out>) at ../../shared/proparser/qmakeevaluator.cpp:515 #11 0x00007f2f575957cc in QMakeEvaluator::evaluateFunction(ProFunctionDef const&, QList<ProStringList> const&, ProStringList*) () at ../../shared/proparser/proitems.h:399 #12 0x00007f2f575959cd in QMakeEvaluator::evaluateBoolFunction(ProFunctionDef const&, QList<ProStringList> const&, ProString const&) () at ../../shared/proparser/qmakeevaluator.cpp:1735 #13 0x00007f2f5759689e in QMakeEvaluator::evaluateConditionalFunction(ProKey const&, unsigned short const*&) () at /opt/qt-5.12/include/QtCore/qhash.h:389 #14 0x00007f2f57592830 in QMakeEvaluator::visitProBlock(unsigned short const*) [clone .localalias.177] () at ../../shared/proparser/proitems.h:142 #15 0x00007f2f575928c2 in QMakeEvaluator::visitProBlock (this=this@entry=0x564655ae7d40, pro=<optimized out>, tokPtr=<optimized out>) at ../../shared/proparser/qmakeevaluator.cpp:515 #16 0x00007f2f575957cc in QMakeEvaluator::evaluateFunction(ProFunctionDef const&, QList<ProStringList> const&, ProStringList*) () at ../../shared/proparser/proitems.h:399 #17 0x00007f2f575959cd in QMakeEvaluator::evaluateBoolFunction(ProFunctionDef const&, QList<ProStringList> const&, ProString const&) () at ../../shared/proparser/qmakeevaluator.cpp:1735 #18 0x00007f2f5759689e in QMakeEvaluator::evaluateConditionalFunction(ProKey const&, unsigned short const*&) () at /opt/qt-5.12/include/QtCore/qhash.h:389 #19 0x00007f2f57592830 in QMakeEvaluator::visitProBlock(unsigned short const*) [clone .localalias.177] () at ../../shared/proparser/proitems.h:142 #20 0x00007f2f575927af in QMakeEvaluator::visitProBlock(unsigned short const*) [clone .localalias.177] () at /opt/qt-5.12/include/QtCore/qrefcount.h:102 #21 0x00007f2f575928c2 in QMakeEvaluator::visitProBlock (this=this@entry=0x564655ae7d40, pro=<optimized out>, tokPtr=<optimized out>) at ../../shared/proparser/qmakeevaluator.cpp:515 #22 0x00007f2f575957cc in QMakeEvaluator::evaluateFunction(ProFunctionDef const&, QList<ProStringList> const&, ProStringList*) () at ../../shared/proparser/proitems.h:399 #23 0x00007f2f575959cd in QMakeEvaluator::evaluateBoolFunction(ProFunctionDef const&, QList<ProStringList> const&, ProString const&) () at ../../shared/proparser/qmakeevaluator.cpp:1735 #24 0x00007f2f5759689e in QMakeEvaluator::evaluateConditionalFunction(ProKey const&, unsigned short const*&) () at /opt/qt-5.12/include/QtCore/qhash.h:389 #25 0x00007f2f57592830 in QMakeEvaluator::visitProBlock(unsigned short const*) [clone .localalias.177] () at ../../shared/proparser/proitems.h:142 #26 0x00007f2f575928c2 in QMakeEvaluator::visitProBlock (this=this@entry=0x564655ae7d40, pro=pro@entry=0x7f2f0404fef0, tokPtr=<optimized out>) at ../../shared/proparser/qmakeevaluator.cpp:515 #27 0x00007f2f57592df8 in QMakeEvaluator::visitProFile(ProFile*, QMakeHandler::EvalFileType, QFlags<QMakeEvaluator::LoadFlag>) () at /opt/qt-5.12/include/QtCore/qarraydata.h:208 #28 0x00007f2f575937c3 in QMakeEvaluator::evaluateFile(QString const&, QMakeHandler::EvalFileType, QFlags<QMakeEvaluator::LoadFlag>) () at ../../shared/proparser/qmakeevaluator.cpp:1932 #29 0x00007f2f57594371 in QMakeEvaluator::evaluateFeatureFile(QString const&, bool) () at /opt/qt-5.12/include/QtCore/qflags.h:120 #30 0x00007f2f5759f32c in QMakeEvaluator::evaluateBuiltinConditional(int, ProKey const&, ProStringList const&) () at /opt/qt-5.12/include/QtCore/qarraydata.h:211 #31 0x00007f2f5759692f in QMakeEvaluator::evaluateConditionalFunction(ProKey const&, unsigned short const*&) () at ../../shared/proparser/qmakeevaluator.cpp:1766 #32 0x00007f2f57592830 in QMakeEvaluator::visitProBlock(unsigned short const*) [clone .localalias.177] () at ../../shared/proparser/proitems.h:142 #33 0x00007f2f575927de in QMakeEvaluator::visitProBlock(unsigned short const*) [clone .localalias.177] () at ../../shared/proparser/qmakeevaluator.cpp:568 #34 0x00007f2f575928c2 in QMakeEvaluator::visitProBlock (this=this@entry=0x564655ae7d40, pro=pro@entry=0x7f2f200aa8b0, tokPtr=<optimized out>) at ../../shared/proparser/qmakeevaluator.cpp:515 #35 0x00007f2f57592df8 in QMakeEvaluator::visitProFile(ProFile*, QMakeHandler::EvalFileType, QFlags<QMakeEvaluator::LoadFlag>) () at /opt/qt-5.12/include/QtCore/qarraydata.h:208 #36 0x00007f2f575937c3 in QMakeEvaluator::evaluateFile(QString const&, QMakeHandler::EvalFileType, QFlags<QMakeEvaluator::LoadFlag>) () at ../../shared/proparser/qmakeevaluator.cpp:1932 #37 0x00007f2f57594371 in QMakeEvaluator::evaluateFeatureFile(QString const&, bool) () at /opt/qt-5.12/include/QtCore/qflags.h:120 #38 0x00007f2f57594693 in QMakeEvaluator::evaluateConfigFeatures() () at ../../shared/proparser/qmakeevaluator.cpp:1339 #39 0x00007f2f575931ab in QMakeEvaluator::visitProFile(ProFile*, QMakeHandler::EvalFileType, QFlags<QMakeEvaluator::LoadFlag>) () at ../../shared/proparser/qmakeevaluator.cpp:1472 #40 0x00007f2f5759a4fe in ProFileEvaluator::accept(ProFile*, QFlags<QMakeEvaluator::LoadFlag>) () at ../../shared/proparser/profileevaluator.cpp:233 #41 0x00007f2f3b712344 in evaluateOne(QmakeProjectManager::Internal::QmakeEvalInput const&, ProFile*, QtSupport::ProFileReader*, bool, QtSupport::ProFileReader**) () at /opt/qt-5.12/include/QtCore/qflags.h:120 #42 0x00007f2f3b715d14 in QmakeProjectManager::QmakeProFile::evaluate(QmakeProjectManager::Internal::QmakeEvalInput const&) () at qmakeparsernodes.cpp:1283 #43 0x00007f2f3b7185f9 in QmakeProjectManager::QmakeProFile::asyncEvaluate(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput) () at qmakeparsernodes.cpp:1492 #44 0x00007f2f3b7230c4 in Utils::Internal::MemberCallable<void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>::operator() (args#1=..., args#0=..., this=0x7f2f1a7fbdc0) at /opt/qt-5.12/include/QtCore/qarraydata.h:257 #45 Utils::Internal::runAsyncQFutureInterfaceDispatch<QmakeProjectManager::Internal::QmakeEvalResult*, Utils::Internal::MemberCallable<void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>, QmakeProjectManager::Internal::QmakeEvalInput> ( function=..., futureInterface=...) at ../../libs/utils/runextensions.h:257 #46 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=..., args#0=...) at ../../libs/utils/runextensions.h:274 #47 0x00007f2f3b723210 in Utils::Internal::runAsyncImpl<QmakeProjectManager::Internal::QmakeEvalResult*, Utils::Internal::MemberCallable<void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>, QmakeProjectManager::Internal::QmakeEvalInput> ( function=..., futureInterface=...) at /opt/qt-5.12/include/QtCore/qfutureinterface.h:153 #48 Utils::Internal::runAsyncMemberDispatch<QmakeProjectManager::Internal::QmakeEvalResult*, void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput), QmakeProjectManager::QmakeProFile*, QmakeProjectManager::Internal::QmakeEvalInput, void> ( obj=@0x564655ae8240: 0x564655ae4c50, function= @0x564655ae8248: (void (QmakeProjectManager::QmakeProFile::*)(QmakeProjectManager::QmakeProFile * const, QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*> &, QmakeProjectManager::Internal::QmakeEvalInput)) 0x7f2f3b7185e0 <QmakeProjectManager::QmakeProFile::asyncEvaluate(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>, futureInterface=...) at ../../libs/utils/runextensions.h:285 #49 Utils::Internal::runAsyncImpl<QmakeProjectManager::Internal::QmakeEvalResult*, void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput), QmakeProjectManager::QmakeProFile*, QmakeProjectManager::Internal::QmakeEvalInput> (function= @0x564655ae8248: (void (QmakeProjectManager::QmakeProFile::*)(QmakeProjectManager::QmakeProFile * const, QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*> &, QmakeProjectManager::Internal::QmakeEvalInput)) 0x7f2f3b7185e0 <QmakeProjectManager::QmakeProFile::asyncEvaluate(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput)>, futureInterface=...) at ../../libs/utils/runextensions.h:303 #50 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=0x564655ae81f0) at ../../libs/utils/runextensions.h:372 #51 Utils::Internal::AsyncJob<QmakeProjectManager::Internal::QmakeEvalResult*, void (QmakeProjectManager::QmakeProFile::*)(QFutureInterface<QmakeProjectManager::Internal::QmakeEvalResult*>&, QmakeProjectManager::Internal::QmakeEvalInput), QmakeProjectManager::QmakeProFile*, QmakeProjectManager::Internal::QmakeEvalInput&>::run (this=0x564655ae81f0) at ../../libs/utils/runextensions.h:352 #52 0x00007f2f6b927011 in QThreadPoolThread::run() () at /src/qt5/qtbase/src/corelib/thread/qthreadpool.cpp:99 #53 0x00007f2f6b923282 in QThreadPrivate::start(void*) () at /src/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:361 #54 0x00007f2f6b77af2a in start_thread (arg=0x7f2f1a7fc700) at pthread_create.c:463 #55 0x00007f2f6b37aedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-21416 Crash when opening .pro file
- Closed