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

Creator is unresponsive for long periods when editing CMakeLists.txt files in qtdeclarative

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.15.2
    • None

    Description

      I'm not sure if this started happening after the qtquickcontrols2 merge or not, but when I'm editing e.g. https://codereview.qt-project.org/c/qt/qtdeclarative/+/363532/5/src/quicktestutils/CMakeLists.txt, Creator will just stop responding at some point.

      Attached is the output of it when run with QT_LOGGING_RULES=qtc.cmake*=true. Towards the end Creator was not responding, and eventually it crashed (though that was the first time I saw a crash; perhaps related to enabling logging).

      The steps I took:

      1. Opened my qtdeclarative session
      2. Started messing around with the CMakeLists.txt file: removing a line, hitting undo, saving, etc.
      3. Build (just to put more stress on it; I dunno if it makes a difference or not)
      4. Keep messing around with CMakeLists.txt; eventually it won't respond.

      Here are my system specs - it's a pretty beefy machine, so it shouldn't be bogged down to this degree:

                  .-/+oossssoo+/-.               mitch@mitch-ubuntu-20 
              `:+ssssssssssssssssss+:`           --------------------- 
            -+ssssssssssssssssssyyssss+-         OS: Ubuntu 20.04.2 LTS x86_64 
          .ossssssssssssssssssdMMMNysssso.       Host: Komplett PC 
         /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 5.11.0-25-generic 
        +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 8 hours, 7 mins 
       /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 2252 (dpkg), 9 (snap) 
      .ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.0.17 
      +sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 3840x2160 
      ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: GNOME 
      ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter 
      +sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Adwaita 
      .ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Yaru-light [GTK2/3] 
       /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: Adwaita [GTK2/3] 
        +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal: guake 
         /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: AMD Ryzen 9 5950X (32) @ 3.400GHz 
          .ossssssssssssssssssdMMMNysssso.       GPU: NVIDIA 09:00.0 NVIDIA Corporation Device 2188 
            -+sssssssssssssssssyyyssss+-         Memory: 2290MiB / 64291MiB 
              `:+ssssssssssssssssss+:`
                  .-/+oossssoo+/-.                               
      

      Attachments

        Issue Links

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

          Activity

            People

              cadam Cristian Adam
              mitch_curtis Mitch Curtis
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes