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

Scene3DView crashes on window resize

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Component/s: Qt3D
    • Labels:
      None
    • Environment:
      Debian testing, Qt 5.15.2
    • Platform/s:
      Linux/X11

      Description

      Steps to reproduce:
      1) Clone the most recent examples from the Qt3D 5.15 branch.
      2) Build the Scene3DView example against 5.15.2 (I used my distro's binaries).
      3) Run the example and resize the window.

      Outcome:
      QSGRendererThread segfaults with the following (partial) stack trace:

      1  ??                                                                                0x7fff74969850 
      2  Qt3DRender::Scene3DSGMaterialShader::updateState scene3dsgmaterialshader.cpp 176  0x7ffff01a2221 
      3  QSGBatchRenderer::Renderer::renderMergedBatch    qsgbatchrenderer.cpp        3097 0x7ffff79ab050 
      4  QSGBatchRenderer::Renderer::renderBatches        qsgbatchrenderer.cpp        4066 0x7ffff79b040d 
      5  QSGBatchRenderer::Renderer::render               qsgbatchrenderer.cpp        4363 0x7ffff79b2219 
      6  QSGRenderer::renderScene                         qsgrenderer.cpp             264  0x7ffff7999f2d 
      7  QSGRenderer::renderScene                         qsgrenderer.cpp             212  0x7ffff7999d57 
      8  QSGDefaultRenderContext::renderNextFrame         qsgdefaultrendercontext.cpp 228  0x7ffff7a2cecc 
      9  QQuickWindowPrivate::renderSceneGraph            qquickwindow.cpp            617  0x7ffff7ab64e8 
      10 QSGRenderThread::syncAndRender                   qsgthreadedrenderloop.cpp   837  0x7ffff7a4010c 
      11 QSGRenderThread::run                             qsgthreadedrenderloop.cpp   1043 0x7ffff7a4131a 
      12 QThreadPrivate::start                            qthread_unix.cpp            329  0x7ffff67a92fa 
      13 start_thread                                     pthread_create.c            477  0x7ffff57aeea7 
      14 clone                                            clone.S                     95   0x7ffff65e9def 
      

      Edit: Updated the stack trace (with a build from git).

        Attachments

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

          Activity

            People

            Assignee:
            seanharmer Sean Harmer
            Reporter:
            kshegunov Konstantin Shegunov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes