-
Notifications
You must be signed in to change notification settings - Fork 836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error? "corrupted size vs. prev_size while consolidating" after googletest run. #2128
Comments
same script, but now in 64-bits
CTestCostData.txt greetings EDIT: disable system compile flags gets same error in each arch |
Takes a while to figure out what's at issue here. I think the problem you have is that after googletest runs you see this:
Functionally, glslang seems okay, as each individual test passes. I don't know where the |
Hi seeing the coredumpctl i see gets tons of "segfaults" (maybe one for each test i run)
but none of the coredumps get any valid/clear output because Archlinux don't ship any symbol in any package, and build glslang in Debug mode also not works :( for example:
|
Hi if help, this is the content of the greetings EDIT: testing with
glibc on my system is 2.31 |
ok, builded with
32-bits
|
I looked at the code, based on the call stacks you provided:
It almost feels like a bug with the execution environment somehow cleaning up the wrong way on process exit. I don't put too much priority on this given that it is outside core use of glslang as a validator/translator and happens only on process exit. Of course, if someone can identify a change that improves it, that would be great. |
as note. same output with clang 9.0.1 |
time is passed. the failure still here with glibc 2.33 and gcc 10.2.0 |
Yes, but is it a bug with the intended use of glslang, or just a testing harness issue? It seems to pass the tests and not relate to core use of glslang. |
This is caused by the fact that both the |
This should be fixed by #3732. |
script:
I want build glslang with linked SPIRV-Tools libs in static mode, but i what to build glslang as shared libs, so i add this little patch
-DBUILD_SHARED_LIBS=ON
pull this config to SPIRV-Tools, then i disabe it only in SPIRV-ToolsgslangValidation
andspirv-remap
have buildtin SPIRV-Tools from theglslang/External/spirv-tools
folder, so i not need install the SPIRV-Tools related tools/libraries. because i what build it in another packagerun test
LD_LIBRARY_PATH="$(pwd)/lib:$(pwd)/source:$(pwd)/external/effcee/effcee:$(pwd)/external/effcee/third_party/re2:$(pwd)/external/protobuf/cmake" ctest --output-on-failure
output:
Testing/Temporally logs
CTestCostData.txt
LastTest.log
LastTestsFailed.log
Environment
Archlinux
Gcc
cmake version 3.16.5
commit : HEAD
I never doing the test before, idk when start fail
greetings
The text was updated successfully, but these errors were encountered: