Open rokuz opened 8 months ago
Is there any way you can run this under valgrind or ASAN or some other memory checking program? We tried to reproduce this but have not been able to do so thus far.
@arcady-lunarg Do you mean you tried to reproduce it under ASAN and it didn't reproduce on your Android?
We (QtQuick3D) also see this same issue. It does not occur in release mode however, only for debug builds. That is that any time we try and compile (GlslangToSpv) we crash as a result of
std::vector<spv::Id> callArguments(operands.begin(), operands.begin() + consumedOperands);
Problem
Compiling the following shader to SPIR-V on Android device (arm64-v8a) leads to crash in compiler.
Crash stack:
Tested on 2 Android devices both with Android 14, crash is stable. After debugging, line of code that leads to it was found.
Repro
Android Studio Hedgehog | 2023.1.1 Patch 2 Android NDK r26b
Build Android sample TinyMesh_Large: https://github.com/corporateshark/lightweightvk