Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-69030

Qt Qtwebengineprocessd not terminated when stopping debugging in VS 2017

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.0 RC
    • 5.11.1
    • WebEngine
    • Windows 10 Pro v1803
      Visual Studio 2017 v15.7.3
      Qt Visual Studio Tools v2.2.1
    • Windows
    • ba7a77a4fbd5fc50cd0f5de7297254305f2f3986

    Description

      When using Microsoft Visual Studio Community 2017 (v15.7.3) with Qt Visual Studio Tools (v2.2.1) and stopping debugging from within VS, all Qtwebengineprocessd processes remain running (as background processes) with an unexpected high cpu usage. If exiting the application regularly, the processes are terminated as expected.

      The process is started as a subprocess of the parent application as intended. Each webview gets its own webengine process.

      When stopping the debugging in VS

      none of the webengine subprocesses are closed. Instead they are running as background processes with a considerable increase in cpu usage. 
      The image below shows what happens if two webviews were opened in the application.

      If only one webview was opened (or none and QtWebEngine was just included), the webengine process is shown as standalone.

       

      The more often this procedure is repeated, the larger the stack of webengine processes becomes, with a massive effect on cpu usage.

      Compiling with Qt v5.10.0, the webengine processes terminate as expected.

       

       

      Attachments

        1. 1.PNG
          1.PNG
          32 kB
        2. 2.PNG
          2.PNG
          43 kB
        3. 3.PNG
          3.PNG
          2 kB
        4. 4.PNG
          4.PNG
          62 kB
        5. Call stack.PNG
          Call stack.PNG
          82 kB

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              rubent rubent
              Votes:
              5 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes