• Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Environment:

      > db.y.save(

      {"regex" : /foo/i}

      )
      > db.y.save(

      {"regex" : /foo/i}

      )
      > db.y.save(

      {"regex" : /foo/i}

      )
      > db.y.find()

      { "_id" : ObjectId("4bcf6346433ae414cd59caf7"), "regex" : /foo/i } { "_id" : ObjectId("4bcf6350433ae414cd59caf8"), "regex" : /foo/i } { "_id" : ObjectId("4bcf6351433ae414cd59caf9"), "regex" : /foo/i }

      > db.runCommand(

      {count : "y"}

      )
      Wed Apr 21 16:43:10 JS Error: uncaught exception: error

      { "$err" : "mongos: assertion s/../util/../util/../db/jsobj.h:1845" }

      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]

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            kristina Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: