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

Crash when a slide change occurs in certain presentation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Fixed
    • Affects Version/s: Qt 3D Studio 2.8
    • Fix Version/s: Qt 3D Studio 2.8
    • Component/s: OpenGL Runtime
    • Labels:
      None
    • Commits:
      c8e20266de6ef817ab60d9393d94ed6b6713d28d, d0e28c072e402fa1e7dcac639cbc96a8caf2f0d5

      Description

      If we are in a loop trying to find an image that does not exist and slide change occurs, we end up in a crash. Stack trace:

      1   ??                                                                                                                                                                                                                                                                                                                                                                                                        0x7ffff1fb04c9 
      2   QOpenGLFunctions::glGenTextures                                                                                                                                                                                                                                                                                                                                        qopenglfunctions.h            833  0x7fffd0a77150 
      3   qt3ds::render::NVRenderBackendGLBase::CreateTexture                                                                                                                                                                                                                                                                                                                    Qt3DSRenderBackendGLBase.cpp  896  0x7fffd0a71197 
      4   qt3ds::render::NVRenderTextureBase::NVRenderTextureBase                                                                                                                                                                                                                                                                                                                Qt3DSRenderTextureBase.cpp    62   0x7fffd0a60dae 
      5   qt3ds::render::NVRenderTexture2D::NVRenderTexture2D                                                                                                                                                                                                                                                                                                                    Qt3DSRenderTexture2D.cpp      47   0x7fffd0a5f34c 
      6   qt3ds::render::NVRenderTexture2D::Create                                                                                                                                                                                                                                                                                                                               Qt3DSRenderTexture2D.cpp      265  0x7fffd0a6034f 
      7   qt3ds::render::NVRenderContextImpl::CreateTexture2D                                                                                                                                                                                                                                                                                                                    Qt3DSRenderContext.cpp        434  0x7fffd0a341d4 
      8   (anonymous namespace)::SBufferManager::LoadRenderImage                                                                                                                                                                                                                                                                                                                 Qt3DSRenderBufferManager.cpp  680  0x7fffd08c0b44 
      9   (anonymous namespace)::SBufferManager::loadTextureImage                                                                                                                                                                                                                                                                                                                Qt3DSRenderBufferManager.cpp  461  0x7fffd08bf1c4 
      10  (anonymous namespace)::SBufferManager::CreateReloadableImage                                                                                                                                                                                                                                                                                                           Qt3DSRenderBufferManager.cpp  572  0x7fffd08bfe58 
      11  (anonymous namespace)::Qt3DSRenderScene::<lambda(qt3ds::render::SImage *, bool)>::operator()(qt3ds::render::SImage *, bool) const                                                                                                                                                                                                                                      Qt3DSRenderRuntimeBinding.cpp 721  0x7fffd078d4a5 
      12  (anonymous namespace)::Qt3DSRenderScene::forAllObjects<qt3ds::render::SImage, (anonymous namespace)::Qt3DSRenderScene::PostLoadStep()::<lambda(qt3ds::render::SImage *, bool)>>(qt3ds::foundation::nvvector<qt3ds::render::SGraphObject *> &, qt3ds::render::GraphObjectTypes::Enum, (anonymous namespace)::Qt3DSRenderScene::<lambda(qt3ds::render::SImage *, bool)>) Qt3DSRenderRuntimeBinding.cpp 706  0x7fffd0794484 
      13  (anonymous namespace)::Qt3DSRenderScene::PostLoadStep                                                                                                                                                                                                                                                                                                                  Qt3DSRenderRuntimeBinding.cpp 714  0x7fffd078d5b9 
      14  (anonymous namespace)::Qt3DSRenderSceneManager::LoadScene                                                                                                                                                                                                                                                                                                              Qt3DSRenderRuntimeBinding.cpp 1007 0x7fffd078f4a5 
      15  SApp::LoadUIP                                                                                                                                                                                                                                                                                                                                                          Qt3DSApplication.cpp          1380 0x7fffd07d6421 
      16  AssetHandlers::handlePresentation                                                                                                                                                                                                                                                                                                                                      Qt3DSApplication.cpp          2278 0x7fffd07cd64f 
      17  SApp::loadComponentSlideResources                                                                                                                                                                                                                                                                                                                                      Qt3DSApplication.cpp          1289 0x7fffd07d5765 
      18  SApp::ComponentSlideEntered                                                                                                                                                                                                                                                                                                                                            Qt3DSApplication.cpp          1813 0x7fffd07d9a6f 
      19  Q3DStudio::CComponentManager::GotoSlideIndex                                                                                                                                                                                                                                                                                                                           Qt3DSComponentManager.cpp     201  0x7fffd07eeacb 
      20  Q3DStudio::CComponentManager::PlaythroughToSlide                                                                                                                                                                                                                                                                                                                       Qt3DSComponentManager.cpp     322  0x7fffd07ef752 
      ... <More>                                                                                                                                                                                                                                                                                                                                                                                                                   
       

        Attachments

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

          Activity

            People

            Assignee:
            anmaatta Antti Määttä
            Reporter:
            tokorpip Tomi Korpipää
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes