[Mongo-cxx-driver.r3.6.0] using std::string on mongocxx::uri leading to crash

Hi @Uwe_Dittus,

Unfortunately I’m unable to reproduce the issue that you’re seeing. The following code snippet works without an issue in both v3.5.x and v3.6.x

mongocxx::instance instance{};
mongocxx::uri uri("mongodb://MONGODB_URI/");
auto client = mongocxx::client{uri};

If you’re able to reproduce the issue consistently, could you provide the following:

  • Minimal code example that able to reproduce the issue
  • Full stack trace error (or compilation error?)

Also could you elaborate what do you mean by mongocxx::pool causing trouble ?

Regards,
Wan.