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

segfault attempting mapreduce with --noscripting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.5, 2.1.1
    • Component/s: MapReduce
    • Labels:
    • Operating System:
      ALL

      Description

      Fri Mar 23 12:40:20 [conn44] runQuery called test.$cmd { mapreduce: "things", map: function () {
      this.tags.forEach(function (z) {emit(z,

      {count:1}

      );});
      }, reduce: function (key, values)

      { var total = 0; for (var i = 0; i < va..., out: "myoutput" }

      Fri Mar 23 12:40:20 [conn44] run command test.$cmd { mapreduce: "things", map: function () {
      this.tags.forEach(function (z) {emit(z,

      {count:1}

      );});
      }, reduce: function (key, values)

      { var total = 0; for (var i = 0; i < va..., out: "myoutput" }

      Fri Mar 23 12:40:20 [conn44] mr ns: test.things
      Fri Mar 23 12:40:20 Invalid access at address: 0

      Fri Mar 23 12:40:20 Got signal: 11 (Segmentation fault: 11).

      Fri Mar 23 12:40:20 Backtrace:
      0x1005ff2d3 0x1005ff8b5 0x7fff8efd9cfa 0x100000000 0x10051c568 0x100533d84 0x1004e97a3 0x1004eb0f7 0x1004a9e44 0x1004ab50d 0x1003e7e8f 0x1003eaa6a 0x100611c94 0x10014d612 0x100618e54 0x7fff8ef858bf 0x7f
      ff8ef88b75
      0 mongod 0x00000001005ff2d3 _ZN5mongo10abruptQuitEi + 339
      1 mongod 0x00000001005ff8b5 ZN5mongo24abruptQuitWithAddrSignalEiP9_siginfoPv + 229
      2 libsystem_c.dylib 0x00007fff8efd9cfa _sigtramp + 26
      3 mongod 0x0000000100000000 __dso_handle + 0
      4 mongod 0x000000010051c568 _ZN5mongo2mr5State4initEv + 40
      5 mongod 0x0000000100533d84 _ZN5mongo2mr16MapReduceCommand3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb + 660
      6 mongod 0x00000001004e97a3 _ZN5mongo11execCommandEPNS_7CommandERNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb + 1107
      7 mongod 0x00000001004eb0f7 _ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi + 2599
      8 mongod 0x00000001004a9e44 _ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi + 52
      9 mongod 0x00000001004ab50d ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1 + 4973
      10 mongod 0x00000001003e7e8f _ZN5mongo13receivedQueryERNS_6ClientERNS_10DbResponseERNS_7MessageE + 623
      11 mongod 0x00000001003eaa6a _ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE + 1386
      12 mongod 0x0000000100611c94 _ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE + 148
      13 mongod 0x000000010014d612 _ZN5mongo3pms9threadRunEPNS_13MessagingPortE + 754
      14 mongod 0x0000000100618e54 thread_proxy + 132
      15 libsystem_c.dylib 0x00007fff8ef858bf _pthread_start + 335
      16 libsystem_c.dylib 0x00007fff8ef88b75 thread_start + 13

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: