%% a single % character
%c core file size soft resource limit of crashing process (since
Linux 2.6.24)
%d dump mode—same as value returned by prctl(2) PR_GET_DUMPABLE
(since Linux 3.7)
%e executable filename (without path prefix)
%E pathname of executable, with slashes ('/') replaced by
exclamation marks ('!') (since Linux 3.0).
%g (numeric) real GID of dumped process
%h hostname (same as nodename returned by uname(2))
%p PID of dumped process, as seen in the PID namespace in which
the process resides
%P PID of dumped process, as seen in the initial PID namespace
(since Linux 3.12)
%s number of signal causing dump
%t time of dump, expressed as seconds since the Epoch,
1970-01-01 00:00:00 +0000 (UTC)
%u (numeric) real UID of dumped process
$ gdb /usr/local/services/php7/sbin/php-fpm core.6054
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://g
...
Core was generated by `php-fpm: pool www '.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f54017dc76f in memcpy () from /lib64/libc.so.6
...
(gdb) bt
#0 0x00007f54017dc76f in memcpy () from /lib64/libc.so.6
#1 0x00007f53fdf96443 in zend_string_init (execute_data=0x7f53fe416fc0)
at /usr/local/services/php7/include/php/Zend/zend_string.h:159
#2 hp_execute_ex (execute_data=0x7f53fe416fc0)
at /usr/local/src/xhprof-php7/extension/xhprof.c:1476
#3 0x00000000008c28b0 in ZEND_DO_FCALL_SPEC_HANDLER ()
at /data/software/php-7.0.6/Zend/zend_vm_execute.h:800
#4 0x00000000008851cb in execute_ex (ex=Unhandled dwarf expression opcode 0xf3
)
at /data/software/php-7.0.6/Zend/zend_vm_execute.h:414