Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-4672

Puppet crashes sometimes when properties of 2D item embedded in 3D scene are changed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • QDS 2.2 Beta2
    • QDS 2.2 Beta1
    • 3D View
    • None
    • Qt Quick 3D - 2021 Week 31/32, Qt Quick 3D - 2021 Week 33/34

    Description

      Puppet crashes sometimes when properties of 2D item embedded in 3D scene are changed.

      To repro: Open the attached project (q8.zip) and change the text2D element font size in the property panel. After a few changes, the puppet will stop responding and the following is printed on trace:

      [15116] "Editor" Puppet: "Warning: Failed to create readback staging texture: Error 0x887a0005: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action. (C:\\dev\\qt\\qt6\\qtbase\\src\\gui
      rhi
      qrhid3d11.cpp:1618, void __cdecl QRhiD3D11::enqueueResourceUpdates(class QRhiCommandBuffer *,class QRhiResourceUpdateBatch *))\r"

      If you then move mouse cursor over the 3D editor, puppet will crash with following stack trace:

                                                                                                                                                                                                                         
                                                                                                                                                                                                                        
      1   QRhiResourceUpdateBatch::updateDynamicBuffer                                                                                                         qrhi.cpp                             5163 0x7ffa8ba6e242 
      2   QSGBatchRenderer::Renderer::unmap                                                                                                                    qsgbatchrenderer.cpp                 1084 0x7ffa820a99e8 
      3   QSGBatchRenderer::Renderer::uploadBatch                                                                                                              qsgbatchrenderer.cpp                 2255 0x7ffa820ad6eb 
      4   QSGBatchRenderer::Renderer::prepareRenderPass                                                                                                        qsgbatchrenderer.cpp                 3559 0x7ffa820a82a2 
      5   QSGBatchRenderer::Renderer::render                                                                                                                   qsgbatchrenderer.cpp                 3409 0x7ffa820a6b43 
      6   QSGRenderer::renderScene                                                                                                                             qsgrenderer.cpp                      177  0x7ffa821060a5 
      7   QSGDefaultRenderContext::renderNextRhiFrame                                                                                                          qsgdefaultrendercontext.cpp          212  0x7ffa8215cccf 
      8   QQuickWindowPrivate::renderSceneGraph                                                                                                                qquickwindow.cpp                     679  0x7ffa82033c54 
      9   QQuickRenderControl::render                                                                                                                          qquickrendercontrol.cpp              438  0x7ffa81f2bb79 
      10  QmlDesigner::Qt5NodeInstanceServer::grabRenderControl                                                                                                qt5nodeinstanceserver.cpp            286  0x7ff799d88e85 
      11  QmlDesigner::Qt5InformationNodeInstanceServer::doRender3DEditView                                                                                    qt5informationnodeinstanceserver.cpp 806  0x7ff799d43967 
      12  QtPrivate::FunctorCall<QtPrivate::IndexesList<>,QtPrivate::List<>,void,void (__cdecl QmlDesigner::Qt5InformationNodeInstanceServer:: *)(void)>::call qobjectdefs_impl.h                   152  0x7ff799d6f43d 
      13  QtPrivate::FunctionPointer<void (__cdecl QmlDesigner::Qt5InformationNodeInstanceServer:: *)(void)>::call<QtPrivate::List<>,void>                     qobjectdefs_impl.h                   186  0x7ff799d54a28 
      14  QtPrivate::QSlotObject<void (__cdecl QmlDesigner::Qt5InformationNodeInstanceServer:: *)(void),QtPrivate::List<>,void>::impl                          qobjectdefs_impl.h                   396  0x7ff799d77512 
      15  QtPrivate::QSlotObjectBase::call                                                                                                                     qobjectdefs_impl.h                   375  0x7ffaa58a7323 
      16  doActivate<0>                                                                                                                                        qobject.cpp                          3849 0x7ffaa5946af9 
      17  QMetaObject::activate                                                                                                                                qobject.cpp                          3910 0x7ffaa592fbf8 
      18  QTimer::timeout                                                                                                                                      moc_qtimer.cpp                       215  0x7ffaa5973135 
      19  QTimer::timerEvent                                                                                                                                   qtimer.cpp                           297  0x7ffaa59731b5 
      20  QObject::event                                                                                                                                       qobject.cpp                          1310 0x7ffaa593150f 
      ... <More>                                                                                                                                                                                                        
      

      Attachments

        1. q8.zip
          4 kB
        2. QDS-4672.zip
          2 kB

        Issue Links

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

          Activity

            People

              anmaatta Antti Määttä
              e0348803 Miikka Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes