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

QtCreator crashes when opening an already compiled CMake project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 3.1.0-rc1
    • Qt Creator 3.0.1
    • None
    • Windows 7 x64, QtCreator 3.0.1, Microsoft Visual Studio 2010

    Description

      What I did:
      1) Open CMakeLists.txt (new project), configured, generated and compiled as usual - no errors.
      2) Closed QtCreator
      3) Opened QtCreator again with the CMakeLists.txt, it is asked to run CMake again, that works, but when completing the dialog, QtCreator crashes (before showing up the project files or "Parsing" progress bar).

      This crash can be reproduced by:
      1) not running CMake just before
      2) delete <source>/CMakeLists.txt.user (with the only difference that you'll need to point again to the build directory)
      3) delete %APPDATA%/Roaming/QtProject
      4) deinstall + reinstall QtCreator

      Repeating all items with Qt4.8.5 / Qt5.2.1 does not make any difference (works/compiles at first, crashes when trying to open again). Compiling with command line still works (both with nmake and jom).

      Any pragmatic ideas on how to investigate the crash?

      Important note: This happens only for a certain project, but I don't know how to determine the cause for the crash.

      Attachments

        1. bt_configure_new_project.txt
          19 kB
        2. CMakeLists.txt.user
          626 kB
        3. cmdline.txt
          13 kB
        4. backtrace.txt
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dt Daniel Teske
            braggpeaks Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes