Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 3.0.0
-
None
-
Windows 7 64 bit
Creator based on Qt 5 stable
MSVC 32 bit
-
796fcaf1d288267e93baba3d01927957c684758f
Description
- Start Creator built on Qt 5 stable.
- Open qtcreator.pro from Creator's repository.
- Configure the project.
I imported an existing out-of-source debug build based on Qt 5 stable. - Wait for parsing to finish.
Memory consumption rises to 1.5 GB and then Creator crashes:0 RaiseException KERNELBASE 0x76f2c41f 1 _CxxThrowException MSVCR100D 0x6618cf82 2 qBadAlloc qglobal.cpp 2069 0x6632c28c 3 QByteArray::reallocData qbytearray.cpp 1501 0x6635a577 4 QByteArray::reserve qbytearray.h 448 0x663283ee 5 CPlusPlus::Preprocessor::run pp-engine.cpp 768 0x5fcdbb6a 6 CppTools::Internal::CppPreprocessor::sourceNeeded cpppreprocessor.cpp 443 0x5fea3c8e 7 CPlusPlus::Preprocessor::handleIncludeDirective pp-engine.cpp 1617 0x5fcdbfae 8 CPlusPlus::Preprocessor::handlePreprocessorDirective pp-engine.cpp 1565 0x5fcdc4c1 9 CPlusPlus::Preprocessor::lex pp-engine.cpp 874 0x5fcdc7c5 10 CPlusPlus::Preprocessor::preprocess pp-engine.cpp 1408 0x5fcdb16c 11 CPlusPlus::Preprocessor::run pp-engine.cpp 768 0x5fcdbb8b 12 CppTools::Internal::CppPreprocessor::sourceNeeded cpppreprocessor.cpp 443 0x5fea3c8e 13 CPlusPlus::Preprocessor::handleIncludeDirective pp-engine.cpp 1617 0x5fcdbfae 14 CPlusPlus::Preprocessor::handlePreprocessorDirective pp-engine.cpp 1565 0x5fcdc4c1 15 CPlusPlus::Preprocessor::lex pp-engine.cpp 874 0x5fcdc7c5 16 CPlusPlus::Preprocessor::preprocess pp-engine.cpp 1408 0x5fcdb16c 17 CPlusPlus::Preprocessor::run pp-engine.cpp 768 0x5fcdbb8b 18 CppTools::Internal::CppPreprocessor::sourceNeeded cpppreprocessor.cpp 443 0x5fea3c8e 19 CppTools::Internal::CppPreprocessor::run cpppreprocessor.cpp 161 0x5fea1d0c ... <Mehr>
A Creator 3.0 built on Qt 4.8.5 is a little more robust (I got the backtrace using it) but will crash, too.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-7585 Qt Creator crashes on parsing large projects
- Closed
For Gerrit Dashboard: QTCREATORBUG-10973 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
72999,4 | Revert "C++: Fix highlighting for lines with predefined macros" | 3.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |