[SERVER-22703] Database::createCollection may call ObOpserver::onCreateCollection on nullptr Created: 17/Feb/16 Updated: 26/Apr/16 Resolved: 15/Apr/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | undefined-sanitizer | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Steps To Reproduce: | Run rs_rollback_test under UBSAN |
| Sprint: | Platforms 13 (04/22/16) |
| Participants: |
| Description |
|
If there is no OpObserver in the global service context, the call may invoke a method through a nullptr:
This was detected in a unit test, so this may only be an issue when running the tests. |
| Comments |
| Comment by Githook User [ 15/Apr/16 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |
| Comment by Githook User [ 15/Apr/16 ] |
|
Author: {u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}Message: Revert " This reverts commit 716e0fa71c1e75fe5e0c791993f175f6b6407b39. |
| Comment by Githook User [ 15/Apr/16 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |
| Comment by Andy Schwerin [ 17/Feb/16 ] |
|
This is only an issue in tests. |