[SERVER-4228] Segfault under load Created: 08/Nov/11  Updated: 11/Jul/16  Resolved: 08/Nov/11

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: 2.0.1
Fix Version/s: 2.0.2, 2.1.0

Type: Bug Priority: Major - P3
Reporter: Nic Cottrell (Personal) Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Centos EL5


Attachments: Text File crashlog-20111108.txt    
Operating System: Linux
Participants:

 Description   

Tue Nov 8 15:08:06 Backtrace:
0xa89b19 0xa8a0f0 0x361080eb10 0x360fc7051b 0x360fc72bbc 0x360fc746df 0x360fc753e2 0x504232 0x50a73e 0x508e40 0x50a6a2 0x509a22 0x50a6a2 0x8938fc 0x88c31d 0x50a80a 0x88902c 0xa9c576 0x638937 0x361080673d
/usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0xa89b19]
/usr/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x220) [0xa8a0f0]
/lib64/libpthread.so.0 [0x361080eb10]
/lib64/libc.so.6 [0x360fc7051b]
/lib64/libc.so.6 [0x360fc72bbc]
/lib64/libc.so.6 [0x360fc746df]
/lib64/libc.so.6(realloc+0x102) [0x360fc753e2]
/usr/bin/mongod(_ZN5mongo11_BufBuilderINS_16TrivialAllocatorEE15grow_reallocateEv+0x42) [0x504232]
/usr/bin/mongod(_ZNK5mongo7BSONObj8toStringERNS_13StringBuilderEbb+0x26e) [0x50a73e]
/usr/bin/mongod(_ZNK5mongo11BSONElement8toStringERNS_13StringBuilderEbb+0x5d0) [0x508e40]
/usr/bin/mongod(_ZNK5mongo7BSONObj8toStringERNS_13StringBuilderEbb+0x1d2) [0x50a6a2]
/usr/bin/mongod(_ZNK5mongo11BSONElement8toStringERNS_13StringBuilderEbb+0x11b2) [0x509a22]
/usr/bin/mongod(_ZNK5mongo7BSONObj8toStringERNS_13StringBuilderEbb+0x1d2) [0x50a6a2]
/usr/bin/mongod(_ZNK5mongo7OpDebug8toStringEv+0x1fc) [0x8938fc]
/usr/bin/mongod(_ZNK5mongo14LazyStringImplINS_7OpDebugEE3valEv+0xd) [0x88c31d]
/usr/bin/mongod(_ZN5mongo9LogstreamlsERKNS_10LazyStringE+0x1a) [0x50a80a]
/usr/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x95c) [0x88902c]
/usr/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x76) [0xa9c576]
/usr/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x287) [0x638937]
/lib64/libpthread.so.0 [0x361080673d]

Tue Nov 8 15:08:06 Invalid access at address: 0x4

Tue Nov 8 15:08:06 Got signal: 11 (Segmentation fault).

Tue Nov 8 15:08:06 Backtrace:
0xa89b19 0xa8a0f0 0x361080eb10 0x54b812 0x55a947 0x55b831 0x55c104 0x8dba1e 0x963fb2 0x882407 0x888c2c 0xa9c576 0x638937 0x361080673d 0x360fcd44bd
/usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0xa89b19]
/usr/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x220) [0xa8a0f0]
/lib64/libpthread.so.0 [0x361080eb10]
/usr/bin/mongod(ZN5mongo10FieldRangeaNERKS0+0x362) [0x54b812]
/usr/bin/mongod(_ZN5mongo13FieldRangeSet16processOpElementEPKcRKNS_11BSONElementEbb+0x97) [0x55a947]
/usr/bin/mongod(_ZN5mongo13FieldRangeSet17processQueryFieldERKNS_11BSONElementEb+0x4a1) [0x55b831]
/usr/bin/mongod(_ZN5mongo13FieldRangeSetC1EPKcRKNS_7BSONObjEbb+0x194) [0x55c104]
/usr/bin/mongod(_ZN5mongo16MultiPlanScannerC1EPKcRKNS_7BSONObjES5_PKNS_11BSONElementEbS5_S5_bb+0x21e) [0x8dba1e]
/usr/bin/mongod(ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1+0x6c2) [0x963fb2]



 Comments   
Comment by Nic Cottrell (Personal) [ 08/Nov/11 ]

I only had monit, but I've now configured MMS with my nic@transmachina.com address

Comment by Eliot Horowitz (Inactive) [ 08/Nov/11 ]

What kind of monitoring do you have?
mms.10gen.com would give you/us a clear picture of memory usage.

Comment by Nic Cottrell (Personal) [ 08/Nov/11 ]

Not sure why I'd have memory problems. The machine has 40GB and is only sharing with MySQL which has a ceiling of 12GB....

Comment by auto [ 08/Nov/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: fix some unchecked mallocs SERVER-4228
Branch: v2.0
https://github.com/mongodb/mongo/commit/3e5d0e345bea106e5fb5fd5c7990dc5af7c58ba5

Comment by auto [ 08/Nov/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: fix some unchecked mallocs SERVER-4228
Branch: master
https://github.com/mongodb/mongo/commit/024f7daec490322cafabae5243fc4ca60698bf66

Comment by Eliot Horowitz (Inactive) [ 08/Nov/11 ]

This stems from running out of memory.
Fix for crash coming, but do you know why you ran out of memory?

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