Core dumps have a NT_SIGINFO section that we could use in pstack(1) to display information about the faulting thread:
| Field |
Maps to |
si_signo |
Signal number |
si_code |
Signal code (segfault reason etc.) |
si_errno |
Associated errno |
| union fields |
Faulting address (for SIGSEGV), sender PID (for kill), etc. |
Core dumps have a
NT_SIGINFOsection that we could use inpstack(1)to display information about the faulting thread:si_signosi_codesi_errno