Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28821

MozJS ASAN integration should not invariant that all memory was freed

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.10, 3.5.6
    • Component/s: Diagnostics
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.4
    • Sprint:
      Platforms 2017-04-17, Platforms 2017-05-08
    • Linked BF Score:
      0

      Description

      In our MozJS integration, we track allocations in a shadow data structure so that ASAN can see reachability. During teardown, we assert that all allocations recorded in that data structure have been freed. However, doing so means that if we actually have a leak, we will hard terminate before we give the leak checker a chance to report leaks.

        Attachments

          Activity

            People

            Assignee:
            acm Andrew Morrow
            Reporter:
            acm Andrew Morrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: