Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 2.8.0-beta
-
None
-
feff33827cbe54a39863ef7a5a1e954556ed4302
Description
If you close an editor containing a C++-file Qt Crator crashes.
Stacktrace (editor closed after parsing finished):
#2 <signal handler called> No symbol table info available. #3 0x00007f00744a7bca in TextEditor::BaseTextEditor::editorWidget (this=0x0) at /qt-creator/src/plugins/texteditor/basetexteditor.h:620 No locals. #4 0x00007f00744a4098 in CppTools::CppEditorSupport::editorRevision (this=0x7a5c8c0) at /qt-creator/src/plugins/cpptools/cpptoolseditorsupport.cpp:166 No locals. #5 0x00007f00744a4466 in CppTools::CppEditorSupport::updateDocumentNow (this=0x7a5c8c0) at /qt-creator/src/plugins/cpptools/cpptoolseditorsupport.cpp:222 No locals. #6 0x00007f0074558892 in CppTools::CppEditorSupport::qt_static_metacall (_o=0x7a5c8c0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff8c283de0) at .moc/debug-shared/moc_cpptoolseditorsupport.cpp:118 _t = 0x7a5c8c0
If you close the editor while the parser is still running the stacktrace is a little different. (see attachment)
Git bisect says "cacd66195c1e37cf89023ffce82a69d135c6d734 is the first bad commit" and reverting it fixes the problem.