LuxMark icon indicating copy to clipboard operation
LuxMark copied to clipboard

SIGABRT during Luxmark 3.1 execution

Open haonanya opened this issue 1 year ago • 0 comments

I am copying https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/404 to LuxMark repo. Luxmark crashed on std::stringstream destructor https://github.com/KhronosGroup/SPIRV-LLVM-Translator/blob/llvm_release_110/lib/SPIRV/OCLToSPIRV.cpp#LL321C7-L323C24). The std::stringstream usage is right, it failed with "vload3" string process but passed with "vload2". Dumped LLVM IR could be translated using llvm-spirv and opencl kernel compiled with ocloc. We suspect problems are with Luxmark itself and maybe Luxmark binary overwrites some functions from libstdc++.

Project Branch Revision
opencl-clang ocl-open-110 ee31812ea8b89d08c2918f045d11a19bd33525c5
SPIRV-LLVM-Translator llvm_release_110 d739c01d65ec00dee64dedd40deed805216a7193
LLVM project release/11.x 1fdec59bffc11ae37eb51a1b9869f0696bfd5312

haonanya avatar Mar 23 '23 09:03 haonanya