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

QtWebEngine key handle leak on Windows 10\11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.15.16
    • WebEngine, WebView
    • None
    • OS: Windows 10/11,
      Hardware: multiple monitors attached to pc, "extending screen space" setting in monitor configuration
    • Windows

    Description

      On Windows 10/11 there seems to be a uncontrollable Key Handle groth (posibly a leak) for HKLM\SYSTEM\ControlSet001\Control\Class

      {4d36e96e-e325-11ce-bfc1-08002be10318}

      Reg entry.
      Potential culprit is a Qt5WebEngine spawned thread with very low I/O Priority

      Attached are minimal example to reproduce and also video clip with behaviour demonstration.
      Steps to reproduce:
      0. Prepare process monitoring software (in my case it's Process Explorer)
      1. Start example
      2. Constantly click on application icon in Windows task panel or cause constant switch of focus between example app window and other windows opened.
      3. Observe handle count for example application.

      AR:
      Each application focus switch (from example app and back) raises opened handle key count by 3-10 or more.
      Supplemental:
      using logman event tracing i found out that keys are being opened by abovementioned  Qt5Webengine thread with Very Low I/O priority and higher (then similar threads) cycles count.

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            sirseanconnery Alex Alex
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes