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

Opening CMakeLists.txt in editor causes QtCreator to crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 6.0.0-rc1
    • Editors
    • None

    Description

       I've noticed that with qtcreator6-rc1 (and the betas that preceded it), opening a CMakeLists.txt file in the editor crashes. This crash does not affect qtcreator5.
      How to reproduce:
      Steps I followed to reproduce the crash:

      • load the project (e.g. open project, select the CMakeLists.txt file ; qtcreator loads the project without issue)
      • in the left-hand pane, expand the project, double click on the CMakeLists.txt file to open it in the editor ; qtcreator segfaults and dies. Any other action that would also open the CMakeLists.txt file (e.g. add a new source file) will also cause it to crash.

      I'm using Ubuntu 21.10 in a docker container
      I'm using qt6.2.1 (from source release tarball)

      I'm using  qtcreator6-rc1 (from source release tarball)

      The CMakeLists.txt file and the crash backtrace are both attached.

      Attachments

        1. backtrace.txt
          67 kB
          Dustin Widmann
        2. CMakeLists.txt
          2 kB
          Dustin Widmann
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            dwidmann Dustin Widmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes