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

Crash when holding Ctrl in CMakeLists.txt of unconfigured project

    XMLWordPrintable

Details

    • b240bfb3d (14.0)

    Description

      1. Opened a session containing the (unconfigured) project attached to QTBUG-125323.
      2. Hit escape to get out of the Configure Project screen.
      3. Navigated to its CMakeLists.txt via project tree and opened it.
      4. Held Ctrl over Main.qml (but seems to reproduce anywhere in the file); crash.
      1  ProjectExplorer::BuildSystem::buildConfiguration                                                                                                                                                                                                                   buildsystem.cpp    95   0x7fffd443a846 
      2  CMakeProjectManager::Internal::CMakeEditorWidget::findLinkAt(QTextCursor const&, std::function<void (Utils::Link const&)> const&, bool, bool)                                                                                                                      cmakeeditor.cpp    333  0x7fffc3d8ab99 
      3  TextEditor::Internal::TextEditorWidgetPrivate::updateLink                                                                                                                                                                                                          texteditor.cpp     7644 0x7fffd50af929 
      4  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (TextEditor::Internal::TextEditorWidgetPrivate:: *)()>::call(void (TextEditor::Internal::TextEditorWidgetPrivate:: *)(), TextEditor::Internal::TextEditorWidgetPrivate *, void * *) qobjectdefs_impl.h 145  0x7fffd511e13c 
      5  QtPrivate::FunctionPointer<void (TextEditor::Internal::TextEditorWidgetPrivate:: *)()>::call<QtPrivate::List<>, void>(void (TextEditor::Internal::TextEditorWidgetPrivate:: *)(), TextEditor::Internal::TextEditorWidgetPrivate *, void * *)                       qobjectdefs_impl.h 182  0x7fffd511617e 
      6  QtPrivate::QCallableObject<void (TextEditor::Internal::TextEditorWidgetPrivate:: *)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)                                                                              qobjectdefs_impl.h 520  0x7fffd510d067 
      7  QObject::event(QEvent *)                                                                                                                                                                                                                                                                   0x7ffff5bab7e0 
      8  QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                                                                                                                                                                                    0x7ffff6f82012 
      9  QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                                                                                                                                                                                     0x7ffff5b5d6da 
      10 QCoreApplicationPrivate::sendPostedEvents(QObject *, int, QThreadData *)                                                                                                                                                                                                                   0x7ffff5b60c65 
      11 ??                                                                                                                                                                                                                                                                                         0x7ffff5e04d43 
      12 g_main_context_dispatch                                                                                                                                                                                                                                                                    0x7ffff4b1bd3b 
      13 ??                                                                                                                                                                                                                                                                                         0x7ffff4b712b8 
      14 g_main_context_iteration                                                                                                                                                                                                                                                                   0x7ffff4b193e3 
      15 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                                                                                                                                 0x7ffff5e046da 
      16 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                                                                                                                                                    0x7ffff5b69023 
      17 QCoreApplication::exec()                                                                                                                                                                                                                                                                   0x7ffff5b65aee 
      18 main                                                                                                                                                                                                                                                               main.cpp           882  0x5555555658a8 
      

      The BuildSystem pointer is null.

      Product: Qt Creator 13.0.2
      Based on: Qt 6.6.3 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64)
      Built on: Jun  5 2024 07:16:43
      From revision: 1ad2c04e0e
      

      Attachments

        1. full-backtrace.txt
          314 kB
          Mitch Curtis
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cadam Cristian Adam
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes