Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
ghx-label-12
Description
By default, programs built with sanitizers do not produce minidumps nor coredumps due to them being too large:
https://gcc.gnu.org/bugzilla//show_bug.cgi?id=89868
But the unnecessary part can be striped and the core dumps can be generated:
https://stackoverflow.com/questions/42851670/how-to-generate-core-dump-on-addresssanitizer-error
with the help of environment variable similar to this:
export TSAN_OPTIONS=abort_on_error=1:disable_coredump=0:unmap_shadow_on_exit=1
This can help investigating crashing backend tests built with sanitize option.