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

crash in Q3DSStudio3DRenderer::invalidateItem()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • Qt 3D Studio 2.3
    • Runtime 2.x
    • None
    • Windows

    Description

      While playing around with the 3d runtime inside the QtDesignStudio with an open preview it crashes with

      >	Qt5Quick.dll!QQuickItem::window() Line 2917	C++
       	q3dsstudio3dplugin.dll!Q3DSStudio3DRenderer::renderOffscreen() Line 144	C++
       	[External Code]	
       	[Frames below may be incorrect and/or missing, no symbols loaded for Qt5Core.dll]	Unknown
       	[Inline Frame] Qt5Quick.dll!QQuickWindow::beforeRendering() Line 526	C++
       	Qt5Quick.dll!QQuickWindowPrivate::renderSceneGraph(const QSize & size) Line 461	C++
       	Qt5Quick.dll!QSGRenderThread::syncAndRender() Line 647	C++
       	[External Code]	
       	Qt5Quick.dll!QSGRenderThread::run() Line 734	C++
      

      code in q3dsstudio3renderer.cpp:

      void Q3DSStudio3DRenderer::renderOffscreen()
      {
          // m_item may be destroyed already
          QMutexLocker lock(&m_itemInvalidLock);
          if (m_itemInvalid)
              return;
      
          QQuickWindow *w = m_item->window();
          if (!w)
              return;
      

      so maybe it is just a check if m_item is valid or maybe set m_itemInvalid if item was destroyed not sure

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            tjenssen Tim Jenssen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes