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

UBsan core dumps are not being uploaded properly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v7.0
    • 0

      Resmoke sets the "take core dump" flag for the hang analyzer when `ASAN_OPTIONS` is not set to avoid taking core dumps on asan because of shadow memory.

      https://github.com/10gen/mongo/blob/2a0652d07064e8078d089f9e3924e2f4a0feb158/buildscripts/resmokelib/sighandler.py#L160

       

      However, we share our sanatizer options between asan, aubsan, and ubsan so this is always set for our ubsan variants currently https://github.com/mongodb/mongo/blob/6888a1472e002d9e1fe741a670261b28e45b2ab7/etc/evergreen.yml#L2084

       

      We also check for `ASAN_OPTIONS` here https://github.com/mongodb/mongo/blob/2a0652d07064e8078d089f9e3924e2f4a0feb158/buildscripts/resmokelib/testing/hooks/cleanup.py#L23-L24 which restarts the test fixture more often which isn't needed on UBSan because we don't be doing leak detection without ASan

       

      Original slack thread: https://mongodb.slack.com/archives/C0V79S1PY/p1692207555012019

            Assignee:
            trevor.guidry@mongodb.com Trevor Guidry
            Reporter:
            trevor.guidry@mongodb.com Trevor Guidry
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: