[SERVER-8212] CXX-Driver: examples/tutorial.cpp throws assertion src/mongo/client/dbclientinterface.h:1105 Created: 08/Nov/12  Updated: 01/Apr/13  Resolved: 17/Jan/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Mathias Rohnstock Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: connection, driver
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Host: Debian Squeeze x86_64
MongoDB-Server: 2.2.1 from 10gen repository http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/
MongoDB-CXX-Driver: 2.2.1 from http://downloads.mongodb.org/cxx-driver/mongodb-linux-x86_64-2.2.1.tgz compiled about 10min ago


Issue Links:
Duplicate
duplicates SERVER-7594 xamples/tutorial.cpp throws assertion... Closed
Operating System: Linux
Participants:

 Description   

cxx-driver installed with

sudo scons install

installation and compilation works streight forward, but I can't get the examples/tutorial.cpp working as descripted here: http://www.mongodb.org/pages/viewpage.action?pageId=133415#C%2B%2BTutorial-Connecting

example compiled with

g++ tutorial.cpp -pthread -lmongoclient -lboost_thread-mt -lboost_filesystem -lboost_program_options -lboost_system -o tutorial

compilation returns no errors, too.

on executing ./tutorial the following appear:

$ ./tutorial
Thu Nov 8 14:22:12 Assertion failure p src/mongo/client/dbclientinterface.h 1105
caught assertion src/mongo/client/dbclientinterface.h:1105

Don't know, what I can do against it?

Thanks!

  • Mathias


 Comments   
Comment by Mathias Rohnstock [ 08/Nov/12 ]

recreated this ticket in server-project: https://jira.mongodb.org/browse/SERVER-7594

Generated at Thu Feb 08 03:16:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.