[SERVER-13798] v8 garbage collection can cause crash due to independent lifetime of DBClient and Cursor objects Created: 30/Apr/14 Updated: 11/Mar/15 Resolved: 15/May/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | 2.6.0 |
| Fix Version/s: | 2.6.4, 2.7.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matt Dannenberg | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||
| Backport Completed: | |||||||||||||||||||||||||
| Sprint: | Server 2.7.1 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
To reproduce:
After applying the patch, it would be necessary to explicitly invoke gc() in the test script to prevent the shell from crashing. Stack trace in the mongo shell program:
When addr2line'd this looks like:
|
| Comments |
| Comment by Githook User [ 30/Jul/14 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Benety Goh [ 15/May/14 ] |
|
Tests are committed under |
| Comment by Benety Goh [ 15/May/14 ] |
|
Commit to backport:
c576cdd324f847e0f047dfa5d1bee429d659efb2 |
| Comment by Githook User [ 15/May/14 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Githook User [ 15/May/14 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |