Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-3106

QWebEngineView crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.9.0
    • PySide
    • None
    • Windows

    Description

      Minimal example:

      import sys
      from PySide6.QtWidgets import QApplication, QMainWindow
      from PySide6.QtWebEngineWidgets import QWebEngineView
      
      
      class MainWindow(QMainWindow):
          def __init__(self):
              super().__init__()
              self.web_engine_view = QWebEngineView()
              self.setCentralWidget(self.web_engine_view)
      
      
      if __name__ == "__main__":
          app = QApplication(sys.argv)
          window = MainWindow()
          window.show()
          sys.exit(app.exec())
      
      
      [11940:26384:0521/165056.955:ERROR:shared_image_factory.cc(880)] Could not find SharedImageBackingFactory with params: usage: Gles2Read|DisplayRead|DisplayWrite|Scanout, format: RGBA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [11940:26384:0521/165056.955:ERROR:native_skia_output_device.cpp(253)] CreateSharedImage failed.
      [11940:26384:0521/165056.955:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
      [11940:26384:0521/165056.955:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
      [11940:26384:0521/165056.960:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
      [11940:26384:0521/165056.960:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
      [11940:26384:0521/165056.962:ERROR:shared_image_factory.cc(880)] Could not find SharedImageBackingFactory with params: usage: Gles2Read|DisplayRead|DisplayWrite|Scanout, format: RGBA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [11940:26384:0521/165056.962:ERROR:native_skia_output_device.cpp(253)] CreateSharedImage failed.
      [11940:26384:0521/165056.962:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
      [11940:26384:0521/165056.962:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
      [11940:26384:0521/165056.967:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
      [11940:26384:0521/165056.967:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
      
      Process finished with exit code -1073740791 (0xC0000409)
      
      
      
      System:
      Operating System: Windows 10 Enterprise 64-bit (10.0, Build 19045)
      Processor:        11th Gen Intel(R) Core(TM) i7-11850H
      GPU Driver:       Intel(R) UHD Graphics 32.0.101.6078
      
      
      

      6.8.3 works fine.

      Attachments

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              ad_ ad_
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes