[SERVER-15138] Mongo segmentation fault during create index Created: 04/Sep/14  Updated: 23/Jan/15  Resolved: 23/Jan/15

Status: Closed
Project: Core Server
Component/s: Index Maintenance, Stability
Affects Version/s: 2.6.4
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Roy Assignee: J Rassi
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-14969 Dropping index during active aggregat... Closed
Related
is related to SERVER-15135 Server crash while building index Closed
Operating System: ALL
Participants:

 Description   

2014-09-04T09:07:02.481+0000 [conn141289] SEVERE: Invalid access at address: 0xffffffff
2014-09-04T09:07:02.541+0000 [initandlisten] connection accepted from 10.0.1.172:44112 #141572 (2031 connections now open)
2014-09-04T09:07:02.543+0000 [conn141289] SEVERE: Got signal: 11 (Segmentation fault).
Backtrace:0x11e6111 0x11e54ee 0x11e55df 0x7f8801230cb0 0xb72dce 0xb6ed3f 0xb6fda9 0xaa698d 0xd78119 0xd78ae4 0xd1ac7c 0xc6e7c4 0xc6eec5 0xc7e9b3 0xc80046 0xcfc7bb 0x9b3816 0xa2889a 0xa29ce2 0xa2bea6
 /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0x11e6111]
 /usr/bin/mongod() [0x11e54ee]
 /usr/bin/mongod() [0x11e55df]
 /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f8801230cb0]
 /usr/bin/mongod(_ZNK5mongo18BtreeInterfaceImplINS_12BtreeData_V1EE5keyAtEPKNS_17IndexCatalogEntryENS_7DiskLocEi+0x2e) [0xb72dce]
 /usr/bin/mongod(_ZN5mongo16BtreeIndexCursor20isSavedPositionValidEv+0x3f) [0xb6ed3f]
 /usr/bin/mongod(_ZN5mongo16BtreeIndexCursor15restorePositionEv+0x39) [0xb6fda9]
 /usr/bin/mongod(_ZN5mongo9IndexScan16recoverFromYieldEv+0x5d) [0xaa698d]
 /usr/bin/mongod(_ZN5mongo12PlanExecutor12restoreStateEv+0x19) [0xd78119]
 /usr/bin/mongod(_ZN5mongo12PlanExecutor7getNextEPNS_7BSONObjEPNS_7DiskLocE+0x6e4) [0xd78ae4]
 /usr/bin/mongod(_ZN5mongo16CachedPlanRunner7getNextEPNS_7BSONObjEPNS_7DiskLocE+0x3c) [0xd1ac7c]
 /usr/bin/mongod(_ZN5mongo20DocumentSourceCursor9loadBatchEv+0x1e4) [0xc6e7c4]
 /usr/bin/mongod(_ZN5mongo20DocumentSourceCursor7getNextEv+0x115) [0xc6eec5]
 /usr/bin/mongod(_ZN5mongo19DocumentSourceGroup8populateEv+0x73) [0xc7e9b3]
 /usr/bin/mongod(_ZN5mongo19DocumentSourceGroup7getNextEv+0x426) [0xc80046]
 /usr/bin/mongod(_ZN5mongo8Pipeline3runERNS_14BSONObjBuilderE+0x8b) [0xcfc7bb]
 /usr/bin/mongod(_ZN5mongo15PipelineCommand3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x526) [0x9b3816]
 /usr/bin/mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x3a) [0xa2889a]
 /usr/bin/mongod(_ZN5mongo7Command11execCommandEPS0_RNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0x1042) [0xa29ce2]
 /usr/bin/mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x6c6) [0xa2bea6]



 Comments   
Comment by Roy [ 09/Sep/14 ]

Hi Ramon,
Sorry, but I do not have the logs.
If you think that an index build/drop may cause the previous issue I submitted, and the fact that the stack traces are different is still explainable with last bug I submitted, then this may be the case.

Comment by Ramon Fernandez Marina [ 05/Sep/14 ]

mamoos1, it would be very useful to diagnose this ticket if you could upload the full mongod.log on this ticket if you still have it.

Thanks,
Ramón.

Comment by J Rassi [ 04/Sep/14 ]

mamoos1, do you still have the full log available?

Comment by Roy [ 04/Sep/14 ]

I am not sure, but I think this one occurred during an index build and not a drop.

Comment by Scott Hernandez (Inactive) [ 04/Sep/14 ]

Roy, this looks like a dup of the one you already file: SERVER-14969

Can you please post more complete logs if you think they are not the same underlying cause or you uploaded the same log as before accidentally.

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