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

RenderViewInitializerJob is run after surface is destroyed

    XMLWordPrintable

Details

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

    Description

      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?

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes