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

Crash in TextEditor::Internal::HoverHandlerRunner::abortHandlers()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 10.0.2
    • Editors
    • None
    • Fedora 38
    • Linux/X11

      From downstream bugreport https://bugzilla.redhat.com/show_bug.cgi?id=2247199
      Description of problem:
      I switched branches in git (command line).
      A number of files were updated and some removed.
      Some of those files were open in QtCreator.
      QtCreator asked me if I wanted to update the editors, close editors, diff, etc.
      I chose the option "Close".
      QtCreator crashed at this point.

      Version-Release number of selected component:
      qt-creator-10.0.2-2.fc38

      Additional info:
      reporter: libreport-2.17.11
      crash_function: TextEditor::Internal::HoverHandlerRunner::abortHandlers()
      dso_list: /usr/bin/qtcreator qt-creator-10.0.2-2.fc38.x86_64 (Fedora Project) 1697905271
      rootdir: /
      type: CCpp
      kernel: 6.5.8-200.fc38.x86_64
      journald_cursor: s=710b1614b4814135a4278328f6279e0f;i=109c079;b=44bd82caf90a4e6cac9a4f38d5fccd3a;m=4f341a98;t=608fe9dffa697;x=e21528b70c198599
      executable: /usr/bin/qtcreator
      package: qt-creator-10.0.2-2.fc38
      cgroup: 0::/user.slice/user-1000.slice/session-2.scope
      cmdline: /usr/bin/qtcreator
      backtrace_rating: 4
      reason: qtcreator killed by SIGSEGV
      runlevel: N 5
      uid: 1000

      Truncated backtrace:
      Thread no. 0 (30 frames)
      #0 TextEditor::Internal::HoverHandlerRunner::abortHandlers() at /usr/src/debug/qt-creator-10.0.2-2.fc38.x86_64/src/plugins/texteditor/texteditor.cpp:373
      #1 TextEditor::Internal::HoverHandlerRunner::~HoverHandlerRunner() at /usr/src/debug/qt-creator-10.0.2-2.fc38.x86_64/src/plugins/texteditor/texteditor.cpp:290
      #2 TextEditor::Internal::TextEditorWidgetPrivate::~TextEditorWidgetPrivate() at /usr/src/debug/qt-creator-10.0.2-2.fc38.x86_64/src/plugins/texteditor/texteditor.cpp:1041
      #4 TextEditor::TextEditorWidget::~TextEditorWidget() at /usr/src/debug/qt-creator-10.0.2-2.fc38.x86_64/src/plugins/texteditor/texteditor.cpp:1329
      #5 CppEditor::CppEditorWidget::~CppEditorWidget() at /usr/src/debug/qt-creator-10.0.2-2.fc38.x86_64/src/plugins/cppeditor/cppeditorwidget.cpp:552
      #6 TextEditor::BaseTextEditor::~BaseTextEditor() at /usr/src/debug/qt-creator-10.0.2-2.fc38.x86_64/src/plugins/texteditor/texteditor.cpp:8114
      #8 qDeleteAll<QSet<Core::IEditor*>::const_iterator>(QSet<Core::IEditor*>::const_iterator, QSet<Core::IEditor*>::const_iterator) at /usr/include/qt6/QtCore/qalgorithms.h:27
      #9 qDeleteAll<QSet<Core::IEditor*> >(QSet<Core::IEditor*> const&) at /usr/include/qt6/QtCore/qalgorithms.h:35
      #10 Core::Internal::EditorManagerPrivate::closeEditors(QList<Core::IEditor*> const&, Core::Internal::EditorManagerPrivate::CloseFlag) at /usr/src/debug/qt-creator-10.0.2-2.fc38.x86_64/src/plugins/coreplugin/editormanager/editormanager.cpp:1778
      #11 Core::EditorManager::closeDocuments(QList<Core::IDocument*> const&, bool) at /usr/src/debug/qt-creator-10.0.2-2.fc38.x86_64/src/plugins/coreplugin/editormanager/editormanager.cpp:3423
      #12 Core::DocumentManager::checkForReload() at /usr/src/debug/qt-creator-10.0.2-2.fc38.x86_64/src/plugins/coreplugin/documentmanager.cpp:1306
      #13 QtPrivate::QSlotObjectBase::call(QObject*, void**) at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/corelib/kernel/qobjectdefs_impl.h:363
      #14 doActivate<false>(QObject*, int, void**) at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/corelib/kernel/qobject.cpp:3992
      #15 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/corelib/kernel/qobject.cpp:4052
      #16 QSingleShotTimer::timeout() at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/qtimer.moc:159
      #17 QSingleShotTimer::timerEvent(QTimerEvent*) at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/corelib/kernel/qtimer.cpp:304
      #18 QObject::event(QEvent*) at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/corelib/kernel/qobject.cpp:1413
      #19 QApplicationPrivate::notify_helper(QObject*, QEvent*) at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/widgets/kernel/qapplication.cpp:3287
      #20 QCoreApplication::notifyInternal2(QObject*, QEvent*) at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1118
      #21 QCoreApplication::sendEvent(QObject*, QEvent*) at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1536
      #22 QTimerInfoList::activateTimers() at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/corelib/kernel/qtimerinfo_unix.cpp:613
      #23 timerSourceDispatch(GSource*, GSourceFunc, gpointer) at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:149
      #26 g_main_context_iterate.isra.0 at ../glib/gmain.c:4276
      #27 g_main_context_iteration at ../glib/gmain.c:4343
      #28 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:393
      #29 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/corelib/global/qflags.h:34
      #30 QCoreApplication::exec() at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/corelib/global/qflags.h:74
      #31 QGuiApplication::exec() at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/gui/kernel/qguiapplication.cpp:1908
      #32 QApplication::exec() at /usr/src/debug/qt6-qtbase-6.5.2-5.fc38.x86_64/src/widgets/kernel/qapplication.cpp:2566
      #33 main(int, char**) at /usr/src/debug/qt-creator-10.0.2-2.fc38.x86_64/src/app/main.cpp:794

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

            davschul David Schulz
            smani Sandro Mani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes