[CXX-1040] Segmentation fault in instance_management Created: 16/Sep/16 Updated: 19/Sep/16 Resolved: 19/Sep/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Implementation |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | J Rassi | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
instance_management crashes with a segmentation fault on the 3.1-dev branch. Introduced by 6683c05a. Ubuntu 14.04 release build failure: https://evergreen.mongodb.com/build/mongodb_cpp_driver_dev_ubuntu1404_release_7a8b68951f5ea6f947b8a029ec942e0187c7c3e5_16_09_15_01_03_31 |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 19/Sep/16 ] |
|
This actually was not introduced by 6683c05a. Instead, it was a latent defect introduced by the fix for I had overlooked that this ticket existed, and pushed the fix here without a ticket reference: https://github.com/mongodb/mongo-cxx-driver/commit/7a7f3259c05868d8c169c542b9a4b18470ade719 The defect fixed in that commit would have made the actual emergence of this bug more or less random, as it depended on what order of operations the compiler chose for sequencing the construction of the instance and the pool. |