Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-2561

Crash in layersinquick example in Qt 3D Runtime

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • Qt 3D Studio 2.2 BETA1
    • Qt 3D Studio 2.2 BETA1
    • Runtime 2.x
    • None
    • Windows
    • dbc2b32f199870c58bda91ece9860ea6d1b5a819

    Description

      The layersinquick example crashes on startup with the following stack trace:

      1  QVariant::cmp                                                                                       qvariant.cpp               4022 0x7ffaaabfeb1e 
      2  QVariant::operator!=                                                                                qvariant.h                 457  0x7ffaaa7731ad 
      3  Qt3DRender::QParameter::setValue                                                                    qparameter.cpp             289  0x7ffaa98c6c56 
      4  Q3DSSceneManager::updateViewportRects                                                               q3dsscenemanager.cpp       1185 0x7ffaacf2f4d4 
      5  Q3DSSceneManager::updateSizes                                                                       q3dsscenemanager.cpp       550  0x7ffaacf2bf32 
      6  Q3DSEngine::resize                                                                                  q3dsengine.cpp             1335 0x7ffaacef99e8 
      7  Q3DSStudio3DItem::geometryChanged                                                                   q3dsstudio3ditem.cpp       732  0x7ffad985a9cd 
      8  QQuickItem::setSize                                                                                 qquickitem.cpp             6983 0x7ffaad98a2ea 
      9  QQuickAnchorsPrivate::setItemSize                                                                   qquickanchors.cpp          436  0x7ffaad97de3e 
      10 QQuickAnchorsPrivate::fillChanged                                                                   qquickanchors.cpp          214  0x7ffaad98006d 
      11 QQuickAnchorsPrivate::itemGeometryChanged                                                           qquickanchors.cpp          501  0x7ffaad97e182 
      12 QQuickItem::geometryChanged                                                                         qquickitem.cpp             3800 0x7ffaad990468 
      13 QQuickItem::setSize                                                                                 qquickitem.cpp             6983 0x7ffaad98a2ea 
      14 QQuickViewPrivate::updateSize                                                                       qquickview.cpp             427  0x7ffaadb167b0 
      15 QQuickView::resizeEvent                                                                             qquickview.cpp             590  0x7ffaadb15d45 
      16 QWindow::event                                                                                      qwindow.cpp                2268 0x7ffaac09075b 
      17 QQuickWindow::event                                                                                 qquickwindow.cpp           1671 0x7ffaad9cb790 
      18 QCoreApplicationPrivate::notify_helper                                                              qcoreapplication.cpp       1221 0x7ffaaab802ae 
      19 doNotify                                                                                            qcoreapplication.cpp       1151 0x7ffaaab81b18 
      20 QCoreApplication::notify                                                                            qcoreapplication.cpp       1138 0x7ffaaab7d881 
      21 QGuiApplication::notify                                                                             qguiapplication.cpp        1791 0x7ffaac06ebf4 
      22 QCoreApplication::notifyInternal2                                                                   qcoreapplication.cpp       1061 0x7ffaaab7f2f6 
      23 QCoreApplication::sendSpontaneousEvent                                                              qcoreapplication.cpp       1464 0x7ffaaab7f19b 
      24 QGuiApplicationPrivate::processGeometryChangeEvent                                                  qguiapplication.cpp        2422 0x7ffaac073b63 
      25 QGuiApplicationPrivate::processWindowSystemEvent                                                    qguiapplication.cpp        1849 0x7ffaac0745cb 
      26 QWindowSystemInterfacePrivate::handleWindowSystemEvent<QWindowSystemInterface::SynchronousDelivery> qwindowsysteminterface.cpp 106  0x7ffaac043acc 
      27 QWindowSystemInterface::handleGeometryChange<QWindowSystemInterface::SynchronousDelivery>           qwindowsysteminterface.cpp 309  0x7ffaac045c19 
      28 QWindowsWindow::initialize                                                                          qwindowswindow.cpp         1261 0x7ffaca2d8568 
      29 QWindowPrivate::create                                                                              qwindow.cpp                527  0x7ffaac0922e7 
      30 QWindow::create                                                                                     qwindow.cpp                640  0x7ffaac08cab7 
      31 QWindowPrivate::setVisible                                                                          qwindow.cpp                355  0x7ffaac091bea 
      32 QWindow::setVisible                                                                                 qwindow.cpp                613  0x7ffaac08f391 
      33 QWindow::showNormal                                                                                 qwindow.cpp                2135 0x7ffaac08f567 
      34 QWindow::show                                                                                       qwindow.cpp                2063 0x7ffaac08f411 
      35 main                                                                                                main.cpp                   74   0x7ff7fb202903 
      36 WinMain                                                                                             qtmain_win.cpp             104  0x7ff7fb205abd 
      37 invoke_main                                                                                         exe_common.inl             107  0x7ff7fb20430d 
      38 __scrt_common_main_seh                                                                              exe_common.inl             283  0x7ff7fb204207 
      39 __scrt_common_main                                                                                  exe_common.inl             326  0x7ff7fb2040ce 
      40 WinMainCRTStartup                                                                                   exe_winmain.cpp            17   0x7ff7fb204399 
      41 BaseThreadInitThunk                                                                                 KERNEL32                        0x7ffb05af3034 
      42 RtlUserThreadStart                                                                                  ntdll                           0x7ffb07d01461 
      

      The QParameter* in question (m_stereoMode in the Q3DSSceneManager) is a dangling pointer.

      May be related to 3db4c4b180b3afb105f6f531f2f070adf0c2ec64 since the call was introduced there.

      Attachments

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

        Activity

          People

            kagro Kaj Grönholm
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes