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

crash at the startup of the transparency-qml manual test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 5.7.1
    • 5.7.0 RC
    • Qt3D
    • None
    • Windows 7, desktop OpenGL build
    • b816bbac412811ad9bd1999640509883a3bdf6d7

      There is a crash at the startup of the transparency-qml manual test.

      ERROR: 0:1: '' : syntax error: #version is mandatory and should be set before any other token
      ERROR: 0:3: '' : syntax error: #version is mandatory and should be set before any other token
      ERROR: 0:? : 'pre-mature EOF' : syntax error syntax error
      
      
      QOpenGLShader::link: Link called without any attached shader objects.
      
      Failed to link shader program: Link called without any attached shader objects.
      

      The application failes to load a shader after which the program crashes with following stack trace:

      1  QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData>>::data          qscopedpointer.h         141  0xa4e9fa   
      2  qGetPtrHelper<QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData>>> qglobal.h                980  0xdef3cb   
      3  QOpenGLShaderProgram::d_func                                                  qopenglshaderprogram.h   304  0xdf1e23   
      4  QOpenGLShaderProgram::programId                                               qopenglshaderprogram.cpp 1136 0xe3d231   
      5  Qt3DRender::Render::GraphicsContext::activateShader                           graphicscontext.cpp      463  0x1ae8863  
      6  Qt3DRender::Render::Renderer::executeCommands                                 renderer.cpp             1046 0x1a3b530  
      7  Qt3DRender::Render::Renderer::submitRenderViews                               renderer.cpp             782  0x1a3c171  
      8  Qt3DRender::Render::Renderer::doRender                                        renderer.cpp             544  0x1a3a97f  
      9  Qt3DRender::Render::Renderer::render                                          renderer.cpp             510  0x1a3a8a3  
      10 Qt3DRender::Render::RenderThread::run                                         renderthread.cpp         100  0x1a37a4b  
      11 QThreadPrivate::start                                                         qthread_win.cpp          393  0x6689be05 
      12 beginthreadex                                                                 MSVCR120D                     0xf273651  
      13 endthreadex                                                                   MSVCR120D                     0xf273861  
      14 BaseThreadInitThunk                                                           kernel32                      0x7576338a 
      15 RtlInitializeExceptionChain                                                   ntdll32                       0x77d99902 
      16 RtlInitializeExceptionChain                                                   ntdll32                       0x77d998d5 
      
      

      Looks like the Qt3D tries to use ShaderProgram which failed to load and crashes.

        For Gerrit Dashboard: QTBUG-53817
        # Subject Branch Project Status CR V

            seanharmer Sean Harmer
            anmaatta Antti Määttä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes