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

RenderViewInitializerJob is run after surface is destroyed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.11.0 Beta 4
    • 5.11
    • Qt3D
    • None
    • 72c8e9930f60402d49c685bd86a6c83125fe7d52

      We only lock the surface in Renderer::doRender(), but we also rely on the surface to be valid in RenderViewInitializerJob, where we end up calling RenderSurfaceSelector::renderTargetSize() with a surface that may have been destroyed before we get there (this typically happens at shutdown).

      Should we try to lock the surface until all jobs are finished running or can we somehow collect the necessary information before the jobs are run?

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

            dragly Svenn-Arne Dragly
            dragly Svenn-Arne Dragly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes