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

Segmentation fault on replica recovery

    • Linux

      After cleaning /var/lib/mongodb and starting the replica server, sync starts.

      Sync ends in core dump:

      ue Nov 22 20:37:55 [rsSync] replSet syncing to: monster:27017
      Tue Nov 22 20:37:55 [rsSync] build index newsman.bounce

      { _id: 1 }

      Tue Nov 22 20:37:55 [rsSync] build index done 0 records 0.035 secs
      Tue Nov 22 20:37:55 Invalid access at address: 0xbc

      Tue Nov 22 20:37:55 Got signal: 11 (Segmentation fault).

      Tue Nov 22 20:37:55 Backtrace:
      0xa8d139 0xa8d710 0x7f9bd380df60 0x87d4d1 0x833c87 0x822bcb 0x825e9c 0x8271b5 0x82720a 0x827690 0xaa7b80 0x7f9bd38058ba 0x7f9bd2dc102d
      /usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0xa8d139]
      /usr/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x220) [0xa8d710]
      /lib/libpthread.so.0(+0xef60) [0x7f9bd380df60]
      /usr/bin/mongod(_ZN5mongo7Helpers8findByIdEPNS_16NamespaceDetailsENS_7BSONObjE+0x21) [0x87d4d1]
      /usr/bin/mongod(_ZN5mongo21applyOperation_inlockERKNS_7BSONObjEb+0xf27) [0x833c87]
      /usr/bin/mongod(_ZN5mongo11ReplSetImpl9syncApplyERKNS_7BSONObjE+0x1fb) [0x822bcb]
      /usr/bin/mongod(_ZN5mongo11ReplSetImpl8syncTailEv+0xd0c) [0x825e9c]
      /usr/bin/mongod(_ZN5mongo11ReplSetImpl11_syncThreadEv+0xc5) [0x8271b5]
      /usr/bin/mongod(_ZN5mongo11ReplSetImpl10syncThreadEv+0x4a) [0x82720a]
      /usr/bin/mongod(_ZN5mongo15startSyncThreadEv+0xa0) [0x827690]
      /usr/bin/mongod(thread_proxy+0x80) [0xaa7b80]
      /lib/libpthread.so.0(+0x68ba) [0x7f9bd38058ba]
      /lib/libc.so.6(clone+0x6d) [0x7f9bd2dc102d]

      Logstream::get called in uninitialized state
      Tue Nov 22 20:37:55 ERROR: Client::~Client _context should be null but is not; client:rsSync
      Logstream::get called in uninitialized state
      Tue Nov 22 20:37:55 ERROR: Client::shutdown not called: rsSync

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            dazoot Catalin Constantin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: