|
1. It contained random bytes in fields of type string. Now I've replaced 'string' to 'bindata' and it causes no exceptions. Throwing exception for bad strings is OK, but segfault is ugly.
2. Segfault occurs when many others exceptions occurs:
> db.btswarm.update(1,2,3);
Fri Nov 13 22:08:10 User Exception 2nd param to update has to be an object
terminate called after throwing an instance of 'mongo::UserException'
what(): 2nd param to update has to be an object
Fri Nov 13 22:08:10 mongo got signal 6 (Abort trap: 6), stack trace:
Bus error: 10 (core dumped)
|