-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.2.1
-
Component/s: Internal Client
-
Environment:Debian Squeeze x86_64
MongoDB 2.2.1 Server (from 10gen repo) and cxx-driver (from http://downloads.mongodb.org/cxx-driver/mongodb-linux-x86_64-2.2.1.tgz)
-
Linux
(already written this issue to drivers-project, but I think, it fits better here)
cxx-driver installed with
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
- is duplicated by
-
SERVER-8212 CXX-Driver: examples/tutorial.cpp throws assertion src/mongo/client/dbclientinterface.h:1105
- Closed