[SERVER-54] spidermonkey may destroy connection before destroying cursor holding that connection, leading to "pure virtual method called" error Created: 18/May/09 Updated: 12/Jul/16 Resolved: 18/May/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Aaron Staple | Assignee: | Aaron Staple |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
the following produces the described behavior: t = db.jstests_capped4; db.createCollection( "jstests_capped4", {size:1000,capped:true} ); ); ); ).limit( 2 ); If I add more code to the end of this script the crash still occurs, but only as the shell is exiting. After some investigation: Let me know if you want me to fix, Eliot. |
| Comments |
| Comment by Aaron Staple [ 18/May/09 ] |
|
Ok, I fixed this – just added reference counted pointers in sm code, since using smart pointers w/ dbclient code more generally proved to be too much work & not necessarily useful with current code. |