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

Segfaults occur in mongo::printMemInfo on osx-cxx11-debug

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • 0

      seems to be failing deterministically as of this commit:
      https://github.com/mongodb/mongo/commit/6f1225ce6ed724e3dcc13a0acecb9d57a2e1dc47

      SERVER-12170 stop calling relinquish() when replicaset nodes decide n…

      doesn't seem to be failing on any other buildvariant.

      The failing test runs have a couple things in the logs, which do not appear in the prior successful runs:

       m30999| 2013-12-21T04:02:27.830-0500 [conn1] DBClientCursor::init message from say() was empty
       m30999| 2013-12-21T04:02:27.830-0500 [conn1] got not master for: localhost:31200
       m30999| 2013-12-21T04:02:27.830-0500 [conn1] warning: exception when receiving data from test-rs1:test-rs1/localhost:31200,localhost:31201,localhost:31202, current connection state is { state: { conn: "test-rs1/localhost:31200,localhost:31201,localhost:31202", vinfo: "test.foo @ 7|1||52b55901073d3ba8b206c7cf", cursor: "(empty)", count: 0, done: false }, retryNext: false, init: true, finish: true, errored: false } :: caused by :: 15988 error querying server
       m31100| 2013-12-21T04:02:27.831-0500 [slaveTracking] update local.slaves query: { _id: ObjectId('52b558d13682358ea3c20d0b'), config: { _id: 1, host: "localhost:31101" }, ns: "local.oplog.rs" } update: { $set: { syncedTo: Timestamp 1387616547000|56 } } nscanned:1 nupdated:1 nDocsModified:1 fastmod:1 keyUpdates:0 locks(micros) w:190 0ms
       m31100| 2013-12-21T04:02:27.831-0500 [slaveTracking] update local.slaves query: { _id: ObjectId('52b558d3cff406218339c4de'), config: { _id: 2, host: "localhost:31102" }, ns: "local.oplog.rs" } update: { $set: { syncedTo: Timestamp 1387616547000|56 } } nscanned:1 nupdated:1 nDocsModified:1 fastmod:1 keyUpdates:0 locks(micros) w:147 0ms
      {
      	"code" : 15988,
      	"ok" : 0,
      	"errmsg" : "exception: could not run map command on all shards for ns test.foo and query {} :: caused by :: error querying server"
      }
      assert failed
      

      and then...

       m31101| 2013-12-21T04:02:27.834-0500 [rsSyncNotifier] replSet last: 52b55923:64 to 52b55923:64
       m31101| 2013-12-21T04:02:27.835-0500 [repl writer worker 2] Database::_addNamespaceToCatalog ns: test.tmp.mrs.foo_1387616547_0
       m31102| 2013-12-21T04:02:27.835-0500 [repl writer worker 2] Database::_addNamespaceToCatalog ns: test.tmp.mrs.foo_1387616547_0
       m31101| 2013-12-21T04:02:27.835-0500 [repl writer worker 2] Database::_addNamespaceToCatalog ns: test.tmp.mrs.foo_1387616547_0.$_id_
      Error: Printing Stack Trace
          at printStackTrace (src/mongo/shell/utils.js:38:15)
          at doassert (src/mongo/shell/assert.js:6:5)
          at assert (src/mongo/shell/assert.js:14:5)
          at checkCommandSucceeded (/data/mci/git@github.commongodb/mongo.git/master/jstests/sharding/authCo m31101| 2013-12-21T04:02:27.835-0500 [rsSyncNotifier] replSet last: 52b55923:64 to 52b55923:65
      mmands.js:102:5)
          at checkReadOps (/data/mci/git@github.commongodb/mongo.git/master/jstests/sharding/authComman m31102| 2013-12-21T04:02:27.835-0500 [repl writer worker 2] Database::_addNamespaceToCatalog ns: test.tmp.mrs.foo_1387616547_0.$_id_
      ds.js:127:19)
          at doTest (/data/mci/git@github.commongodb/mongo.git/master/jstests/sharding/authCommands.js:271:1)
          at /data/mci/git m31101| 2013-12-21T04:02:27.835-0500 [rsSyncNotifier] now last is 52b55923:65
      @github.commongodb/mongo.git/master/jstests/sharding/authCommands.js:300:1
      

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: