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

Freezes and 100% CPU usage after opening a project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • Qt Creator 4.5.0-beta1, Qt Creator 4.5.0-rc1
    • C/C++/Obj-C++ Support
    • None

    Description

      Qt Creator freezes and CPU usage is 100% after a project is being opened in Ubuntu 16.04. To reproduce the bug

      1. sudo apt-get install libxml2-dev libraw1394-dev libncurses5-dev swig libopenigtlink-dev flite cmake-curses-gui libopencv-dev git subversion gfortran libcppunit-dev fluid
      2. git clone --recursive https://github.com/jhu-cisst/cisst-saw.git
      3. open project by opening CMakeLists.txt via Qt Creator (I am using CMAKE 3.9.4)
      4. make sure ClangRefactoring plugin is loaded
      5. configure the project
      6. build the project and then wait for build fail
      7. turn on CISST_HAS_CISSTNETLIB in CMake (see build-pro1.png) and then Apply Configuration Changes
      8. open CMakeCache.txt which is inside the build folder (see build-pro1.png)
      9. change CISSTNETLIB_DOWNLOAD_NOW:BOOL=OFF to CISSTNETLIB_DOWNLOAD_NOW:BOOL=ON (see build-pro1.png) and then Run CMake inside Qt Creator by right clicking project and then clicking Run CMake on pop up menu
      10. press yes button to reload CMakeCache.txt and then change CISSTNETLIB_DOWNLOAD_ARCHITECTURE:STRING=undefined to CISSTNETLIB_DOWNLOAD_ARCHITECTURE:STRING="x86_64" (see build-pro2.png) and then Run CMake inside Qt Creator 
      11. build the project and then wait for build fail
      12. open cisst-saw\cisst\cisstVector\vctDynamicVector.h in Qt Creator
      13. open system monitor, you can see CPU usage jump 100% and then Qt Creator will freeze

      Perhaps, this issue is related to 

      1. https://bugreports.qt.io/browse/QTCREATORBUG-18856
      2. https://bugreports.qt.io/browse/QTCREATORBUG-19062
      3. https://bugreports.qt.io/browse/QTCREATORBUG-18649

      Attachments

        1. build-pro1.png
          build-pro1.png
          90 kB
        2. build-pro2.png
          build-pro2.png
          50 kB
        3. nik_cmake.log
          5 kB
        4. nik_git_clone.log
          18 kB
        5. nik_versions.log
          0.5 kB
        6. nik2_01_cmakeRun.log
          5 kB
        7. nik2_02_build.log
          36 kB
        8. nik2_03_cmake.applyChanges.log
          9 kB
        9. nik2_04_build.log
          4 kB
        10. Screenshot from 2017-10-20 11-51-57.png
          Screenshot from 2017-10-20 11-51-57.png
          435 kB

        Issue Links

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

          Activity

            People

              bubke Marco Bubke
              vincent-hui Vincent Hui
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes