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

QQuickWidget (QtWebEngine) based applications crash in graphics device lost situations

    XMLWordPrintable

Details

    • Windows
    • 3425c9c6d7f7915e6f7931da46105b36245e86ad (qtbase/5.14) 97c488a3740492d804ffce6ad948f19bd21b7544 (qtdeclarative/5.14)

    Description

      QtWebEngine application crashes frequently on windows 10 with access violation in what looks like a 3rd party driver. Crashe stack attched.

      It looks like  ANGLE does not check for a “lost device” scenario, (https://docs.microsoft.com/en-us/windows/uwp/gaming/handling-device-lost-scenarios)

      When handling of lost device is tested using dxcap -forcetdr on command prompt the application responds in one of 3 ways:

      • Goes into an unrecoverable state in which all of the UI is pure white or pure black
      • Shows a dialog that says “Failed to create OpenGL context for format QSurfaceFormat(…)” and then crashes.
      • The application immediately crashes (stack is in attachment forcetdr-crash.txt)

      When a simple pyside2 app is tested with dxcap it immediately crashes.

       

      PS: More attachments will be uploaded soon.

       

      Attachments

        1. 0001-WIP-Limited-workaround-for-device-loss.patch
          5 kB
        2. crash-1 (2).txt
          1 kB
        3. crash-2 (2).txt
          1 kB
        4. dxcap-output-machine1 (1).txt
          4 kB
        5. dxcap-output-machine2 (1).txt
          4 kB
        6. forcetdr-crash (1).txt
          3 kB
        7. image-2020-04-22-15-55-47-118.png
          image-2020-04-22-15-55-47-118.png
          139 kB
        8. qtdiag-output-machine1.txt
          7 kB
        9. qtdiag-output-machine2.txt
          6 kB
        10. screenshot-1.png
          screenshot-1.png
          81 kB
        11. simple-webengine-app.py
          0.2 kB

        Issue Links

          Activity

            People

              owolff Oliver Wolff
              irfan.omair@digia.com Irfan Omair
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: