[SERVER-12278] Segfaults occur in mongo::printMemInfo on osx-cxx11-debug Created: 24/Dec/13  Updated: 11/Jul/16  Resolved: 07/Jan/14

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5.5

Type: Bug Priority: Major - P3
Reporter: Michael O'Brien Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 0

 Description   

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



 Comments   
Comment by Githook User [ 07/Jan/14 ]

Author:

{u'username': u'dannenberg', u'name': u'Matt Dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-12278 swap out cout in favor of log() in mmap.cpp
Branch: master
https://github.com/mongodb/mongo/commit/ae0745b758683f3fbdaf77071d75e5c8c6df30f3

Generated at Thu Feb 08 03:28:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.