[SERVER-3032] mongod crashed in ReplSetImpl summarizeStatus Created: 02/May/11  Updated: 12/Jul/16  Resolved: 17/May/11

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 1.8.1
Fix Version/s: 1.8.2, 1.9.1

Type: Bug Priority: Major - P3
Reporter: ofer samocha Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 0
Labels: rsc1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

linux


Issue Links:
Depends
Duplicate
is duplicated by SERVER-5647 adding secondary caused existing few ... Closed
Related
related to SERVER-2710 Running replSetReconfig while writing... Closed
Operating System: ALL
Participants:

 Description   

Mon May 2 11:31:19 Got signal: 11 (Segmentation fault).

Mon May 2 11:31:19 Backtrace:
0x8a2e59 0x8a3430 0x2b27b920ed40 0x2b27b9c24d07 0x2b27b94b72a0 0x2b27b94b79fc 0x6d6a74 0x6d0694 0x7dae1e 0x7dc741 0x642c25 0x6477c6 0x752225 0x757938 0x8a3b3e 0x8b6a40 0x2b27b92071b5 0x2b27b9c7b36d
/usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x8a2e59]
/usr/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x220) [0x8a3430]
/lib64/libpthread.so.0 [0x2b27b920ed40]
/lib64/libc.so.6(memcpy+0x37) [0x2b27b9c24d07]
/usr/local/lib64/libstdc++.so.6(_ZNSs4_Rep8_M_cloneERKSaIcEm+0x50) [0x2b27b94b72a0]
/usr/local/lib64/libstdc++.so.6(_ZNSsC1ERKSs+0x3c) [0x2b27b94b79fc]
/usr/bin/mongod(_ZNK5mongo11ReplSetImpl16_summarizeStatusERNS_14BSONObjBuilderE+0xa94) [0x6d6a74]
/usr/bin/mongod(_ZN5mongo19CmdReplSetGetStatus3runERKSsRNS_7BSONObjERSsRNS_14BSONObjBuilderEb+0x114) [0x6d0694]
/usr/bin/mongod(_ZN5mongo11execCommandEPNS_7CommandERNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0x5ae) [0x7dae1e]
/usr/bin/mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_10BufBuilderERNS_14BSONObjBuilderEbi+0x831) [0x7dc741]
/usr/bin/mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_10BufBuilderERNS_14BSONObjBuilderEbi+0x35) [0x642c25]
/usr/bin/mongod(ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1+0x2e86) [0x6477c6]
/usr/bin/mongod [0x752225]
/usr/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE+0x5b8) [0x757938]
/usr/bin/mongod(_ZN5mongo10connThreadEPNS_13MessagingPortE+0x21e) [0x8a3b3e]
/usr/bin/mongod(thread_proxy+0x80) [0x8b6a40]
/lib64/libpthread.so.0 [0x2b27b92071b5]
/lib64/libc.so.6(clone+0x6d) [0x2b27b9c7b36d]

Mon May 2 11:31:19 dbexit:



 Comments   
Comment by Dwight Merriman [ 12/Sep/11 ]

there is a component of this which is not fixed until 1.9 / 2.0.

Comment by auto [ 09/May/11 ]

Author:

{u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: remove unnecessary lock SERVER-3032
Branch: master
https://github.com/mongodb/mongo/commit/0825375aa178e4a8d278f3315155604bb1927e85

Comment by auto [ 08/May/11 ]

Author:

{u'login': u'dwight', u'name': u'dwight', u'email': u'dwight@10gen.com'}

Message: fix compile SERVER-3032
Branch: master
https://github.com/mongodb/mongo/commit/5ac8be7e3a2d4b96280c87e1d476ef69f76ad3e0

Comment by auto [ 08/May/11 ]

Author:

{u'login': u'dwight', u'name': u'dwight', u'email': u'dwight@10gen.com'}

Message: thread safety replSetGetStatus backport? SERVER-3032
Branch: master
https://github.com/mongodb/mongo/commit/a24cd53e98ca098f7673c2b3fb80fe6ede7b2a49

Comment by auto [ 06/May/11 ]

Author:

{u'login': u'dwight', u'name': u'dwight', u'email': u'dwight@10gen.com'}

Message: defensive SERVER-3032 replSetGetStatus not a fix but helps a little
Branch: master
https://github.com/mongodb/mongo/commit/b596d0feea4c42a273d0046d83793d944aba0de9

Comment by Kristina Chodorow (Inactive) [ 05/May/11 ]

Forgot to include SERVER-3032 in my commit message, this should also be included in any backports:

https://github.com/mongodb/mongo/commit/5800c920f14f29d4b6219d8e8ac53d0abffce774

Comment by Eliot Horowitz (Inactive) [ 05/May/11 ]

There is no issue running with raid, most people do.

Its possible its changed some timing or something random that is making this get triggered, but unlikely.

Comment by ofer samocha [ 05/May/11 ]

I've got the same crash again. it happend to me only after I've upgraded my servers to raid.
is that the problem ?

ofer

Comment by auto [ 04/May/11 ]

Author:

{u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: more locking during theReplSet fields' r/w SERVER-3032
Branch: master
https://github.com/mongodb/mongo/commit/9dbe9864dbfa26db8b20426a47eb56e149bf6f8f

Comment by ofers@imesh.com [ 03/May/11 ]

No

The other bug has the log for that

Comment by Kristina Chodorow (Inactive) [ 03/May/11 ]

Did you reconfigure the set around this time?

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