Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
Qt Creator 3.1.0
-
None
-
Fedora 20
Description
Crashes only in a single file. Steps:
1. Print the '#' sign.
2. See auto-complete suggestions.
3. Try to type 'include' and wait.
The part of the stack-trace with assertion message:
qtcreator: /home/user/Projects/llvm/tools/clang/lib/Lex/PPMacroExpansion.cpp:63: void clang::Preprocessor::setLoadedMacroDirective(clang::IdentifierInfo *, clang::MacroDirective *): Assertion `!StoredMD && "the macro history was modified before initializing it from a pch"' failed.
clang::ASTReader::installPCHMacroDirectives(clang::IdentifierInfo*, clang::serialization::ModuleFile&, ...)
clang::ASTReader::finishPendingActions()
clang::ASTReader::FinishedDeserializing()
clang::ASTReader::updateOutOfDateIdentifier(clang::IdentifierInfo&)
...
clang_reparseTranslationUnit_Impl(void*)
If you need the full stack-trace, I can build the Debug version of QtCreator and get symbolized trace from QtCreator itself. Otherwise, I have problems getting this stack-trace with GDB, since the auto-complete is a modal window which blocks futher interaction with desktop. So I have to run gdb in a raw tty.