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

View3D with no size specified crashes with OpenGL only

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.1
    • Fix Version/s: 6.1.0 RC
    • Component/s: Quick: 3D
    • Labels:
      None
    • Commits:
      2713a7a9f8292e4c340fb9b5ea0decfc65f2c6a7 (qt/qtquick3d/dev) 3ab266ec929688c1c437dc2d1cdf190b71300096 (qt/qtquick3d/6.1)
    • Sprint:
      Qt Quick 3D - 2021 Week 11/12

      Description

      Not setting a width or height or anchors for a View3D can lead to a crash, but only when running with OpenGL. Whereas Vulkan and D3D do not crash.

      New Lancelot test showcasing the problem is at https://codereview.qt-project.org/c/qt/qtquick3d/+/339071

       	Qt6Gui.dll!QRhiGles2::enqueueResourceUpdates(QRhiCommandBuffer * cb, QRhiResourceUpdateBatch * resourceUpdates) Line 1950	C++
      >	Qt6Quick3D.dll!QQuick3DSceneRenderer::renderToRhiTexture(QQuickWindow * qw) Line 381	C++
       	Qt6Quick3D.dll!SGFramebufferObjectNode::render() Line 118	C++
       	Qt6Quick.dll!QSGRenderer::preprocess() Line 262	C++
       	Qt6Quick.dll!QSGRenderer::renderScene() Line 176	C++
       	[Inline Frame] Qt6Quick.dll!QQuickWindow::afterRendering() Line 580	C++
       	Qt6Quick.dll!QQuickWindowPrivate::renderSceneGraph(const QSize & size, const QSize & surfaceSize) Line 683	C++
       	Qt6Quick.dll!QSGRenderThread::syncAndRender() Line 788	C++
       	Qt6Quick.dll!QSGRenderThread::run() Line 991	C++
       	Qt6Core.dll!QThreadPrivate::start(void * arg) Line 329	C++
      

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes