[SERVER-15056] Sharded connection cleanup on setup error can crash mongos Created: 27/Aug/14 Updated: 11/Mar/15 Resolved: 28/Aug/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.4.8 |
| Fix Version/s: | 2.4.12, 2.6.5, 2.7.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Randolph Tan |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Completed: | |||||||||||||
| Participants: | |||||||||||||
| Description |
Demangled stack-trace:
Sequence of events: 2. cursor destructor gets called. Destructor tries to killCursors using the freed connection in #1: https://github.com/mongodb/mongo/blob/r2.7.5/src/mongo/client/dbclientcursor.cpp#L370-373 |
| Comments |
| Comment by Githook User [ 08/Sep/14 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: Collapse empty if body |
| Comment by Githook User [ 08/Sep/14 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: |
| Comment by Githook User [ 08/Sep/14 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: Collapse empty if body |
| Comment by Githook User [ 08/Sep/14 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: |
| Comment by Githook User [ 08/Sep/14 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: Collapse empty if body |
| Comment by Githook User [ 28/Aug/14 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: |