Details
-
Bug
-
Resolution: Moved
-
P1: Critical
-
None
-
Qt Creator 3.4.0-beta1
-
None
Description
When loading a certain session containing two .pro files, QtC master (e822d5705f4a) crashes for me:
0 findChar qstring.cpp 675 0x5a28f400 1 QString::indexOf qstring.cpp 2953 0x5a28fc9c 2 QMakeGlobals::expandEnvVars qmakeglobals.cpp 277 0x594d5ab8 3 ProFileEvaluator::values profileevaluator.cpp 79 0x594eaf0c 4 QmakeProjectManager::QmakeProFileNode::evaluate qmakenodes.cpp 1897 0x589b34ae 5 QmakeProjectManager::QmakeProFileNode::asyncEvaluate qmakenodes.cpp 2001 0x589aebd3 6 QtConcurrent::StoredInterfaceMemberFunctionCall1<QmakeProjectManager::Internal::EvalResult *,void (__thiscall QmakeProjectManager::QmakeProFileNode::*)(QFutureInterface<QmakeProjectManager::Internal::EvalResult *> &,QmakeProjectManager::In runextensions.h 140 0x589ba994 7 QThreadPoolThread::run Qt5Core 0x5a236d15 8 QThreadPrivate::start qthread_win.cpp 346 0x5a239534 9 _beginthreadex MSVCR120 0x6571c01d 10 _endthreadex MSVCR120 0x6571c001 11 BaseThreadInitThunk KERNEL32 0x7768338a 12 __RtlUserThreadStart ntdll_77d90000 0x77dc9f72 13 _RtlUserThreadStart ntdll_77d90000 0x77dc9f45
It seems the QString generated by ProString::toQString(), and then passed into expandEnvVars() is corrupted.
This is an MSVC 2013 release build with forced debug information.
Attachments
Issue Links
- is replaced by
-
QTBUG-45601 QProcess/Win can cause malformed heap
- Closed
- relates to
-
QTCREATORBUG-13714 Crash in QMakeEvaluator::~QMakeEvaluator
- Closed
-
QTCREATORBUG-14272 Qt Creator crashes when opening installerfw.pro
- Closed
- replaces
-
QTCREATORBUG-13692 Crash on reading project file
- Closed
-
QTCREATORBUG-14327 Qt Creator crash when loading project using $$system(date /t)
- Closed