DEBUG: cluster: Client initialized in direct mode.
Segmentation fault (core dumped)
I have written the following code to read an entry
Enter code here...
> db.persona.find()
{ "_id" : 123456, "key" : "value" }
The code is attached.
a. I am not sure I connected the driver at all. How can I check that and how can I make that happen? Where is a tool in which I can see realtime what is happening inside and around my mongodb database?
b. Is there something wrong with those code snippets? Essentially any operation that tries to read/write crashes.
DBWrapper.cc
Sorry you are having trouble. Taking a shot in the dark here: Did you call mongoc_init()?
http://api.mongodb.org/c/ current/mongoc_init.html
If that doesn't fix it can we see the code you are running? These things are hard to diagnose without seeing the code.
If that doesn't fix it can we see the code you are running? These things are hard to diagnose without seeing the code.
댓글 없음:
댓글 쓰기