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

mongod segmentation fault

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: 2.0.0
    • Component/s: Querying, Stability, Storage
    • Environment:
    • Linux

      I'm getting a strange misbehaviour during heavy doc inputs and transformations with multiple connections.

      I'm running a single server instance 2.0.0, no replication/sharding. The problem occured since server update from 1.8 to 2.0 and php-driver update from 1.1.4 to 1.2.5. mongod terminates with the following log output:

      Mon Sep 26 14:52:22 Invalid access at address: 0

      Mon Sep 26 14:52:22 Got signal: 11 (Segmentation fault).

      Mon Sep 26 14:52:22 Backtrace:
      0xa83fc9 0xa845a0 0x3a5ba0eb10 0x54d7dc 0x83d551 0x83d756 0x83d8b0 0x95e2e9 0x880494 0x88526a 0xa96a46 0x635dd7 0x3a5ba0673d 0x3a5b2d3f6d
      /usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0xa83fc9]
      /usr/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x220) [0xa845a0]
      /lib64/libpthread.so.0 [0x3a5ba0eb10]
      /usr/bin/mongod(_ZN5mongo24FieldRangeVectorIterator7advanceERKNS_7BSONObjE+0x4c) [0x54d7dc]
      /usr/bin/mongod(_ZN5mongo11BtreeCursor29skipOutOfRangeKeysAndCheckEndEv+0x81) [0x83d551]
      /usr/bin/mongod(_ZN5mongo11BtreeCursor12skipAndCheckEv+0x26) [0x83d756]
      /usr/bin/mongod(_ZN5mongo11BtreeCursor7advanceEv+0x100) [0x83d8b0]
      /usr/bin/mongod(_ZN5mongo14processGetMoreEPKcixRNS_5CurOpEiRb+0x419) [0x95e2e9]
      /usr/bin/mongod(_ZN5mongo15receivedGetMoreERNS_10DbResponseERNS_7MessageERNS_5CurOpE+0x1b4) [0x880494]
      /usr/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xf6a) [0x88526a]
      /usr/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x76) [0xa96a46]
      /usr/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x287) [0x635dd7]
      /lib64/libpthread.so.0 [0x3a5ba0673d]
      /lib64/libc.so.6(clone+0x6d) [0x3a5b2d3f6d]

      Logstream::get called in uninitialized state
      Mon Sep 26 14:52:22 ERROR: Client::~Client _context should be null but is not; client:conn
      Logstream::get called in uninitialized state
      Mon Sep 26 14:52:22 ERROR: Client::shutdown not called: conn

            Assignee:
            Unassigned Unassigned
            Reporter:
            dhoene Dennis Hoene
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: