[CXX-732] "Hello World" core dumps if the C++11 driver was built from current master version Created: 05/Nov/15  Updated: 10/Jan/16  Resolved: 10/Jan/16

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Dmitry Ryabtsev Assignee: Samantha Ritter (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related

 Description   

I've encountered this during my work on a CS ticket. I wasn't able to make the C++11 driver work on Linux, nor on OSX. Another engineer built it on his machine and faced the same problem.

Raising this ticket to make the issue visible.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bcd703 in mongocxx::v0::database::database(mongocxx::v0::client const&, core::v1::basic_string_view<char, std::char_traits<char> >) ()
   from /usr/local/lib/libmongocxx.so.0
(gdb) where
#0  0x00007ffff7bcd703 in mongocxx::v0::database::database(mongocxx::v0::client const&, core::v1::basic_string_view<char, std::char_traits<char> >) ()
   from /usr/local/lib/libmongocxx.so.0
#1  0x00007ffff7bc8c30 in mongocxx::v0::client::database(core::v1::basic_string_view<char, std::char_traits<char> >) const & () from /usr/local/lib/libmongocxx.so.0
#2  0x00000000004016f3 in ?? ()
#3  0x00007fffffffe498 in ?? ()
#4  0x00000001ffffe210 in ?? ()
#5  0x0000000000621d10 in ?? ()
#6  0x0000000000400db2 in ?? ()
#7  0x0000000000000000 in ?? ()



 Comments   
Comment by Samantha Ritter (Inactive) [ 18/Nov/15 ]

Hi Dmitry,

We've done a lot of development on master in the last few weeks, so I want to be sure we can reproduce this crash with the current code. Is this a program you've written, or one of the examples we ship with the driver? Could you please link the code that caused the crash? Have you been able to repro this lately?

Generated at Wed Feb 07 22:00:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.