[SERVER-80153] UBsan core dumps are not being uploaded properly Created: 16/Aug/23 Updated: 29/Oct/23 Resolved: 21/Aug/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 7.0.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Trevor Guidry | Assignee: | Trevor Guidry |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v7.0
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||
| Description |
|
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.
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 |
| Comments |
| Comment by Githook User [ 22/Aug/23 ] |
|
Author: {'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com', 'username': ''}Message: |
| Comment by Githook User [ 21/Aug/23 ] |
|
Author: {'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com', 'username': ''}Message: |