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

Apps crash on shader compile on INTEGRITY (6.7 beta 1)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.7.0 Beta2, 6.7.0 RC, 6.8.0 FF
    • 6.7.0 Beta1
    • Qt Shader Tools
    • None
    • Compiler 2022.1.4, 2023.1.4 INTEGRITY 19.0.13, 19.0.14
    • Integrity
    • f34061b35 (dev), a4af0dff2 (6.7)

    Description

      QtQuick3D examples crash with the following stack trace:

       0    QtShaderTools::glslang::TAllocation::preGuard(const struct QtShaderTools::glslang::TAllocation *const this=0x39407109aa0003e8 << Dead >>)    [/home/kimmo/work/Qt_67_beta1/qt5/qtshadertools/src/3rdparty/glslang/glslang/Include/PoolAlloc.h:114,1]
       1    QtShaderTools::glslang::TAllocation::check(const struct QtShaderTools::glslang::TAllocation *const this=0x39407109aa0003e8)    [/home/kimmo/work/Qt_67_beta1/qt5/qtshadertools/src/3rdparty/glslang/glslang/Include/PoolAlloc.h:93,2]
       2    QtShaderTools::glslang::TAllocation::checkAllocList(const struct QtShaderTools::glslang::TAllocation *const this=0x39407109aa0003e8)    [/home/kimmo/work/Qt_67_beta1/qt5/qtshadertools/src/3rdparty/glslang/glslang/MachineIndependent/PoolAlloc.cpp:307,3]
       3    QtShaderTools::glslang::TPoolAllocator::tHeader::~tHeader(struct QtShaderTools::glslang::TPoolAllocator::tHeader *const this=0x1777280)    [/home/kimmo/work/Qt_67_beta1/qt5/qtshadertools/src/3rdparty/glslang/glslang/Include/PoolAlloc.h:200,4]
       4    QtShaderTools::glslang::TPoolAllocator::~TPoolAllocator(struct QtShaderTools::glslang::TPoolAllocator *const this=0x4e78e58)    [/home/kimmo/work/Qt_67_beta1/qt5/qtshadertools/src/3rdparty/glslang/glslang/MachineIndependent/PoolAlloc.cpp:116,4]
       5    TShHandleBase::~TShHandleBase(struct TShHandleBase *const this=0x39c82cb8 << Dead >>)    [/home/kimmo/work/Qt_67_beta1/qt5/qtshadertools/src/3rdparty/glslang/glslang/Include/ShHandle.h:60,1]
       6    TCompiler::~TCompiler(struct TCompiler *const this=0x39c82cb8 << Dead >>)    [/home/kimmo/work/Qt_67_beta1/qt5/qtshadertools/src/3rdparty/glslang/glslang/Include/ShHandle.h:92,1]
       7    TQCOM_ASTPatcher::~TQCOM_ASTPatcher()(0, 0x3a0c0ce0, 0, 0x36f26a10, 0, 0x1)
       8    ShCompile(0, 0x36f26a10, 0, 0x36ee1aa0, 0, 0x39ccf260)
       9    ESXCompiler::parseShader(QGLC_SRCSHADER *, bool)(0, 0x36f26a10, 0, 0x57ddf20, 0, 0x39ccf260)
       10    CompilerContext::CompileToIRShader(QGLC_SRCSHADER *, QGLC_COMPILETOIR_RESULT *)(0, 0x36f26a10, 0, 0x39c83e28, 0, 0x57ddf20)
       11    QGLCCompileToIRShader(void *, QGLC_SRCSHADER *, QGLC_COMPILETOIR_RESULT *)(0, 0x4d5d9c0, 0, 0x57129a0, 0, 0x39ccf260)
       12    EsxShaderCompiler::CompileShader(struct EsxShaderCompiler *const this=0x36f26a10, const struct EsxContext *pContext=0 << Dead >>, const struct EsxShader *pShader=0x39c82cb8 << Dead >>, struct EsxInfoLog *pShaderInfoLog=0x57129f8)    [/local/mnt/workspace/CRMBuilds/GH.SA.1.0.r1-00092-S8155P.HGH-1_20220109_004456/b/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/opengl/esx/core/esxshadercompiler.cpp:1805,106]
       13    EsxShader::Compile(struct EsxShader *const this=0x57129a0, struct EsxContext *pContext=0x36f31320, int forceLoad=0 << Dead >>)    [/local/mnt/workspace/CRMBuilds/GH.SA.1.0.r1-00092-S8155P.HGH-1_20220109_004456/b/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/opengl/esx/core/esxshader.cpp:357,92]
       14    EsxContext::GlCompileShader(struct EsxContext *const this=0x36f31320, unsigned int shader=91302304 << Dead >>)    [/local/mnt/workspace/CRMBuilds/GH.SA.1.0.r1-00092-S8155P.HGH-1_20220109_004456/b/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/opengl/esx/core/esxcontextgl.cpp:1056,12]
       15    EsxGlApi::GlCompileShader(struct EsxDispatch *pDispatch=0x18 << Dead >>, unsigned int shader=2 << Dead >>)    [/local/mnt/workspace/CRMBuilds/GH.SA.1.0.r1-00092-S8155P.HGH-1_20220109_004456/b/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/opengl/esx/core/esxglapi.cpp:419,4]
       16    EsxGlApiParamValidate::GlCompileShader(struct EsxDispatch *pDispatch=0x39b854d0 << Dead >>, unsigned int shader=2 << Dead >>)    [/local/mnt/workspace/CRMBuilds/GH.SA.1.0.r1-00092-S8155P.HGH-1_20220109_004456/b/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/opengl/esx/core/esxglapiparamvalidate.cpp:495,7]
       17    glCompileShader(unsigned int shader=2)    [/local/mnt/workspace/CRMBuilds/GH.SA.1.0.r1-00092-S8155P.HGH-1_20220109_004456/b/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/opengl/esx/glesentry/glentrypoints.cpp:671,8]
       18    QOpenGLFunctions::glCompileShader(struct QOpenGLFunctions *const this=0x39b885f8, unsigned int shader=2)    [/home/kimmo/work/Qt_67_beta1/qt5/qtbase/src/gui/opengl/qopenglfunctions.h:1223,6]
       19    QRhiGles2::compileShader(struct QRhiGles2 *const this=0x39b82480, unsigned int program=1, const struct QRhiShaderStage shaderStage={...}, struct QShaderVersion *shaderVersion=0)    [/home/kimmo/work/Qt_67_beta1/qt5/qtbase/src/gui/rhi/qrhigles2.cpp:4716,15]

       

      Attachments

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

        Activity

          People

            kiollila Kimmo Ollila
            kiollila Kimmo Ollila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes