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

Apps crash on shader compile on INTEGRITY

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.0 RC, 6.5.0, 6.6.0
    • 6.5.0 Beta1
    • Qt Shader Tools
    • None
    • Compiler 2022.1.4 INTEGRITY 19.0.13
    • Integrity
    • a66fe95a7 (dev), 0ef453a03 (6.5)

    Description

      QtQuick3D examples crash with the following stack trace:

      0    qglslang::TPoolAllocator::~TPoolAllocator(struct qglslang::TPoolAllocator *const this=0x527b630)    [/home/kimmo/work/Qt65_integrity_testing/qt5/qtshadertools/src/3rdparty/glslang/glslang/MachineIndependent/PoolAlloc.cpp:120,3]
       1    TShHandleBase::~TShHandleBase(struct TShHandleBase *const this=0x2977b158 << Dead >>)    [/home/kimmo/work/Qt65_integrity_testing/qt5/qtshadertools/src/3rdparty/glslang/glslang/Include/ShHandle.h:60,1]
       2    TCompiler::~TCompiler(struct TCompiler *const this=0x2977b158 << Dead >>)    [/home/kimmo/work/Qt65_integrity_testing/qt5/qtshadertools/src/3rdparty/glslang/glslang/Include/ShHandle.h:92,1]
       3    TQCOM_ASTPatcher::~TQCOM_ASTPatcher()(0, 0x29afc540, 0, 0x269cbc80, 0, 0x1)
       4    ShCompile(0, 0x269cbc80, 0, 0x29678420, 0, 0x29ad7780)
       5    ESXCompiler::parseShader(QGLC_SRCSHADER *, bool)(0, 0x269cbc80, 0, 0x5c71120, 0, 0x29ad7780)
       6    CompilerContext::CompileToIRShader(QGLC_SRCSHADER *, QGLC_COMPILETOIR_RESULT *)(0, 0x269cbc80, 0, 0x2977c318, 0, 0x5c71120)
       7    QGLCCompileToIRShader(void *, QGLC_SRCSHADER *, QGLC_COMPILETOIR_RESULT *)(0, 0x5c24ce0, 0, 0x5ba9ea0, 0, 0x29ad7780)
       8    EsxShaderCompiler::CompileShader(const EsxContext *, const EsxShader *, EsxInfoLog *)(0, 0x5ba9ea0, 0, 0x269ccc20, 0, 0)
       9    EsxShader::Compile(EsxContext *, int)(0, 0x269ccc20, 0, 0x269d8c40, 0, 0x5ba9ea0)
       10    EsxContext::GlCompileShader(unsigned int)(0, 0x27c9c3d0, 0, 0x2, 0, 0x29af4220)
       11    EsxGlApi::GlCompileShader(EsxDispatch *, unsigned int)(0, 0x2977c4c0, 0, 0x2d30d4c, 0, 0x2)
       12    EsxGlApiParamValidate::GlCompileShader(EsxDispatch *, unsigned int)(0, 0x2, 0, 0x2, 0, 0x2977c4e0)
       13    glCompileShader(0, 0x29662ef8, 0, 0x269cbc80, 0, 0x2977c500)
       14    QOpenGLFunctions::glCompileShader(struct QOpenGLFunctions *const this=0x269cbc80, unsigned int shader=695710040)    [/home/kimmo/work/Qt65_integrity_testing/qt5/qtbase/src/gui/opengl/qopenglfunctions.h:1223,6]
       15    QRhiGles2::compileShader(struct QRhiGles2 *const this=0x2965e020, unsigned int program=695710472, const struct QRhiShaderStage shaderStage={...}, struct QShaderVersion *shaderVersion=0)    [/home/kimmo/work/Qt65_integrity_testing/qt5/qtbase/src/gui/rhi/qrhigles2.cpp:4473,15]
       16    QGles2GraphicsPipeline::create(struct QGles2GraphicsPipeline *const this=0x29af4060)    [/home/kimmo/work/Qt65_integrity_testing/qt5/qtbase/src/gui/rhi/qrhigles2.cpp:5703,70]
       17    QSGBatchRenderer::Renderer::ensurePipelineState(struct QSGBatchRenderer::Renderer *const this=0x29ad92c0, struct QSGBatchRenderer::Element *e=0x29ade760, const struct QSGBatchRenderer::ShaderManagerShader *sms=0x29ae7360, bool depthPostPass=false)    [/home/kimmo/work/Qt65_integrity_testing/qt5/qtdeclarative/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:2659,90]
       18    QSGBatchRenderer::Renderer::prepareRenderMergedBatch(struct QSGBatchRenderer::Renderer *const this=0x29ad92c0, struct QSGBatchRenderer::Batch *batch=0x29678120, struct QSGBatchRenderer::Renderer::PreparedRenderBatch *renderBatch=0x2977f308)    [/home/kimmo/work/Qt65_integrity_testing/qt5/qtdeclarative/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:3143,108]
       19    QSGBatchRenderer::Renderer::prepareRenderPass(struct QSGBatchRenderer::Renderer *const this=0x29ad92c0, struct QSGBatchRenderer::Renderer::RenderPassContext *ctx=0x29ad9608)    [/home/kimmo/work/Qt65_integrity_testing/qt5/qtdeclarative/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:3728,190]

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            kiollila Kimmo Ollila
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes