[SERVER-70766] Server crashes when the OCSP fetcher attempts to fetch during shutdown Created: 21/Oct/22 Updated: 29/Oct/23 Resolved: 02/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Erwin Pe | Assignee: | Shreyas Kalyan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | tsan | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Security 2022-11-14 | ||||
| Participants: | |||||
| Linked BF Score: | 33 | ||||
| Description |
|
A segmentation fault occurs when the OCSP fetcher periodic job fires while mongod is shutting down. The null pointer dereferenced is the std::unique_ptr<OCSPManager> obtained from the global service context here. Oddly, this issue only manifested while running on a TSAN debug build.
|
| Comments |
| Comment by Githook User [ 02/Nov/22 ] |
|
Author: {'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}Message: |