[CXX-2705] Driver calls 'abort()' when internet is disconnected and crashes app Created: 27/Jun/23 Updated: 28/Oct/23 Resolved: 14/Jul/23 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.9.0 |
| Type: | Bug | Priority: | Unknown |
| Reporter: | jeff strom | Assignee: | Josh Siegel (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
Summary After starting my app with my internet connection disconnected, instancing the 'mongocxx::pool' object with a valid connection string and calling 'mongocxx::Pool::acquire()' or 'mongocxx::Pool::try_acquire()' crash the app due to an error thrown inside of the mongoc drvier with message 'mongoc-client-pool.c:346 mongoc_client_pool_try_pop(): precondition failed: pool' Environment mongocxx lib version 3.7.0 OS: Windows 10 Home 64-bit Compiler: Microsoft (R) C/C++ Optimizing Compiler Version 19.35.32216.1 for x86 How to Reproduce |
| Comments |
| Comment by Githook User [ 14/Jul/23 ] |
|
Author: {'name': 'Joshua Siegel', 'email': '39130209+joshbsiegel@users.noreply.github.com', 'username': 'joshbsiegel'}Message: |
| Comment by PM Bot [ 27/Jun/23 ] |
|
Hi jeff@pulsemedica.com, thank you for reporting this issue! The team will look into it and get back to you soon. |