We are running mongodb on master->slave model and for last 2 days, we are seeing that, mongo is segfault-ing and crashes. The logs showing this error.
Mon Nov 5 08:45:50 Invalid access at address: 0xfffffd6ea926981c
Mon Nov 5 08:45:50 Got signal: 11 (Segmentation Fault).
Mon Nov 5 08:45:50 Backtrace:
Logstream::get called in uninitialized state
Mon Nov 5 08:45:50 [conn11] getmore local.oplog.$main query: { ts: { $gte: new Date(5806693594035126273) } } cursorid:55082034726758 nreturned:2 reslen:9034 7939ms
Mon Nov 5 08:45:50 Invalid access at address: 0x4
Mon Nov 5 08:45:50 Got signal: 11 (Segmentation Fault).
Mon Nov 5 08:45:50 Backtrace:
Mon Nov 5 08:45:50 Invalid access at address: 0xffffffffffffffe8
Mon Nov 5 08:45:50 Got signal: 11 (Segmentation Fault).
Mon Nov 5 08:45:50 Backtrace:
Logstream::get called in uninitialized state
Mon Nov 5 08:45:50 ERROR: Client::~Client _context should be null but is not; client:conn
Logstream::get called in uninitialized state
Mon Nov 5 08:45:50 ERROR: Client::shutdown not called: conn
Everytime, mongo seg faults, we are restarting the mongo server now. Please let us know how can we fix this.