[SERVER-23125] Ownership semantics of MessageHandlers are broken Created: 14/Mar/16 Updated: 22/Nov/16 Resolved: 17/Mar/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking, Sharding |
| Affects Version/s: | 3.3.3 |
| Fix Version/s: | 3.2.7, 3.3.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Samantha Ritter (Inactive) | Assignee: | Samantha Ritter (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-and-test | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Completed: | |||||||||||||
| Sprint: | Platforms 12 (04/01/16), Platforms 14 (05/13/16) | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
|
In mongos, we declare a MessageHandler on a stack that disappears partway through shutdown, causing the fatal error "pure virtual method called." In mongod, we don't run into this... because we don't clean up its MessageHandler at all, we just leak it. |
| Comments |
| Comment by Githook User [ 04/May/16 ] |
|
Author: {u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}Message: (cherry picked from a8412488599ba9def9dea29505ea69323ba6e1fc) |
| Comment by Samantha Ritter (Inactive) [ 17/Mar/16 ] |
|
Given that the changes made for |
| Comment by Githook User [ 17/Mar/16 ] |
|
Author: {u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}Message: |