[SERVER-2810] yield explain seg fault when accessing unprotected scan and order pointer Created: 22/Mar/11  Updated: 12/Jul/16  Resolved: 22/Mar/11

Status: Closed
Project: Core Server
Component/s: Concurrency, Querying
Affects Version/s: None
Fix Version/s: 1.8.1, 1.9.0

Type: Bug Priority: Major - P3
Reporter: Aaron Staple Assignee: Aaron Staple
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Mon Mar 21 17:18:24 Got signal: 11 (Segmentation fault).

Mon Mar 21 17:18:24 Backtrace:
0x100095978 0x1002ed6cc 0x7fff86f4167a 0x100005617 0x1001a5117 0x1001a512f 0x1001ac137 0x1001ad31e 0x1000ba4e8 0x1000be2f8 0x1000c0a6d 0x1000c0dd5 0x10024aab0 0x1001ac6a6 0x1001a34a3 0x100238782 0x100239bff 0x1002ef1fc 0x1002f810b 0x10015a496
0 mongod 0x0000000100095978 _ZN5mongo15printStackTraceERSo + 36
1 mongod 0x00000001002ed6cc _ZN5mongo10abruptQuitEi + 280
2 libSystem.B.dylib 0x00007fff86f4167a _sigtramp + 26
3 mongod 0x0000000100005617 ZN5mongo7BSONObjC1ERKS0 + 51
4 mongod 0x00000001001a5117 _ZNKSt8multimapIN5mongo7BSONObjES1_NS0_10BSONObjCmpESaISt4pairIKS1_S1_EEE4sizeEv + 21
5 mongod 0x00000001001a512f _ZNK5mongo12ScanAndOrder4sizeEv + 21
6 mongod 0x00000001001ac137 _ZN5mongo11UserQueryOp6finishEb + 81
7 mongod 0x00000001001ad31e _ZN5mongo11UserQueryOp4nextEv + 374
8 mongod 0x00000001000ba4e8 _ZN5mongo12QueryPlanSet6Runner6nextOpERNS_7QueryOpE + 68
9 mongod 0x00000001000be2f8 _ZN5mongo12QueryPlanSet6Runner3runEv + 1236
10 mongod 0x00000001000c0a6d _ZN5mongo12QueryPlanSet5runOpERNS_7QueryOpE + 591
11 mongod 0x00000001000c0dd5 _ZN5mongo16MultiPlanScanner9runOpOnceERNS_7QueryOpE + 157
12 mongod 0x000000010024aab0 _ZN5mongo16MultiPlanScanner5runOpERNS_7QueryOpE + 38
13 mongod 0x00000001001ac6a6 ZN5mongo16MultiPlanScanner5runOpINS_11UserQueryOpEEEN5boost10shared_ptrIT_EERS5 + 42
14 mongod 0x00000001001a34a3 ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1 + 4904
15 mongod 0x0000000100238782 _ZN5mongoL13receivedQueryERNS_6ClientERNS_10DbResponseERNS_7MessageE + 189
16 mongod 0x0000000100239bff _ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE + 860
17 mongod 0x00000001002ef1fc _ZN5mongo10connThreadEPNS_13MessagingPortE + 724
18 mongod 0x00000001002f810b _ZN5boost3_bi5list1INS0_5valueIPN5mongo13MessagingPortEEEEclIPFvS5_ENS0_5list0EEEvNS0_4typeIvEERT_RT0_i + 59
19 mongod 0x000000010015a496 _ZN5boost3_bi6bind_tIvPFvPN5mongo13MessagingPortEENS0_5list1INS0_5valueIS4_EEEEEclEv + 54

Mon Mar 21 17:18:24 dbexit:



 Comments   
Comment by auto [ 24/Mar/11 ]

Author:

{u'login': u'astaple', u'name': u'Aaron', u'email': u'aaron@10gen.com'}

Message: SERVER-2810 check for dropped explain cursor before accessing so
https://github.com/mongodb/mongo/commit/2394d382e194a11cd9d1194dad5321d1f59e253a

Comment by auto [ 22/Mar/11 ]

Author:

{u'login': u'astaple', u'name': u'Aaron', u'email': u'aaron@10gen.com'}

Message: SERVER-2810 check for dropped explain cursor before accessing so
https://github.com/mongodb/mongo/commit/5c98fc8930e96ebc5852534c102d26565d45c0c2

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