Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 13.0.0-beta1
-
None
-
7b04bdf49 (12.0)
Description
#0 0x00007f1db457dd04 in CPlusPlus::Lexer::scan_helper(CPlusPlus::Token*) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/../libCPlusPlus.so.12 #1 0x00007f1db457ebd8 in CPlusPlus::Lexer::scan(CPlusPlus::Token*) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/../libCPlusPlus.so.12 #2 0x00007f1db45ae6d3 in CPlusPlus::TranslationUnit::tokenize() () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/../libCPlusPlus.so.12 #3 0x00007f1db45af725 in CPlusPlus::TranslationUnit::parse(CPlusPlus::TranslationUnit::ParseMode) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/../libCPlusPlus.so.12 #4 0x00007f1db4609bb2 in CPlusPlus::documentForExpression(QByteArray const&) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/../libCPlusPlus.so.12 #5 0x00007f1db4609cfd in CPlusPlus::TypeOfExpression::operator()(QByteArray const&, CPlusPlus::Scope*, CPlusPlus::TypeOfExpression::PreprocessMode) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/../libCPlusPlus.so.12 #6 0x00007f1db49361bd in CppEditor::Internal::CanonicalSymbol::canonicalSymbol(CPlusPlus::Scope*, QString const&, CPlusPlus::TypeOfExpression&) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/libCppEditor.so #7 0x00007f1db493638d in CppEditor::Internal::CanonicalSymbol::operator()(QTextCursor const&) & () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/libCppEditor.so #8 0x00007f1db4a9e92e in CppEditor::symbolOccurrencesInDeclarationComments(CppEditor::CppEditorWidget*, QTextCursor const&) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/libCppEditor.so #9 0x00007f1db417e119 in ClangCodeModel::Internal::ClangdClient::additionalDocumentHighlights(TextEditor::TextEditorWidget*, QTextCursor const&) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/libClangCodeModel.so #10 0x00007f1dd00c78ca in LanguageClient::ClientPrivate::requestDocumentHighlightsNow(TextEditor::TextEditorWidget*)::{lambda(LanguageServerProtocol::Response<LanguageServerProtocol::DocumentHighlightsResult, decltype(nullptr)> const&)#1}::operator()(LanguageServerProtocol::Response<LanguageServerProtocol::DocumentHighlightsResult, decltype(nullptr)> const&) const [clone .lto_priv.0] () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/libLanguageClient.so #11 0x00007f1dd05a6b71 in std::_Function_handler<void (LanguageServerProtocol::JsonRpcMessage const&), LanguageServerProtocol::Request<LanguageServerProtocol::DocumentHighlightsResult, decltype(nullptr), LanguageServerProtocol::TextDocumentPositionParams>::responseHandler() const::{lambda(LanguageServerProtocol::JsonRpcMessage const&)#1}>::_M_invoke(std::_Any_data const&, LanguageServerProtocol::JsonRpcMessage const&) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/../libLanguageServerProtocol.so.12 #12 0x00007f1dd00dcc23 in LanguageClient::Client::handleMessage(LanguageServerProtocol::JsonRpcMessage const&) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/libLanguageClient.so #13 0x00007f1ddcbb47c1 in void doActivate<false>(QObject*, int, void**) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #14 0x00007f1dd00dddb2 in LanguageClient::InterfaceController::messageReceived(LanguageServerProtocol::JsonRpcMessage const&) () at /home/tjmaciei/obj/qt/installed/lib64/qtcreator/plugins/libLanguageClient.so #15 0x00007f1ddcba0831 in QObject::event(QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #16 0x00007f1dddd9ec23 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Widgets.t.so.6 #17 0x00007f1ddcb5ba18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #18 0x00007f1ddcb5bd8b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #19 0x00007f1ddcd9f7e0 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #20 0x00007f1ddc513f30 in () at /lib64/libglib-2.0.so.0 #21 0x00007f1ddc515b58 in () at /lib64/libglib-2.0.so.0 #22 0x00007f1ddc51620c in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #23 0x00007f1ddcd9dad4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #24 0x00007f1ddcb644fd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #25 0x00007f1ddcb5f876 in QCoreApplication::exec() () at /home/tjmaciei/obj/qt/installed/bin/../lib64/libQt6Core.t.so.6 #26 0x000000000040d0af in main ()
3 crashes in 15 minutes.
Rough steps to reproduce:
- open libstdc++'s <type_traits> header
- move around, search some symbols, etc. (I was searching for is_signed).
Commit: f88048845f5138c5a0d91a2ab268f74711f737ef
Attachments
For Gerrit Dashboard: QTCREATORBUG-30044 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
532616,2 | CPlusPlus: deal with QByteArray::(c)begin() return nullptr | 12.0 | qt-creator/qt-creator | Status: MERGED | -1 | 0 |