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

[REG: 4.1.0 -> 4.2.0]: Qt Creator crashes when opening a project file that contains reference to file that does not exist

XMLWordPrintable

      Qt Creator crashes when loading a simple project file like:
      SOURCES += "c:\file_that_does_not_exist.cpp"

      The crash is not limited to SOURCES, also HEADERS and OTHER_FILES crash.

      Qt Creator 4.1 did not crash in this situation. Also, if the backslash is replaced with forward slash, the crash does not occur. Crash does not happen at all if the file exists, even if backslash is used in the file path.

      Steps to reproduce:

      • Open the attached project file through Windows Explorer
      • EXPECTED: Qt Creator parses the project and user can choose kits to continue
      • ACTUAL: Qt Creator crashes while parsing the project file

        1. qtcreatorbug17527.pro
          0.0 kB
        2. backtrace.txt
          59 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            buddenha Oswald Buddenhagen
            jussi_witick Jussi Witick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes