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

QWebEngineView->render() throws nullptr exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.15
    • WebEngine
    • None
    • Windows 11 21H2, Windows 10, cmake version 3.22.22040401-MSVC_2, CLion 2022.1.3 (IDE), Visual Studio 2022 (IDE)
    • Windows

    Description

      Having a Qt 5.15.5 that was built for x86, Windows, QWebEngineView and QGraphicsScene (used for off-screen rendering)
      Rendering a QWebEngineView by render() method, and everything works-as-designed.
      But, in some undefined scenarios, it throws some nullpointer exception within QOpenGLFunctions::glReadPixels: a pixels is nullptr.
      I think that's may be a some strange bug that should be fixed, passing some screenshots of exception points
      Point first: calling QGraphicsScene render() method

       

      And then the point where exception happens

       

      There's a full traceback:

       

      And a proof that pixels pointer is nullptr

       

      An important note: the problem occurs not all the time, but maybe once in 35-40 minutes, for sure.

      Attachments

        Issue Links

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

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              northn Andrew Norton
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes