[SERVER-35759] ARS::_makeProgress shouldn't get RouterSessionRuntimeState decoration if opCtx is a null pointer Created: 22/Jun/18 Updated: 27/Oct/23 Resolved: 13/Jul/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jack Mulrow | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Sharding
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Linked BF Score: | 57 | ||||
| Description |
|
AsyncRequestsSender::_makeProgress gets the RouterSessionRuntimeState decoration off the operation context given to the function, but when _makeProgress is called from the ARS destructor, it is given a nullptr. Trying to get the decoration from a nullptr triggers an access violation and crashes. |
| Comments |
| Comment by Jack Mulrow [ 13/Jul/18 ] |
|
This was fixed by |
| Comment by Esha Maharishi (Inactive) [ 22/Jun/18 ] |
|
CC renctan |