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

SEGFAULT in WriteBatchExecutor

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: 3.0.0-rc6
    • Component/s: Write Ops
    • ALL
    • Hide

      benchrun.py -m 1 -c 8 -f testcases/* --testFilter "daily"
      single node

      Show
      benchrun.py -m 1 -c 8 -f testcases/* --testFilter "daily" single node

      Problem

      During a mongo-perf run on WT, get the following reported

      Update.MmsIncShallow1
      1       9535.843359458357
      2       1.1232334509419109e-10
      2015-01-25T06:53:32.583-0800 I NETWORK  DBClientCursor::init call() failed
      Error running test [object Object]: Error: error doing query: failed
      2015-01-25T06:53:32.586-0800 I QUERY    TypeError: Cannot read property 'ops_per_sec' of undefined
      at runTests (util/utils.js:436:43)
      at mongoPerfRunTests (util/utils.js:503:19)
      at (shell):1:1 at util/utils.js:436
      2015-01-25T06:53:32.587-0800 I NETWORK  trying reconnect to 127.0.0.1:27017 (127.0.0.1) failed
      2015-01-25T06:53:32.587-0800 W NETWORK  Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused
      2015-01-25T06:53:32.587-0800 I NETWORK  reconnect 127.0.0.1:27017 (127.0.0.1) failed failed couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed
      Finished Testing.
      

      The server log reports a filure

      2015-01-25T06:52:49.079-0800 I COMMAND  [conn3] CMD: drop test0.Update_MmsIncShallow10
      2015-01-25T06:52:49.087-0800 I COMMAND  [conn3] CMD: drop test0.Update_MmsIncShallow10
      2015-01-25T06:52:49.087-0800 I COMMAND  [conn3] CMD: drop test0.Update_MmsIncShallow10
      2015-01-25T06:53:32.429-0800 F -        [conn3] Invalid access at address: 0x18
      2015-01-25T06:53:32.452-0800 F -        [conn3] Got signal: 11 (Segmentation fault).
      
       0xf2df49 0xf2d5f2 0xf2d91e 0x7ffff7bce8d0 0x98f9c8 0x99060a 0x991df4 0x9924f5 0x9945ad 0x9b4b34 0x9b5a73 0x9b652b 0xb836d5 0xa96408 0x7e6870 0xeebf4e 0x7ffff7bc70a4 0x7ffff6ccec2d
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"400000","o":"B2DF49"},{"b":"400000","o":"B2D5F2"},{"b":"400000","o":"B2D91E"},{"b":"7FFFF7BBF000","o":"F8D0"},{"b":"400000","o":"58F9C8"},{"b":"400000","o":"59060A"},{"b":"400000","o":"591DF4"},{"b":"400000","o":"5924F5"},{"b":"400000","o":"5945AD"},{"b":"400000","o":"5B4B34"},{"b":"400000","o":"5B5A73"},{"b":"400000","o":"5B652B"},{"b":"400000","o":"7836D5"},{"b":"400000","o":"696408"},{"b":"400000","o":"3E6870"},{"b":"400000","o":"AEBF4E"},{"b":"7FFFF7BBF000","o":"80A4"},{"b":"7FFFF6BE9000","o":"E5C2D"}],"processInfo":{ "mongodbVersion" : "3.0.0-rc6", "gitVersion" : "8dd41ae58040dfa09c633c05ce5752d46402f9c5", "uname" : { "sysname" : "Linux", "release" : "3.14-1-amd64", "version" : "#1 SMP Debian 3.14.7-1 (2014-06-16)", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000" }, { "b" : "7FFFF88FA000", "path" : "linux-vdso.so.1", "elfType" : 3 }, { "b" : "7FFFF7BBF000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3 }, { "b" : "7FFFF79B7000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3 }, { "b" : "7FFFF77B3000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3 }, { "b" : "7FFFF74A8000", "path" : "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", "elfType" : 3 }, { "b" : "7FFFF71A7000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3 }, { "b" : "7FFFF6F91000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3 }, { "b" : "7FFFF6BE9000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3 }, { "b" : "7FFFF7DDC000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3 } ] }}
       mongod(_ZN5mongo15printStackTraceERSo+0x29) [0xf2df49]
       mongod(+0xB2D5F2) [0xf2d5f2]
       mongod(+0xB2D91E) [0xf2d91e]
       libpthread.so.0(+0xF8D0) [0x7ffff7bce8d0]
       mongod(_ZN5mongo18WriteBatchExecutor13execOneInsertEPNS0_16ExecInsertsStateEPPNS_16WriteErrorDetailE+0xA38) [0x98f9c8]
       mongod(_ZN5mongo18WriteBatchExecutor11execInsertsERKNS_21BatchedCommandRequestEPSt6vectorIPNS_16WriteErrorDetailESaIS6_EE+0x25A) [0x99060a]
       mongod(_ZN5mongo18WriteBatchExecutor11bulkExecuteERKNS_21BatchedCommandRequestEPSt6vectorIPNS_19BatchedUpsertDetailESaIS6_EEPS4_IPNS_16WriteErrorDetailESaISB_EE+0x34) [0x991df4]
       mongod(_ZN5mongo18WriteBatchExecutor12executeBatchERKNS_21BatchedCommandRequestEPNS_22BatchedCommandResponseE+0x395) [0x9924f5]
       mongod(_ZN5mongo8WriteCmd3runEPNS_16OperationContextERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x15D) [0x9945ad]
       mongod(_ZN5mongo12_execCommandEPNS_16OperationContextEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x34) [0x9b4b34]
       mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_iPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xC13) [0x9b5a73]
       mongod(_ZN5mongo12_runCommandsEPNS_16OperationContextEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x28B) [0x9b652b]
       mongod(_ZN5mongo8runQueryEPNS_16OperationContextERNS_7MessageERNS_12QueryMessageERKNS_15NamespaceStringERNS_5CurOpES3_b+0x755) [0xb836d5]
       mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortEb+0xAC8) [0xa96408]
       mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0xE0) [0x7e6870]
       mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x33E) [0xeebf4e]
       libpthread.so.0(+0x80A4) [0x7ffff7bc70a4]
       libc.so.6(clone+0x6D) [0x7ffff6ccec2d]
      

      Reprod

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            alvin Alvin Richards (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: