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

        For Gerrit Dashboard: QTVSADDINBUG-890
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes