Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major - P3
-
None
-
1.5.4
-
None
-
None
-
Darwin KIDMumU.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:27:12 PDT 2010; root:xnu-1504.7.4~1/RELEASE_X86_64 x86_64
-
OS X
Description
I'm using a script in PHP that does an update incrementing a counter on the mongodb document, but I'm using upsert to insert if there isn't a document.
And I'm getting this error on mongod:
Tue Jul 13 17:48:46 update Twitter.Analyzed query:
{ url: "http://bit.ly/a2BKwO" } exception assertion db/update.h:243 0ms
Tue Jul 13 17:48:46 Twitter.Analyzed Assertion failure fn[0] == '$' db/update.h 243
0x10005cd5e 0x100069fac 0x10010dca1 0x10010fa7d 0x100110fad 0x1001bc923 0x1001c2cf7 0x10027123f 0x1002834a4 0x7fff84ab6456 0x7fff84ab6309
0 mongod 0x000000010005cd5e _ZN5mongo12sayDbContextEPKc + 174
1 mongod 0x0000000100069fac _ZN5mongo8assertedEPKcS1_j + 284
2 mongod 0x000000010010dca1 ZN5mongo6ModSetC2ERKNS_7BSONObjERKSt3setISsSt4lessISsESaISsEEPS9 + 417
3 mongod 0x000000010010fa7d _ZN5mongo14_updateObjectsEbPKcRKNS_7BSONObjES2_bbbRNS_7OpDebugE + 4061
4 mongod 0x0000000100110fad _ZN5mongo13updateObjectsEPKcRKNS_7BSONObjES2_bbbRNS_7OpDebugE + 253
5 mongod 0x00000001001bc923 _ZN5mongo14receivedUpdateERNS_7MessageERNS_5CurOpE + 1187
6 mongod 0x00000001001c2cf7 _ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE + 4279
7 mongod 0x000000010027123f _ZN5mongo10connThreadEv + 495
8 mongod 0x00000001002834a4 thread_proxy + 132
9 libSystem.B.dylib 0x00007fff84ab6456 _pthread_start + 331
10 libSystem.B.dylib 0x00007fff84ab6309 thread_start + 13