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

Creator stalls at "Persisting CMake state"

    XMLWordPrintable

Details

    Description

      On opening a CMakeList.txt file for the first time, cmake runs fine, but then on building it is getting stuck at "Persisting CMake state". If opening a project where the Project.user file already exists there is no issue.

      Quickly looking at the source code, there appears to be a race condition in CMakeBuildStep::run(). Run calls BuildDirManager::persistCMakeState() and if true, waits for BuildDirManager to emit dataAvailable, however persistCMakeState can emit dataAvailable before returning.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              hunger Tobias Hunger
              ae a e
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes