Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11935

Generate core dumps if ASAN/TSAN/UBSAN built tests crash

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.3.0
    • 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.

      Attachments

        Activity

          People

            gfurnstahl Gergely Fürnstáhl
            gfurnstahl Gergely Fürnstáhl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: