-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
Environment:./mongos --configdb localhost:20000,localhost:20001,localhost:20002
Wed Apr 21 16:46:18 ./mongos db version v1.5.1-pre-, pdfile version 4.5 starting (--help for usage)
Wed Apr 21 16:46:18 git version: 28a303759cf6bc1a0d082939496b959495d74a00
Wed Apr 21 16:46:18 sys info: Linux ubuntu 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 i686 BOOST_LIB_VERSION=1_38./mongos --configdb localhost:20000,localhost:20001,localhost:20002 Wed Apr 21 16:46:18 ./mongos db version v1.5.1-pre-, pdfile version 4.5 starting (--help for usage) Wed Apr 21 16:46:18 git version: 28a303759cf6bc1a0d082939496b959495d74a00 Wed Apr 21 16:46:18 sys info: Linux ubuntu 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 i686 BOOST_LIB_VERSION=1_38
> db.y.save(
{"regex" : /foo/i})
> db.y.save(
)
> db.y.save(
)
> db.y.find()
> db.runCommand(
{count : "y"})
Wed Apr 21 16:43:10 JS Error: uncaught exception: error
db log:
Wed Apr 21 16:44:04 Assertion failure isABSONObj() s/../util/../util/../db/jsobj.h 1845
0x80ef6d8 0x80f913d 0x817f5da 0x8142917 0x8172197 0x818626e 0x818c50b 0x8143867 0x80e6b3f 0x327c1d 0xb9f80e 0xaf48de
./mongos(_ZN5mongo12sayDbContextEPKc+0x168) [0x80ef6d8]
./mongos(_ZN5mongo8assertedEPKcS1_j+0xed) [0x80f913d]
./mongos(_ZN5mongo15dbgrid_pub_cmds8CountCmd3runEPKcRNS_7BSONObjERSsRNS_14BSONObjBuilderEb+0x13a) [0x817f5da]
./mongos(_ZN5mongo7Command20runAgainstRegisteredEPKcRNS_7BSONObjERNS_14BSONObjBuilderE+0x727) [0x8142917]
./mongos(_ZN5mongo14SingleStrategy7queryOpERNS_7RequestE+0x387) [0x8172197]
./mongos(_ZN5mongo7Request7processEi+0x27e) [0x818626e]
./mongos(_ZN5mongo21ShardedMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0x17b) [0x818c50b]
./mongos(_ZN5mongo3pms9threadRunEv+0xa7) [0x8143867]
./mongos(_ZN5boost6detail11thread_dataIPFvvEE3runEv+0xf) [0x80e6b3f]
/usr/lib/libboost_thread-mt.so.1.38.0(thread_proxy+0x5d) [0x327c1d]
/lib/tls/i686/cmov/libpthread.so.0 [0xb9f80e]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xaf48de]