Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6557

when running 2 or more MapReduce in parallel mongo crash

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 2.2.0-rc0
    • Component/s: Concurrency, MapReduce
    • None
    • Environment:
      linux RH 5.5
    • Linux

      Sun Jul 22 13:04:32 [conn5] CMD: drop hoursDatabase.tmp.mr.minuteid_instanceid_90
      Sun Jul 22 13:04:32 [conn5] CMD: drop hoursDatabase.tmp.mr.minuteid_instanceid_90
      Sun Jul 22 13:04:32 [conn5] CMD: drop hoursDatabase.tmp.mr.minuteid_instanceid_90_inc
      Sun Jul 22 13:04:32 [conn6] build index minutesDatabase.tmp.mr.secondid_instanceid_status_91_inc

      { 0: 1 }

      Sun Jul 22 13:04:32 Invalid access at address: 0xc0 from thread: conn5

      Sun Jul 22 13:04:32 Got signal: 11 (Segmentation fault).

      Sun Jul 22 13:04:32 [conn6] build index done. scanned 0 total records. 0 secs Sun Jul 22 13:04:32 [conn6] CMD: drop minutesDatabase.tmp.mr.secondid_instanceid_status_91
      Sun Jul 22 13:04:32 [conn6] build index minutesDatabase.tmp.mr.secondid_instanceid_status_91

      { _id: 1 }

      Sun Jul 22 13:04:32 [conn6] build index done. scanned 0 total records. 0 secs Sun Jul 22 13:04:32 Backtrace:
      0x6236d1 0x5516b9 0x551c42 0x35c8e0e4c0 0xbb2d15 0xbaa638 0xbafefb 0x5b7600 0x7780f1 0x77923d 0x77a1cc 0x757be8 0x75b3f1 0x67284d 0x673b92 0x56a392 0xabe091 0x35c8e06367 0x35c82d2f7d
      ./mongod(_ZN5mongo15printStackTraceERSo+0x21) [0x6236d1]
      ./mongod(_ZN5mongo10abruptQuitEi+0x399) [0x5516b9]
      ./mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x262) [0x551c42]
      /lib64/libpthread.so.0 [0x35c8e0e4c0]
      ./mongod(ZNSt8_Rb_treeIN5mongo8ByLocKeyESt4pairIKS1_PNS0_12ClientCursorEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE5eraseERS3+0x15) [0xbb2d15]
      ./mongod(_ZN5mongo12ClientCursor17setLastLoc_inlockENS_7DiskLocE+0x138) [0xbaa638]
      ./mongod(_ZN5mongo12ClientCursorD1Ev+0x4b) [0xbafefb]
      ./mongod(_ZN5mongo2mr16MapReduceCommand3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0xbd0) [0x5b7600]
      ./mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRNS_14BSONObjBuilderEb+0x51) [0x7780f1]
      ./mongod(_ZN5mongo11execCommandEPNS_7CommandERNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xd0d) [0x77923d]
      ./mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x2ac) [0x77a1cc]
      ./mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x38) [0x757be8]
      ./mongod(ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1+0xbc1) [0x75b3f1] ./mongod [0x67284d]
      ./mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x3a2) [0x673b92]
      ./mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x82) [0x56a392]
      ./mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x411) [0xabe091]
      /lib64/libpthread.so.0 [0x35c8e06367]
      /lib64/libc.so.6(clone+0x6d) [0x35c82d2f7d]

            Assignee:
            siddharth.singh@10gen.com siddharth.singh@10gen.com
            Reporter:
            igreenfi izek greenfield
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: