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

Loader with View3D crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.0.2, 6.1.0 Alpha, 6.1
    • 6.0.0
    • Quick: 3D
    • None
    • Windows
    • 3
    • c267ddd93aff2fbfcb490086681f89aa56e1853e (qt/qtquick3d/dev) 326f5b4305de21cf17252f9dee6cc5bd359deaa2 (qt/qtquick3d/6.1) 6e2bdb9cf27e4d8cff30370044d4379c360bfab7 (qt/qtquick3d/6.0)
    • Qt Quick 3D - 2021 - Weeks 5/6

    Description

      Check the attached example. Click the window couple times and app crashes. This is a simple example, bug appears also with Quick3D particles testbed.

      So when Loader Item contains View3D which has some animation, unloading Loader causes a crash.

      Debug output:
      1 std::_Atomic_storage<int,4>::load atomic 604 0x7fffe92976ff
      2 QAtomicOps<int>::loadRelaxed<int> qatomic_cxx11.h 238 0x7fffe929bcfa
      3 QBasicAtomicInteger<int>::loadRelaxed qbasicatomic.h 90 0x7fffe92ba3eb
      4 QArrayData::needsDetach qarraydata.h 107 0x7fffe92f7e7b
      5 QArrayDataPointer<QSSGRenderGraphObject *>::needsDetach qarraydatapointer.h 222 0x7fffe93ccf26
      6 QArrayDataPointer<QSSGRenderGraphObject *>::detach qarraydatapointer.h 165 0x7fffe93cac1d
      7 QList<QSSGRenderGraphObject *>::detach qlist.h 351 0x7fffe93cadd4
      8 QList<QSSGRenderGraphObject *>::begin qlist.h 537 0x7fffe93c96fd
      9 QSSGRenderer::cleanupResources qssgrenderer.cpp 124 0x7fffe93b4b97
      10 QSSGRenderContextInterface::cleanupResources qssgrendercontextcore.cpp 161 0x7fffe92d4798
      11 QQuick3DSceneRenderer::cleanupResources qquick3dscenerenderer.cpp 577 0x7ffffba58dde
      12 <lambda_8e06d9bb3b968ccdd6f000303f89bbed>::operator() qquick3dscenerenderer.cpp 256 0x7ffffba6311b
      13 QtPrivate::FunctorCall<QtPrivate::IndexesList<>,QtPrivate::List<>,void,<lambda_8e06d9bb3b968ccdd6f000303f89bbed>>::call qobjectdefs_impl.h 146 0x7ffffba644cd
      14 QtPrivate::Functor<<lambda_8e06d9bb3b968ccdd6f000303f89bbed>,0>::call<QtPrivate::List<>,void> qobjectdefs_impl.h 257 0x7ffffba5f7c7
      15 QtPrivate::QFunctorSlotObject<<lambda_8e06d9bb3b968ccdd6f000303f89bbed>,0,QtPrivate::List<>,void>::impl qobjectdefs_impl.h 426 0x7ffffba65051
      16 QtPrivate::QSlotObjectBase::call qobjectdefs_impl.h 375 0x7fffea97a4f7
      17 doActivate<0> qobject.cpp 3825 0x7fffeaf8fb97
      18 QMetaObject::activate qobject.cpp 3886 0x7fffeaf78fac
      19 QQuickWindow::afterFrameEnd moc_qquickwindow.cpp 659 0x7fffe994a7a9
      20 QSGRenderThread::syncAndRender qsgthreadedrenderloop.cpp 832 0x7fffe9cea3c7
      ... <More>

      Attachments

        Activity

          People

            stromme Christian
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: