ASAN allocates a huge amount of shadow memory when it runs. This make it impossible to dump core if an ASAN enabled test fails. To ameliorate this issue and get more useful information in for these failures we should:
- Run ASAN tests with the unmap_shadow_on_exit=1 set in the ASAN_OPTIONS. If ASAN detects an error, this should cause it to release its shadow memory before attempting to dump core.
- Update the hang analyzer so that it doesn't try to generate core files after attaching gdb to a ASAN binary. (Or, better, figure out how to unmap the shadow memory via gdb so it can dump core.)
- related to
-
WT-8391 No disk space to save the core file
- Closed
-
SERVER-69255 Investigate feasibility of enabling hang analyzer for server-with-asan
- Closed