stabilizer
stabilizer copied to clipboard
SZ_STACK Stack relocation crash info
This thread is for tracking information related to the random crashes occuring when SZ_STACK is enabled. If anyone wants to have a go at fixing this bug, please contribute any additional information that can be useful in fixing this bug.
I suspect that this bug is somewhere in pass/Stabilizer.cpp, where the related llvm pass integration is.
I can not reproduce the crash. I tried to use zlib-ng's test suite, but it runs for a while without trouble.
cmake -B build -DCMAKE_C_COMPILER=~/src/stabilizer/szcc -DCMAKE_CXX_COMPILER=~/src/stabilizer/szcc++ -DCMAKE_C_FLAGS="-g" -DCMAKE_CXX_FLAGS="-g" --fresh
SZ_STACK=1 cmake --build build --clean-first
while LD_LIBRARY_PATH=~/src/stabilizer GTEST_COLOR=1 ctest --test-dir build --output-on-failure; do; done
I'm using a debug version of stabilizer (with fixes for tls and dummies) built with llvm 14.