[CXX-374] GENOID crash Created: 11/Oct/14 Updated: 13/Nov/14 Resolved: 12/Oct/14 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | BSON |
| Affects Version/s: | legacy-1.0.0-rc0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | traw | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | legacy-cxx | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
$ ./a.out stack strace (gdb) backtrace |
| Comments |
| Comment by traw [ 13/Oct/14 ] |
|
Thanks will try and let you know |
| Comment by Andrew Morrow (Inactive) [ 12/Oct/14 ] |
|
Yes, you must call the client initialize function to use the BSON library. |
| Comment by traw [ 12/Oct/14 ] |
|
Main hint in error "Assertion `px != 0' failed." |
| Comment by traw [ 12/Oct/14 ] |
|
NO i did not, But I was just working with BSON(), Do i need to call mongo::client::initialize() for that as well My code: int main(int argc, char **argv) |
| Comment by Andrew Morrow (Inactive) [ 11/Oct/14 ] |
|
Have you called mongo::client::initialize() from mongo/client/init.h? You must do so before using the driver. |