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

Segmentation fault when using the code editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 13.0.1
    • Qt Creator 13.0.0
    • Editors
    • None
    • Ubuntu 22.04 x86_64
    • 7a47cf0a1 (13.0)

    Description

      While editing the code the editor showed syntax error(s). A context window or the regular on-line error message was shown and happened to click that with the mouse immediately (by accident). Immediately after the mouse click the application crashed.

      This happened so quickly so that I'm unsure if:

      • was it mouse right or left click
      • was the mouse cursor hovering over the context menu (the yellow one) or just on the line where the editor shows the error with red color

      But the crash occurred immediately after clicking something with the mouse cursor in the editor space.

       

      ~/Qt6/Tools/QtCreator/bin$ ./qtcreator
      Accessing MimeDatabase for application/x-glsl before plugins are initialized
      Accessing MimeDatabase for text/x-glsl-vert before plugins are initialized
      Accessing MimeDatabase for text/x-glsl-frag before plugins are initialized
      Accessing MimeDatabase for text/x-glsl-es-vert before plugins are initialized
      Accessing MimeDatabase for text/x-glsl-es-frag before plugins are initialized
      Accessing MimeDatabase for application/x-qt.ui+qml before plugins are initialized
      Accessing MimeDatabase for text/x-c++src before plugins are initialized
      Accessing MimeDatabase for text/x-csrc before plugins are initialized
      Accessing MimeDatabase for text/x-c++hdr before plugins are initialized
      Login completed to Qt Account: "abcdefg...."
      SOFT ASSERT [11:44:47.489]: "!filePath.isEmpty()" in /home/qt/work/build/qt-creator/src/plugins/cmakeprojectmanager/fileapiparser.cpp:79
      SOFT ASSERT [11:44:47.489]: "!filePath.isEmpty()" in /home/qt/work/build/qt-creator/src/plugins/cmakeprojectmanager/fileapiparser.cpp:79
      SOFT ASSERT [11:44:47.489]: "!filePath.isEmpty()" in /home/qt/work/build/qt-creator/src/plugins/cmakeprojectmanager/fileapiparser.cpp:79
      "CMake project configuration failed. No CMake configuration for build type \"Release\" found."
      SOFT ASSERT [11:49:20.556]: "!filePath.isEmpty()" in /home/qt/work/build/qt-creator/src/plugins/cmakeprojectmanager/fileapiparser.cpp:79
      SOFT ASSERT [11:49:20.557]: "!filePath.isEmpty()" in /home/qt/work/build/qt-creator/src/plugins/cmakeprojectmanager/fileapiparser.cpp:79
      SOFT ASSERT [11:49:20.557]: "!filePath.isEmpty()" in /home/qt/work/build/qt-creator/src/plugins/cmakeprojectmanager/fileapiparser.cpp:79
      "CMake project configuration failed. No CMake configuration for build type \"Debug\" found."
      SOFT ASSERT [11:50:31.373]: "!filePath.isEmpty()" in /home/qt/work/build/qt-creator/src/plugins/cmakeprojectmanager/fileapiparser.cpp:79
      SOFT ASSERT [11:50:31.373]: "!filePath.isEmpty()" in /home/qt/work/build/qt-creator/src/plugins/cmakeprojectmanager/fileapiparser.cpp:79
      SOFT ASSERT [11:50:31.373]: "!filePath.isEmpty()" in /home/qt/work/build/qt-creator/src/plugins/cmakeprojectmanager/fileapiparser.cpp:79
      "CMake project configuration failed. No CMake configuration for build type \"Debug\" found."
      qtc.cmake.fileApiExtractor: Failed to parse: "<foo>/src/libs/3rdparty/curl/lib/curl_config.h.cmake" "Parse error.  Expected a command name, got unquoted argument with text \"/***************************************************************************\".\n"
      SOFT ASSERT [11:58:54.627]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:13:53.633]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:13:53.685]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:13:53.911]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:13:54.431]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:13:54.766]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:13:54.792]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:13:55.015]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:13:55.146]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:13:56.855]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:14:11.062]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:14:11.086]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:14:11.182]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:14:11.212]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:14:15.750]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:14:20.350]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:14:20.574]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:14:20.638]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:14:26.059]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [12:14:34.649]: "item" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:2394
      SOFT ASSERT [14:32:51.746]: "!cursor.isNull()" in /home/qt/work/build/qt-creator/src/libs/utils/multitextcursor.cpp:147
      SOFT ASSERT [14:32:51.746]: "!cursor.isNull()" in /home/qt/work/build/qt-creator/src/libs/utils/multitextcursor.cpp:147
      SOFT ASSERT [14:32:51.746]: "!cursor.isNull()" in /home/qt/work/build/qt-creator/src/libs/utils/multitextcursor.cpp:147
      Segmentation fault (core dumped) 

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-30738
          # Subject Branch Project Status CR V

          Activity

            People

              davschul David Schulz
              iknd Iikka Eklund
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes