Question & Answer
Question
How do I read an application core dump using dbx to start debugging the cause of the application crash?
Cause
Answer
"snapcore"
command. The core file by itself is not sufficient. The snapcore command ensures the core file, the program binary, and all relevant libraries are gathered which allows an analysis to be made outside of the system environment.For AIX Support to fully assist with the analysis, the binary must be shipped from AIX LPPs as IBM has to be the source code owner. Third-party applications must be analyzed by their respective vendor first. AIX support can assist there, but there is no guarantee it can come to a conclusion.
dbx
command:- Run dbx on the executable binary that caused the core dump, this command displays the offending call.
Example:
# dbx -p /=./ /usr/sbin/gated /core
IOT/Abort trap in raise at 0xd0120bc0
0xd0120bc0 (raise+0x60) 80410014 lwz r2,0x14(r1)
(dbx)
(dbx) corefile
Process Name: /usr/sbin/gated
Version: 430
Flags: FULL_CORE | CORE_VERSION_1 | UBLOCK_VALID | USTACK_VALID | LE_VALID
Signal: ABRT
Process Mode: 32 bit
(dbx) where
raise(??) at 0xd0120bc0
abort() at 0xd017bf64
task_quit(0x4) at 0x10000c20
rip_init() at 0x100881ec
task_proto_inits() at 0x1000645c
main(0x1, 0x2ff22d88) at 0x1000b48c
SUPPORT |
---|
If you require more assistance, use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract. 1. Document (or collect screen captures of) all symptoms, errors, and messages related to your issue. 2. Capture any logs or data relevant to the situation. 3. Contact IBM to open a case: -For electronic support, see the IBM Support Community: 4. Provide a clear, concise description of the issue. - For more information, see: Working with IBM AIX Support: Describing the problem. 5. If the system is accessible, collect a system snap, and upload all of the details and data for your case. - For more information, see: Working with IBM AIX Support: Collecting snap data 6. Collect the snapcore for that core file: - For more information, see: AIX Core Dump Data Collection |
Related Information
Was this topic helpful?
Document Information
Modified date:
29 December 2020
UID
ibm16252395