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

moveChunk Invalid access at address Segmentation Fault

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 2.0.6
    • Component/s: Sharding
    • None
    • Environment:
      Linux 2.6.21.7-2.fc8xen x86_64
    • Linux

      Sat Aug 18 00:10:04 [conn31347] about to log metadata event: { _id: "SERVER_NAME-2-2012-08-18T04:10:04-362", server: "SERVER_NAME-2", clientAddr: "IP_ADDRESS:46198", time: new Date(1345263004322), what: "moveChunk.start", ns: "DB.COLLECTION", details: { min:

      { unsymbolized_hash: "15ec4f96d1cea02c09a5a220b7753b67a0a269a2840eeab4161d7f8b", _id: ObjectId('4fc760e3ac398478f300039e') }

      , max:

      { unsymbolized_hash: "15f054bb3f591abe7e0e416d78b6ae998dcbc48669e4b48d6c5ca275", _id: ObjectId('4fcdc3232d2252329e0000ee') }

      , from: "DB10", to: "DB1" } }
      Sat Aug 18 00:10:04 [conn31347] moveChunk request accepted at version 26059|15
      Sat Aug 18 00:10:04 [conn31347] moveChunk number of documents: 1952
      Sat Aug 18 00:10:05 Invalid access at address: 0x2abfc6d7c000

      Sat Aug 18 00:10:05 Got signal: 11 (Segmentation fault).

      Sat Aug 18 00:10:05 Backtrace:
      0xa95ce9 0xa9640c 0x2aaaaacd6930 0x2aaaab6f11a7 0x2aaaaaf7dc9f 0x2aaaaaf7157d 0x5b87be 0x5d6451 0x5d6f16 0x5c84f9 0x5b1db2 0x6a2782 0xa4838c 0x97c4f4 0x97dbfd 0x940f05 0x943a30 0x889107 0x88dcd9 0xaa0bc8
      /usr/local/mongodb/bin/mongod(_ZN5mongo10abruptQuitEi+0x3a9) [0xa95ce9]
      /usr/local/mongodb/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x22c) [0xa9640c]
      /lib64/libpthread.so.0 [0x2aaaaacd6930]
      /lib64/libc.so.6(memcpy+0x3f7) [0x2aaaab6f11a7]
      /usr/lib64/libstdc++.so.6(_ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKcl+0x5f) [0x2aaaaaf7dc9f]
      /usr/lib64/libstdc++.so.6(_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKSbIS4_S5_T1_E+0x7d) [0x2aaaaaf7157d]
      /usr/local/mongodb/bin/mongod(_ZN5mongo18DBClientConnection7connectERKNS_11HostAndPortERSs+0x5e) [0x5b87be]
      /usr/local/mongodb/bin/mongod(_ZN5mongo18DBClientReplicaSet11checkMasterEv+0x151) [0x5d6451]
      /usr/local/mongodb/bin/mongod(_ZN5mongo18DBClientReplicaSet7connectEv+0x16) [0x5d6f16]
      /usr/local/mongodb/bin/mongod(_ZNK5mongo16ConnectionString7connectERSsd+0x1b9) [0x5c84f9]
      /usr/local/mongodb/bin/mongod(_ZN5mongo16DBConnectionPool3getERKSsd+0xf2) [0x5b1db2]
      /usr/local/mongodb/bin/mongod(_ZN5mongo18ScopedDbConnectionC1ERKSsd+0x82) [0x6a2782]
      /usr/local/mongodb/bin/mongod(_ZN5mongo16MoveChunkCommand3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x3a8c) [0xa4838c]
      /usr/local/mongodb/bin/mongod(_ZN5mongo11execCommandEPNS_7CommandERNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0x6c4) [0x97c4f4]
      /usr/local/mongodb/bin/mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x6fd) [0x97dbfd]
      /usr/local/mongodb/bin/mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x35) [0x940f05]
      /usr/local/mongodb/bin/mongod(ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1+0x1740) [0x943a30]
      /usr/local/mongodb/bin/mongod [0x889107]
      /usr/local/mongodb/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x559) [0x88dcd9]
      /usr/local/mongodb/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x78) [0xaa0bc8]

      Sat Aug 18 00:10:05 Got signal: 6 (Aborted).

      Sat Aug 18 00:10:05 Backtrace:
      0xa95ce9 0x2aaaab6a52d0 0x2aaaab6a5265 0x2aaaab6a6d10 0x2aaaab69e6e6 0x6391b4 0x2aaaaacce617 0x2aaaab748c2d
      /usr/local/mongodb/bin/mongod(_ZN5mongo10abruptQuitEi+0x3a9) [0xa95ce9]
      /lib64/libc.so.6 [0x2aaaab6a52d0]
      /lib64/libc.so.6(gsignal+0x35) [0x2aaaab6a5265]
      /lib64/libc.so.6(abort+0x110) [0x2aaaab6a6d10]
      /lib64/libc.so.6(__assert_fail+0xf6) [0x2aaaab69e6e6]
      /usr/local/mongodb/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0xa44) [0x6391b4]
      /lib64/libpthread.so.0 [0x2aaaaacce617]
      /lib64/libc.so.6(clone+0x6d) [0x2aaaab748c2d]

      pure virtual method called
      Sat Aug 18 00:10:05 terminate() called, printing stack:
      0xa957de 0x2aaaaaf9fdb6 0x2aaaaaf9fde3 0x2aaaaafa02ef 0x8aedc6 0x8b4781 0x8b5b3b 0x887f88 0x88c649 0x88e945 0xaa0bc8 0x6389f7 0x2aaaaacce617 0x2aaaab748c2d
      /usr/local/mongodb/bin/mongod(_ZN5mongo11myterminateEv+0x5e) [0xa957de]
      /usr/lib64/libstdc++.so.6 [0x2aaaaaf9fdb6]
      /usr/lib64/libstdc++.so.6 [0x2aaaaaf9fde3]
      /usr/lib64/libstdc++.so.6 [0x2aaaaafa02ef]
      /usr/local/mongodb/bin/mongod [0x8aedc6]
      /usr/local/mongodb/bin/mongod(_ZN5mongo11DataFileMgr6insertEPKcPKvibbPb+0x7f1) [0x8b4781]
      /usr/local/mongodb/bin/mongod(_ZN5mongo11DataFileMgr16insertWithObjModEPKcRNS_7BSONObjEb+0x4b) [0x8b5b3b]
      /usr/local/mongodb/bin/mongod(_ZN5mongo14checkAndInsertEPKcRNS_7BSONObjE+0xa8) [0x887f88]
      /usr/local/mongodb/bin/mongod(_ZN5mongo14receivedInsertERNS_7MessageERNS_5CurOpE+0x439) [0x88c649]
      /usr/local/mongodb/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x11c5) [0x88e945]
      /usr/local/mongodb/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x78) [0xaa0bc8]
      /usr/local/mongodb/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x287) [0x6389f7]
      /lib64/libpthread.so.0 [0x2aaaaacce617]
      /lib64/libc.so.6(clone+0x6d) [0x2aaaab748c2d]
      Sat Aug 18 00:10:05 Got signal: 6 (Aborted).

      Sat Aug 18 00:10:05 Backtrace:
      0xa95ce9 0x2aaaab6a52d0 0x2aaaab6a5265 0x2aaaab6a6d10 0xa958ab 0x2aaaaaf9fdb6 0x2aaaaaf9fde3 0x2aaaaafa02ef 0x8aedc6 0x8b4781 0x8b5b3b 0x887f88 0x88c649 0x88e945 0xaa0bc8 0x6389f7 0x2aaaaacce617 0x2aaaab748c2d
      /usr/local/mongodb/bin/mongod(_ZN5mongo10abruptQuitEi+0x3a9) [0xa95ce9]
      /lib64/libc.so.6 [0x2aaaab6a52d0]
      /lib64/libc.so.6(gsignal+0x35) [0x2aaaab6a5265]
      /lib64/libc.so.6(abort+0x110) [0x2aaaab6a6d10]
      /usr/local/mongodb/bin/mongod(_ZN5mongo11myterminateEv+0x12b) [0xa958ab]
      /usr/lib64/libstdc++.so.6 [0x2aaaaaf9fdb6]
      /usr/lib64/libstdc++.so.6 [0x2aaaaaf9fde3]
      /usr/lib64/libstdc++.so.6 [0x2aaaaafa02ef]
      /usr/local/mongodb/bin/mongod [0x8aedc6]
      /usr/local/mongodb/bin/mongod(_ZN5mongo11DataFileMgr6insertEPKcPKvibbPb+0x7f1) [0x8b4781]
      /usr/local/mongodb/bin/mongod(_ZN5mongo11DataFileMgr16insertWithObjModEPKcRNS_7BSONObjEb+0x4b) [0x8b5b3b]
      /usr/local/mongodb/bin/mongod(_ZN5mongo14checkAndInsertEPKcRNS_7BSONObjE+0xa8) [0x887f88]
      /usr/local/mongodb/bin/mongod(_ZN5mongo14receivedInsertERNS_7MessageERNS_5CurOpE+0x439) [0x88c649]
      /usr/local/mongodb/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x11c5) [0x88e945]
      /usr/local/mongodb/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x78) [0xaa0bc8]
      /usr/local/mongodb/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x287) [0x6389f7]
      /lib64/libpthread.so.0 [0x2aaaaacce617]
      /lib64/libc.so.6(clone+0x6d) [0x2aaaab748c2d]

      Sat Aug 18 00:10:05 Invalid access at address: 0x11

      Sat Aug 18 00:10:05 Got signal: 11 (Segmentation fault).

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            andrew@crittercism.com Andrew Levy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: