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

WebEngine may fail to create context for a view if many are open already

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.6.0, 5.6.1, 5.7.0
    • WebEngine
    • Windows 7 & MSVC 2013 with 32bit application

    Description

      Should be reproducible on at least some machines with WebEngine Demo Browser example. Attached qtdiag output is from a machine where this happens at around 11 tabs.

      To reproduce:

      • Run WebEngine Demo Browser example
      • Open a lot of websites

      What could happen:

      • page is not rendered, but seems to work otherwise and this is printed to application output:
        ARB::createContext: wglCreateContextAttribsARB() failed (GL error code: 0x500)
        for format: QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24,
        redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1,
        stencilBufferSize 8, samples 0, swapBehavior 0, swapInterval 1, profile 0),
        shared context: 0x20001 ()
        
        GDI::createContext: wglShareLists() failed. ()
        
        ARB::createContext: wglCreateContextAttribsARB() failed (GL error code: 0x0)
        for format: QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24,
        redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1,
        stencilBufferSize 8, samples 0, swapBehavior 0, swapInterval 1, profile 0),
        shared context: 0x20001 ()
        
        GDI::createContext: wglShareLists() failed. ()
        

      Attachments

        1. cic1988_nanobrowser_taskmanager_5.7.0.png
          123 kB
          cic1988
        2. cic1988_qt_opengl_not_set_5.7.0.txt
          35 kB
          cic1988
        3. cic1988_qt_opengl=angle_5.7.0.txt
          18 kB
          cic1988
        4. cic1988_qtdiag_5.7.0.txt
          6 kB
          cic1988
        5. cic1988_simplebrowser_taskmanager_5.7.0.png
          96 kB
          cic1988
        6. cic1988_stack_qt_opengl=angle_5.7.0.txt
          2 kB
          cic1988
        7. QT_OPENGL=_output.txt
          60 kB
          lankin
        8. QT_OPENGL=angle_stack trace.txt
          1 kB
          lankin
        9. qtdiaglog.txt
          6 kB
          Joni Poikelin
        10. QtWebengine Output.txt
          67 kB
          lankin
        11. QWebEngineView Black Window.png
          124 kB
          lankin
        12. system envrionment.png
          3 kB
          lankin

        Issue Links

          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
              poikelin Joni Poikelin
              Votes:
              5 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes