Gergely Fürnstáhl has uploaded a new patch set (#5). ( http://gerrit.cloudera.org:8080/19598 )
Change subject: IMPALA-11935: Generate core dumps if ASAN/TSAN/UBSAN built be tests crash ...................................................................... IMPALA-11935: Generate core dumps if ASAN/TSAN/UBSAN built be tests crash By default, on 64-bit systems, programs built with sanitizers do not produce minidumps nor coredumps due to the shadow memory - which is used for house keeping - being huge and the generated dumps would be too big (~16TB). https://gcc.gnu.org/bugzilla//show_bug.cgi?id=89868 The shadow memory can be stripped on exit and the core dumps can be generated by setting the (T|A|UB)SAN_OPTIONS environment variable before running the program. https://stackoverflow.com/questions/42851670/how-to-generate-core-dump-on-addresssanitizer-error This can help investigating crashes in sanitized builds. Testing: - Locally injected an std::abort() to a test case, built it with TSAN and verified the creation of the core dump and gdb showed the correct stack frame. Change-Id: Idd868fe0f666d683084a24808dd0dcd7766b837c --- M bin/run-backend-tests.sh 1 file changed, 5 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/98/19598/5 -- To view, visit http://gerrit.cloudera.org:8080/19598 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Idd868fe0f666d683084a24808dd0dcd7766b837c Gerrit-Change-Number: 19598 Gerrit-PatchSet: 5 Gerrit-Owner: Gergely Fürnstáhl <[email protected]> Gerrit-Reviewer: Daniel Becker <[email protected]> Gerrit-Reviewer: Gergely Fürnstáhl <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Laszlo Gaal <[email protected]>
