[SERVER-11561] Coverity analysis defect 11083: Data race condition (MISSING_LOCK) Created: 04/Nov/13 Updated: 11/Jul/16 Resolved: 05/Nov/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | auto | Assignee: | Matt Dannenberg |
| Resolution: | Done | Votes: | 0 |
| Labels: | coverity | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| Description |
|
A new defect has been detected and assigned to mattd@10gen.com in Coverity Connect http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=11083 |
| Comments |
| Comment by auto [ 05/Nov/13 ] | ||||||
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: | ||||||
| Comment by Matt Kangas [ 04/Nov/13 ] | ||||||
|
https://github.com/mongodb/mongo/blame/master/src/mongo/shell/dbshell.cpp#L170
CID 11083 (#1 of 1): Data race condition (MISSING_LOCK)1. missing_lock: Accessing "mongo::dbexitCalled" without holding lock "mongo::shell_utils::mongoProgramOutputMutex". Elsewhere, "mongo::dbexitCalled" is accessed with "mongo::shell_utils::mongoProgramOutputMutex" held 4 out of 4 times. |