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

Freeze when reconfiguring CMake project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 17.0.0
    • None
    • macOS

    Description

      So there is this Qt Creator freeze when reconfiguring a CMake project that has already be existing for the few past Qt Creator versions.

      Reproducer:

      • clone a big project, I use qt here
      • open it in Qt Creator
      • build the project once, I built the qtdeclarative_src target
      • modify a .cmake file: I add a newline to qt/qtdeclarative/src/qml/Qt6QmlMacros.cmake
      • build the project
      • in the Compile Output pane, wait until CMake is done regenerating the project
      • now Qt Creator starts freezing for a few seconds

      The freeze happens inside some macos library at FSEvents`FSEventStreamFlushSync, see attached stacktrace, inside of "thread 1" (which is the GUI thread).

      I also have a screenshot from the profiler, where you can see that FSEventStreamFlushSync uses 12.54 seconds from the captured 15 seconds inside the GUI thread (called Main Thread in the screenshot):

      I am using an arm macbook, with macos 15.5.

      Attachments

        Issue Links

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

          Activity

            People

              cadam Cristian Adam
              sami.shalayel Sami Shalayel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change