[SERVER-2704] double free when shutting down mongos Created: 08/Mar/11 Updated: 12/Jul/16 Resolved: 17/Mar/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristina Chodorow (Inactive) | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Operating System: | ALL |
| Participants: |
| Description |
|
After inserting a few hundred GB of data, I did a control-C and got the log attached. |
| Comments |
| Comment by auto [ 17/Mar/11 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: prevent shutdown race condtion |
| Comment by auto [ 17/Mar/11 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: standards compliant and leak a list on shutdown to avoid race condition |
| Comment by auto [ 17/Mar/11 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: try to fix double free |
| Comment by Kristina Chodorow (Inactive) [ 08/Mar/11 ] |
|
I don't know. It just returned "db assertion failure" without an error code and I couldn't find it in the mongos log and wasn't tracking the shards' logs. I'll try to catch it next time. |
| Comment by Eliot Horowitz (Inactive) [ 08/Mar/11 ] |
|
What's the db assertion failure? |
| Comment by Kristina Chodorow (Inactive) [ 08/Mar/11 ] |
|
I can replicate this pretty consistently... after inserting a few hundred to a few thousand documents I get a db assertion failure and then shutting down mongos triggers the glibc message. |