[SERVER-31919] capture ucontext_t in sigaction handler to increase diagnosability of core dumps Created: 10/Nov/17  Updated: 29/Jan/18  Resolved: 10/Nov/17

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

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-31918 capture ucontext_t in sigaction handl... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

The sigaction handler can accept ucontext_t. This information is useful to examine the exact state of the register file at crash. It would be particularly useful on aarch64 which maintains stack frames via a linked list in the fp register.

Currently our handler ignores this parameter.

void abruptQuitWithAddrSignal(int signalNum, siginfo_t* siginfo, void*) {
...
}


Generated at Thu Feb 08 04:28:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.