[SERVER-16506] race condition in currentOp Created: 11/Dec/14 Updated: 21/Aug/15 Resolved: 08/Jun/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Concurrency |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Geert Bosch | Assignee: | Geert Bosch |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Steps To Reproduce: | No reliable reproducer, but evalc.js occasionally triggers this on a debug build. |
||||||||||||||||||||
| Sprint: | Quint Iteration 3.1.2, Quint Iteration 5 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||
| Description |
|
As evidenced by spurious failures in evalc.js, there is a race condition in the currentOp command that causes it to access freed memory. The test failed due to timeout after the following failure:
The opcode corresponds to 0xCDCDCDCD, which is the fill code for deleted memory in the debug build. |
| Comments |
| Comment by Geert Bosch [ 08/Jun/15 ] |
|
I would expect yes. On second thought, it may not be worth the time to -Geert |
| Comment by Andy Schwerin [ 08/Jun/15 ] |
|
geert.bosch, did this go away as part of |
| Comment by Githook User [ 27/Apr/15 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: (cherry picked from commit 36642967c8cdb2b64e5ce8e87966abb329bdf369) |