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

Use manual poisoning for ASAN with new buffer pool

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Impala 2.10.0
    • Fix Version/s: Impala 2.10.0
    • Component/s: Backend
    • Labels:
      None

      Description

      We should use https://github.com/google/sanitizers/wiki/AddressSanitizerManualPoisoning for the to catch bugs where memory buffers are accessed after they are freed. We should do this for MemPools and the BufferPool to start off with and maybe for DiskIoMgr buffers and FreePool allocations.

      We can already catch this with --disable_mem_pools but it would be good to have stricter checks enabled by default.

        Attachments

          Activity

            People

            • Assignee:
              henryr Henry Robinson
              Reporter:
              tarmstrong Tim Armstrong
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: