#AIX #unix #core #corefile #coredump #dbx #debug
root:/ >``ls -l core``
-rw-rw-r-- 1 root system 12687 Aug 19 10:31 core
root:/ >/usr/lib/ras/``check_core /core |tail -1`` ==> give you the command wich generates the core_dump
``lspath``
root:/ >``type lspath``
``lspath is /usr/sbin/lspath``
root:/ >``dbx /usr/sbin/lspath /core``
Type 'help' for help.
[using memory image in /core]
reading symbolic information ...warning: no source compiled with -g
Segmentation fault in strlen at 0xd01f0098
0xd01f0098 (strlen 0x98) 852c0004 lwzu r9,0x4(r12)
(dbx) where ==> (to display the stack)
strlen() at 0xd01f0098
_doprnt(??, ??, ??) at 0xd0209570
fprintf(0xf04590e8, 0x20011838, 0x20000338, 0x6f757320, 0x3a0a0925, 0x730a0000, 0x696f6e73, 0x2063692d) at 0xd0207e28
do_attrs() at 0x10003c4c
main(??, ??) at 0x100005b0
(dbx)
Hope is useful.
Regards.
Note : kdb is for operating system image ( system dump like vmcore) or the running kernel not for core_dump.
[[Kill command, Understanding the kill Command and Process Signals in Linux]]