[SERVER-4574] Add note to log that bus error may be caused by corruption Created: 28/Dec/11  Updated: 29/Jan/18  Resolved: 16/Jun/17

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Spencer Brody (Inactive) Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Sun Dec 25 00:04:18 Invalid access at address: 0x7f7e1252c474
 
Sun Dec 25 00:04:18 Got signal: 7 (Bus error).
 
Sun Dec 25 00:04:18 Backtrace:
0xa8d669 0xa8dc40 0x7fb8cb85a8f0 0x85f742 0x85fb27 0x85fb7a 0x8a3198 0x8b0259 0x8b192b 0x94b686 0x94da35 0x831872 0x82295b 0x825c2c 0x826f45 0x826f9a 0x827420 0xaa80b0 0x7fb8cb8519ca 0x7fb8cae0070d 
 /usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0xa8d669]
 /usr/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x220) [0xa8dc40]
 /lib/libpthread.so.0(+0xf8f0) [0x7fb8cb85a8f0]
 /usr/bin/mongod(_ZN5mongo16NamespaceDetails10__stdAllocEi+0x252) [0x85f742]
 /usr/bin/mongod(_ZN5mongo16NamespaceDetails6_allocEPKci+0x17) [0x85fb27]
 /usr/bin/mongod(_ZN5mongo16NamespaceDetails5allocEPKciRNS_7DiskLocE+0x3a) [0x85fb7a]
 /usr/bin/mongod(_ZN5mongo26allocateSpaceForANewRecordEPKcPNS_16NamespaceDetailsEib+0x48) [0x8a3198]
 /usr/bin/mongod(_ZN5mongo11DataFileMgr6insertEPKcPKvibbPb+0x4a9) [0x8b0259]
 /usr/bin/mongod(_ZN5mongo11DataFileMgr16insertWithObjModEPKcRNS_7BSONObjEb+0x4b) [0x8b192b]
 /usr/bin/mongod(_ZN5mongo14_updateObjectsEbPKcRKNS_7BSONObjES2_bbbRNS_7OpDebugEPNS_11RemoveSaverE+0x2d26) [0x94b686]
 /usr/bin/mongod(_ZN5mongo13updateObjectsEPKcRKNS_7BSONObjES2_bbbRNS_7OpDebugE+0x125) [0x94da35]
 /usr/bin/mongod(_ZN5mongo21applyOperation_inlockERKNS_7BSONObjEb+0x6c2) [0x831872]
 /usr/bin/mongod(_ZN5mongo11ReplSetImpl9syncApplyERKNS_7BSONObjE+0x1fb) [0x82295b]
 /usr/bin/mongod(_ZN5mongo11ReplSetImpl8syncTailEv+0xd0c) [0x825c2c]
 /usr/bin/mongod(_ZN5mongo11ReplSetImpl11_syncThreadEv+0xc5) [0x826f45]
 /usr/bin/mongod(_ZN5mongo11ReplSetImpl10syncThreadEv+0x4a) [0x826f9a]
 /usr/bin/mongod(_ZN5mongo15startSyncThreadEv+0xa0) [0x827420]
 /usr/bin/mongod(thread_proxy+0x80) [0xaa80b0]
 /lib/libpthread.so.0(+0x69ca) [0x7fb8cb8519ca]
 /lib/libc.so.6(clone+0x6d) [0x7fb8cae0070d]
 
Logstream::get called in uninitialized state

It'd be nice if the log message included something that suggested that this may be due to corruption.



 Comments   
Comment by Mira Carey [ 16/Jun/17 ]

Bad pointer chasing may or may not reflect actual corruption. We believe that leaving this as is offers the right combination of information and not leading users to unjustified conclusions

Comment by Eliot Horowitz (Inactive) [ 28/Dec/11 ]

not sure the best way/place to do this yet

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