Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-890

Background build and VS2019 freeze on open solution

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 2.7.2
    • 2.7.1
    • General
    • None
    • Visual Studio 2019 16.9.2
    • Windows
    • 4b49853cadfeb03a65e1b22987cbe11f418e3940

    Description

      Described problems appear after update VS to 16.9.2 from 16.4.3 and qt vs tools to 2.7.1 from 2.4.3.
      Solution has many qt projects(50+) one "exe", others are class libraries. When open solution after VS start Qt VS Tools after initial initialization in output window logs:

      xxx.vcxproj: background build FAILED!
      yyy.vcxproj: background build FAILED!
      

       But for some projects it has not one entry but 6-8:

      zzz.vcxproj: background build FAILED!
      zzz.vcxproj: background build FAILED!
      zzz.vcxproj: background build FAILED!
      zzz.vcxproj: background build FAILED!
      zzz.vcxproj: background build FAILED!
      zzz.vcxproj: background build FAILED!
      

      In this moment VS freezes, not respond and memory consumption grows from 1100 Mb without qt vs tools to 2500+Mb. It may last for several minutes, and since VS is x86 app it may lead to crush with System.OutOfMemoryException, then VS restarts and qt vs tools does not start any background builds(or seems so) and you can use VS.
      Similar behaviour appears when you reopen solution or reload batch of projects from it, or even when you simply surf projects/files in solution.
      And also it can lead to VS crush on rebuild solution with also OOM exception, but it's not confirmed.

      Attachments

        1. image-2021-04-21-11-29-44-209.png
          33 kB
          Rolf Moholth
        2. image-2021-04-26-09-15-38-091.png
          4 kB
          Klaus Veenhues
        3. image-2021-04-26-09-19-29-808.png
          20 kB
          Klaus Veenhues
        4. image-2021-04-26-09-23-41-422.png
          19 kB
          Klaus Veenhues
        5. image-2021-04-26-09-26-55-890.png
          12 kB
          Klaus Veenhues
        6. Screenshot 2021-04-15 at 09.16.20.png
          27 kB
          David Hussey
        7. Screenshot 2021-04-27 at 17.18.39.png
          13 kB
          David Hussey

        Activity

          People

            mecfc Miguel Costa
            actap Taras Borisenko
            Votes:
            12 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: