[CDRIVER-493] DEBUG: cluster: Client initialized in direct mode. Segmentation fault (core dumped) Created: 28/Dec/14 Updated: 11/Sep/19 Resolved: 21/May/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.2.0 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Ranjeet Kuruvilla [X] | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 14.10 |
||
| Attachments: |
|
| Description |
|
I can not connect to the mongodb system via c driver. > ./unitTests/unitTest_DbWrapper My code is attached. My guess is that the driver does not connect to the database and therefore the driver can not read or write. |
| Comments |
| Comment by Mira Carey [ 25/Feb/15 ] |
|
Which version of libmongoc are you running? Also, can you run your test's under a debugger like gdb or lldb? Without an obvious entry point (I don't see a main() in your DbWrapper.cc), it's difficult for me to guess what code path you've taken to get to that segfault. Regards, |