Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24247

Crash when use "F2/Follow Symbol under cursor"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.12.3
    • C/C++/Obj-C++ Support
    • None
    • Linux/X11

    Description

      I open the QtCreator Project and use "follow symbol under cursor". The core dump is:

      (gdb) backtrace 
      #0  0x00007f2f13d19e97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
      #1  0x00007f2f13d1b801 in __GI_abort () at abort.c:79
      #2  0x00007f2f1470e957 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #3  0x00007f2f14714ae6 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #4  0x00007f2f14714b21 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #5  0x00007f2f14714d54 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #6  0x00007f2ec7b4dc4d in Sqlite::BaseStatement::throwUnknowError(char const*) const () at /home/leander/Qt/Tools/QtCreator/lib/qtcreator/plugins/../libSqlite.so.4
      #7  0x00007f2ec7b4dcda in Sqlite::BaseStatement::checkForStepError(int) const () at /home/leander/Qt/Tools/QtCreator/lib/qtcreator/plugins/../libSqlite.so.4
      #8  0x00007f2ec7b4dd5d in  () at /home/leander/Qt/Tools/QtCreator/lib/qtcreator/plugins/../libSqlite.so.4
      #9  0x00007f2ec4c17996 in ClangRefactoring::SymbolQuery<ClangRefactoring::QuerySqliteStatementFactory<Sqlite::Database, Sqlite::ReadStatement> >::declarationsAt(ClangBackEnd::FilePathId, int, int) const () at /home/leander/Qt/Tools/QtCreator/lib/qtcreator/plugins/libClangRefactoring.so
      #10 0x00007f2ec4c04c91 in ClangRefactoring::RefactoringEngine::declarationAt(CppTools::CursorInEditor const&) const () at /home/leander/Qt/Tools/QtCreator/lib/qtcreator/plugins/libClangRefactoring.so
      #11 0x00007f2ec4c04f2c in ClangRefactoring::RefactoringEngine::globalFollowSymbol(CppTools::CursorInEditor const&, std::function<void (Utils::Link const&)>&&, CPlusPlus::Snapshot const&, QSharedPointer<CPlusPlus::Document> const&, CppTools::SymbolFinder*, bool) const () at /home/leander/Qt/Tools/QtCreator/lib/qtcreator/plugins/libClangRefactoring.so
      #12 0x00007f2ecc0ebc90 in QtPrivate::QFunctorSlotObject<ClangCodeModel::Internal::ClangFollowSymbol::findLink(CppTools::CursorInEditor const&, std::function<void (Utils::Link const&)>&&, bool, CPlusPlus::Snapshot const&, QSharedPointer<CPlusPlus::Document> const&, CppTools::SymbolFinder*, bool)::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () at /home/leander/Qt/Tools/QtCreator/lib/qtcreator/plugins/libClangCodeModel.so
      #13 0x00007f2f151805f0 in void doActivate<false>(QObject*, int, void**) () at /home/leander/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #14 0x00007f2f14f722f1 in QFutureWatcherBase::event(QEvent*) () at /home/leander/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #15 0x00007f2f166bfb0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/leander/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #16 0x00007f2f166c6a90 in QApplication::notify(QObject*, QEvent*) () at /home/leander/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #17 0x00007f2f15149c48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/leander/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #18 0x00007f2f1514d1da in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /home/leander/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #19 0x00007f2f151a30a3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /home/leander/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #20 0x00007f2f106e5417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
      #21 0x00007f2f106e5650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
      #22 0x00007f2f106e56dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
      #23 0x00007f2f151a273c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/leander/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #24 0x00007f2f15148662 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/leander/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #25 0x00007f2f15151590 in QCoreApplication::exec() () at /home/leander/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #26 0x000000000040abc0 in main ()
      
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bubke Marco Bubke
            autoantwort autoantwort
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes