• Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.1
    • Component/s: Shell
    • None
    • ALL

      Running on my mac I had this crash in the middle of find output:

      so@asyaRS:PRIMARY(2.6.1) > db.cat.find()
      { "_id" : ObjectId("534b4bae7994f7d804d16095"), "category" : "c1" }
      { "_id" : ObjectId("534b4baf7994f7d804d16096"), "category" : "c1" }
      { "_id" : ObjectId("534b4baf7994f7d804d16097"), "category" : "c1" }
      { "_id" : ObjectId("534b4bb27994f7d804d16098"), "category" : "c2" }
      { "_id" : ObjectId("534b4bb47994f7d804d16099"), "category" : "c3" }
      { "_id" : ObjectId("534b4bb67994f7d804d1609a"), "category" : "c3" }
      { "_id" : ObjectId("534b4bb77994f7d804d1609b"), "category" : "c3" }
      { "_id" : ObjectId("534b4c677994f7d804d1609c"), "category" : "c1" }
      { "_id" : ObjectId("534b4c677994f7d804d1609d"), "category" : "c1" }
      { "_id" : ObjectId("534b4c677994f7d804d1609e"), "category" : "c1" }
      { "_id" : ObjectId("534b4c677994f7d804d1609f"), "category" : "c1" }
      { "_id" : ObjectId("534b4c677994f7d804d160a0"), "category" : "c1" }
      { "_id" : ObjectId("534b4c677994f7d804d160a1"), "category" : "c1" }
      2014-07-29T12:19:25.858-0400 Socket flush send() errno:9 Bad file descriptor 127.0.0.1:10620
      2014-07-29T12:19:25.858-0400 caught exception (socket exception [SEND_ERROR] for 127.0.0.1:10620) in destructor (~PiggyBackData)
      libc++abi.dylib: Pure virtual function called!
      2014-07-29T12:19:25.859-0400 mongo got signal 6 (Abort trap: 6), stack trace:
      2014-07-29T12:19:25.866-0400 0x10018ae1b 0x10000181c 0x7fff8fb825aa 0 0x7fff8bf35b1a 0x7fff8bc98f31 0x7fff8bcbd447 0x100051ecb 0x100119bb6 0x1002e6ea3 0x1002e689e 0x100305e64 0x100306e36 0x1003c6906 0x10026e56b 0x100107e45 0x1002eb307 0x1002eb666 0x100415aa5 0xb7b99c06362
       0   mongo                               0x000000010018ae1b _ZN5mongo15printStackTraceERSo + 43
       1   mongo                               0x000000010000181c _Z12quitAbruptlyi + 236
       2   libsystem_platform.dylib            0x00007fff8fb825aa _sigtramp + 26
       3   ???                                 0x0000000000000000 0x0 + 0
       4   libsystem_c.dylib                   0x00007fff8bf35b1a abort + 125
       5   libc++abi.dylib                     0x00007fff8bc98f31 __cxa_bad_cast + 0
       6   libc++abi.dylib                     0x00007fff8bcbd447 __cxa_deleted_virtual + 0
       7   mongo                               0x0000000100051ecb _ZN5mongo14DBClientCursorD0Ev + 523
       8   mongo                               0x0000000100119bb6 _ZN5mongo10ObjTrackerINS_14DBClientCursorEE15deleteOnCollectEN2v810PersistentINS3_5ValueEEEPv + 150
       9   mongo                               0x00000001002e6ea3 _ZN2v88internal13GlobalHandles4Node31PostGarbageCollectionProcessingEPNS0_7IsolateEPS1_ + 331
       10  mongo                               0x00000001002e689e _ZN2v88internal13GlobalHandles31PostGarbageCollectionProcessingENS0_16GarbageCollectorE + 162
       11  mongo                               0x0000000100305e64 _ZN2v88internal4Heap24PerformGarbageCollectionENS0_16GarbageCollectorEPNS0_8GCTracerE + 1808
       12  mongo                               0x0000000100306e36 _ZN2v88internal4Heap14CollectGarbageENS0_15AllocationSpaceENS0_16GarbageCollectorEPKcS5_ + 388
       13  mongo                               0x00000001003c6906 _ZN2v88internal8JSObject10SetElementENS0_6HandleIS1_EEjNS2_INS0_6ObjectEEE18PropertyAttributesNS0_14StrictModeFlagENS0_15SetPropertyModeE + 380
       14  mongo                               0x000000010026e56b _ZN2v86Object3SetEjNS_6HandleINS_5ValueEEE + 283
       15  mongo                               0x0000000100107e45 _ZN5mongoL15namedEnumeratorERKN2v812AccessorInfoE + 805
       16  mongo                               0x00000001002eb307 _ZN2v88internal26GetKeysForNamedInterceptorENS0_6HandleINS0_10JSReceiverEEENS1_INS0_8JSObjectEEE + 327
       17  mongo                               0x00000001002eb666 _ZN2v88internal22GetKeysInFixedArrayForENS0_6HandleINS0_10JSReceiverEEENS0_17KeyCollectionTypeEPb + 566
       18  mongo                               0x0000000100415aa5 _ZN2v88internal28Runtime_GetPropertyNamesFastENS0_9ArgumentsEPNS0_7IsolateE + 181
       19  ???                                 0x00000b7b99c06362 0x0 + 12625488405346
      

      The only line about this in the server logs:

      2014-07-29T12:19:25.872-0400 [conn152] end connection 127.0.0.1:58181 (3 connections now open)
      

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: