[SERVER-79905] investigate adding more processing to core dumps Created: 10/Aug/23  Updated: 29/Oct/23  Resolved: 17/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Trevor Guidry Assignee: Trevor Guidry
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File analysis.tar    
Backwards Compatibility: Fully Compatible
Participants:

 Description   

We lost/will lose some functionality when the core dump analyzer is first implemented because it will be limited to backtraces. We need to see what features we can get back.

These gdb commands mostly invoke c++ code. We cannot invoke these c++ functions anymore in the core analyzer because you can only invoke functions inside of a live process and there is no live process when we are analyzing a core dump.

 

The functions we need to look into restoring are:
mongodb-dump-locks
mongodb-show-locks
mongodb-uniqstack mongodb-bt-if-active
mongodb-javascript-stack
mongod-dump-sessions
mongodb-dump-mutexes
mongodb-dump-recovery-units
mongodb-dump-storage-engine-info



 Comments   
Comment by Githook User [ 16/Oct/23 ]

Author:

{'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com', 'username': ''}

Message: SERVER-79905 Add more processing to the core analyzer
Branch: master
https://github.com/mongodb/mongo/commit/40eb26163502f4ff2456827ff58e05d96fc4b2b2

Comment by Trevor Guidry [ 03/Oct/23 ]

I have uploaded the current state of these gdb commands on all of the core dumps of this task https://spruce.mongodb.com/task/mongodb_mongo_master_enterprise_amazon_linux2_arm64_all_feature_flags_jsCore_patch_84b283a4d84917fec7f5fba0023d17e7dd6bf993_651bac3ac9ec44cdab804b96_23_10_03_05_53_26/

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