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

[REG 3.2.1 -> 3.3.0] Rising CPU consumption

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 3.3.0-beta1
    • Qt Creator 3.3.0-beta1
    • C/C++/Obj-C++ Support
    • Creator's built-in code-model
      Windows 7 64 bit
      Project configured with Qt 5.3.1, built with MSVC2010

      On Linux, this seems to work correctly.

    Description

      1. Open project tests\manual\cplusplus-tools\cplusplus-tools.pro from Creator's repository in Creator.
      2. Configure the project with a kit using Qt 5.3.1, built with MSVC2010.
      3. In main.cpp, go to the definition of
        void testCompleteSymbols()
        
      4. Keep an eye on Creator's CPU consumption.
        For me, it's at 13% now. Quite high already, considering that Creator is doing nothing at the moment.
      5. Uncomment one of the outcommented lines.
        CPU usage rises to 25%.
      6. Comment that line out again.
        38%
      7. Repeat steps 5 and 6.
        Each time, Creator's CPU consumption rises and doesn't fall.
      8. Try to close main.cpp
        Creator freezes completely.

      Found while trying QTCREATORBUG-13064. Both issues need the same steps to reproduce them. I can't judge whether they are just two symptoms of the same bug.

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes