欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

如何查看php-fpm core dump 文件的错误?

程序员文章站 2022-04-19 19:55:29
...
gdb /usr/local/services/php/sbin/php-fpm -c /tmp/core.php-fpm.1468496864.55474
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-90.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/local/services/php/sbin/php-fpm...done.
[New Thread 55474]
Missing separate debuginfo for /usr/local/services/mysql/lib/libmysqlclient.so.18
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/7a/9528682ebdcdc4f0886a81b4d37c5715c1a522
Missing separate debuginfo for /usr/local/lib/libmcrypt.so.4
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/9f/d04abf9bd41db950fd6c848d8602cd184f7053
Missing separate debuginfo for /usr/local/gd2/lib/libgd.so.3
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/45/685760d7ba39e6d5987b9babb073a75a53b737
Missing separate debuginfo for /usr/local/zlib//lib/libz.so.1
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/68/aba0830456cf7f286bb906e2808c4870bf25e0
Missing separate debuginfo for /usr/local/libpng/lib/libpng16.so.16
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/81/6fadbdfcd2339f8d807c7c272022f38d3ca8f7
Missing separate debuginfo for /usr/local/jpeg9/lib/libjpeg.so.9
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/1d/556f83f9a7f08464194fb61e5dccd39186ba88
Missing separate debuginfo for /usr/local/freetype/lib/libfreetype.so.6
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/94/caf69dd5f3cb429b7ab32c064884f31b67a713
Missing separate debuginfo for /usr/local/lib/libiconv.so.2
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/25/9306ffa3beeab47cb9682bf56d07267220aa13
Missing separate debuginfo for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/opcache.so
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/4a/fc378a8f079033778a96f93e07ed5f3e46fd46
Missing separate debuginfo for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/memcache.so
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/62/55003cdc13c5afc11862ac9e5a42fcf9cd1485
Missing separate debuginfo for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/protobuf.so
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/ea/f3944d7b69ba59c68b9a551ad147bcb29b91e0
Missing separate debuginfo for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/38/2d72310fa371f371dcf3576d6264c751c6116b
Missing separate debuginfo for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/openssl.so
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/7a/c0448084fce799804939ad735755b66bbe47ce
Missing separate debuginfo for
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/1e/0a7d58f454926e2afb4797865d85801ed65ece
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /usr/local/services/mysql/lib/libmysqlclient.so.18...done.
Loaded symbols for /usr/local/services/mysql/lib/libmysqlclient.so.18
Reading symbols from /usr/local/lib/libmcrypt.so.4...done.
Loaded symbols for /usr/local/lib/libmcrypt.so.4
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/local/gd2/lib/libgd.so.3...done.
Loaded symbols for /usr/local/gd2/lib/libgd.so.3
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /usr/local/zlib//lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/zlib//lib/libz.so.1
Reading symbols from /lib64/libbz2.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libbz2.so.1
Reading symbols from /usr/lib64/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libfontconfig.so.1
Reading symbols from /usr/lib64/libXpm.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXpm.so.4
Reading symbols from /usr/lib64/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libX11.so.6
Reading symbols from /usr/local/libpng/lib/libpng16.so.16...done.
Loaded symbols for /usr/local/libpng/lib/libpng16.so.16
Reading symbols from /usr/local/jpeg9/lib/libjpeg.so.9...done.
Loaded symbols for /usr/local/jpeg9/lib/libjpeg.so.9
Reading symbols from /usr/lib64/libcurl.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcurl.so.4
Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /usr/lib64/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libxml2.so.2
Reading symbols from /usr/local/freetype/lib/libfreetype.so.6...done.
Loaded symbols for /usr/local/freetype/lib/libfreetype.so.6
Reading symbols from /usr/lib64/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libpng12.so.0
Reading symbols from /usr/local/lib/libiconv.so.2...done.
Loaded symbols for /usr/local/lib/libiconv.so.2
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libfreebl3.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libstdc++.so.6
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libexpat.so.1
Reading symbols from /usr/lib64/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libxcb.so.1
Reading symbols from /lib64/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /lib64/libidn.so.11
Reading symbols from /lib64/libldap-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libldap-2.4.so.2
Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgssapi_krb5.so.2
Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5.so.3
Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libk5crypto.so.3
Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libssl3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl3.so
Reading symbols from /usr/lib64/libsmime3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsmime3.so
Reading symbols from /usr/lib64/libnss3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnss3.so
Reading symbols from /usr/lib64/libnssutil3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnssutil3.so
Reading symbols from /lib64/libplds4.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libplds4.so
Reading symbols from /lib64/libplc4.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libplc4.so
Reading symbols from /lib64/libnspr4.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnspr4.so
Reading symbols from /usr/lib64/libssh2.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssh2.so.1
Reading symbols from /usr/lib64/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXau.so.6
Reading symbols from /lib64/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/liblber-2.4.so.2
Reading symbols from /usr/lib64/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsasl2.so.2
Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl.so.10
Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcrypto.so.10
Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/opcache.so...done.
Loaded symbols for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/opcache.so
Reading symbols from /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/memcache.so...done.
Loaded symbols for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/memcache.so
Reading symbols from /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/protobuf.so...done.
Loaded symbols for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/protobuf.so
Reading symbols from /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so...done.
Loaded symbols for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so
Reading symbols from /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/openssl.so...done.
Loaded symbols for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/openssl.so
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2
Core was generated by `php-fpm: pool www '.
Program terminated with signal 11, Segmentation fault.

0 _zend_mm_free_int (heap=0x27be2d0, p=0x7fb4c4ec6b78) at /usr/local/src/php-5.6.0/Zend/zend_alloc.c:2104

2104 if (ZEND_MM_IS_FREE_BLOCK(next_block)) {
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-7.el6_0.x86_64 cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 expat-2.0.1-11.el6_2.x86_64 fontconfig-2.8.0-5.el6.x86_64 glibc-2.12-1.166.el6_7.3.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-42.el6.x86_64 libX11-1.6.0-6.el6.x86_64 libXau-1.0.6-4.el6.x86_64 libXpm-3.5.10-2.el6.x86_64 libcom_err-1.41.12-22.el6.x86_64 libcurl-7.19.7-46.el6.x86_64 libgcc-4.4.7-16.el6.x86_64 libidn-1.18-2.el6.x86_64 libpng-1.2.49-2.el6_7.x86_64 libselinux-2.0.94-5.8.el6.x86_64 libssh2-1.4.2-1.el6.x86_64 libstdc++-4.4.7-16.el6.x86_64 libxcb-1.9.1-3.el6.x86_64 libxml2-2.7.6-20.el6_7.1.x86_64 nspr-4.10.6-1.el6_5.x86_64 nss-3.16.1-4.el6_5.x86_64 nss-softokn-freebl-3.14.3-10.el6_5.x86_64 nss-util-3.16.1-1.el6_5.x86_64 openldap-2.4.40-7.el6_7.x86_64 openssl-1.0.1e-42.el6_7.1.x86_64
(gdb)

回复内容:

gdb /usr/local/services/php/sbin/php-fpm -c /tmp/core.php-fpm.1468496864.55474
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-90.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/local/services/php/sbin/php-fpm...done.
[New Thread 55474]
Missing separate debuginfo for /usr/local/services/mysql/lib/libmysqlclient.so.18
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/7a/9528682ebdcdc4f0886a81b4d37c5715c1a522
Missing separate debuginfo for /usr/local/lib/libmcrypt.so.4
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/9f/d04abf9bd41db950fd6c848d8602cd184f7053
Missing separate debuginfo for /usr/local/gd2/lib/libgd.so.3
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/45/685760d7ba39e6d5987b9babb073a75a53b737
Missing separate debuginfo for /usr/local/zlib//lib/libz.so.1
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/68/aba0830456cf7f286bb906e2808c4870bf25e0
Missing separate debuginfo for /usr/local/libpng/lib/libpng16.so.16
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/81/6fadbdfcd2339f8d807c7c272022f38d3ca8f7
Missing separate debuginfo for /usr/local/jpeg9/lib/libjpeg.so.9
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/1d/556f83f9a7f08464194fb61e5dccd39186ba88
Missing separate debuginfo for /usr/local/freetype/lib/libfreetype.so.6
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/94/caf69dd5f3cb429b7ab32c064884f31b67a713
Missing separate debuginfo for /usr/local/lib/libiconv.so.2
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/25/9306ffa3beeab47cb9682bf56d07267220aa13
Missing separate debuginfo for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/opcache.so
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/4a/fc378a8f079033778a96f93e07ed5f3e46fd46
Missing separate debuginfo for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/memcache.so
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/62/55003cdc13c5afc11862ac9e5a42fcf9cd1485
Missing separate debuginfo for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/protobuf.so
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/ea/f3944d7b69ba59c68b9a551ad147bcb29b91e0
Missing separate debuginfo for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/38/2d72310fa371f371dcf3576d6264c751c6116b
Missing separate debuginfo for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/openssl.so
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/7a/c0448084fce799804939ad735755b66bbe47ce
Missing separate debuginfo for
Try: yum --enablerepo='-debug' install /usr/lib/debug/.build-id/1e/0a7d58f454926e2afb4797865d85801ed65ece
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /usr/local/services/mysql/lib/libmysqlclient.so.18...done.
Loaded symbols for /usr/local/services/mysql/lib/libmysqlclient.so.18
Reading symbols from /usr/local/lib/libmcrypt.so.4...done.
Loaded symbols for /usr/local/lib/libmcrypt.so.4
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/local/gd2/lib/libgd.so.3...done.
Loaded symbols for /usr/local/gd2/lib/libgd.so.3
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /usr/local/zlib//lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/zlib//lib/libz.so.1
Reading symbols from /lib64/libbz2.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libbz2.so.1
Reading symbols from /usr/lib64/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libfontconfig.so.1
Reading symbols from /usr/lib64/libXpm.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXpm.so.4
Reading symbols from /usr/lib64/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libX11.so.6
Reading symbols from /usr/local/libpng/lib/libpng16.so.16...done.
Loaded symbols for /usr/local/libpng/lib/libpng16.so.16
Reading symbols from /usr/local/jpeg9/lib/libjpeg.so.9...done.
Loaded symbols for /usr/local/jpeg9/lib/libjpeg.so.9
Reading symbols from /usr/lib64/libcurl.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcurl.so.4
Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /usr/lib64/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libxml2.so.2
Reading symbols from /usr/local/freetype/lib/libfreetype.so.6...done.
Loaded symbols for /usr/local/freetype/lib/libfreetype.so.6
Reading symbols from /usr/lib64/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libpng12.so.0
Reading symbols from /usr/local/lib/libiconv.so.2...done.
Loaded symbols for /usr/local/lib/libiconv.so.2
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libfreebl3.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libstdc++.so.6
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libexpat.so.1
Reading symbols from /usr/lib64/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libxcb.so.1
Reading symbols from /lib64/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /lib64/libidn.so.11
Reading symbols from /lib64/libldap-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libldap-2.4.so.2
Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgssapi_krb5.so.2
Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5.so.3
Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libk5crypto.so.3
Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libssl3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl3.so
Reading symbols from /usr/lib64/libsmime3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsmime3.so
Reading symbols from /usr/lib64/libnss3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnss3.so
Reading symbols from /usr/lib64/libnssutil3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnssutil3.so
Reading symbols from /lib64/libplds4.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libplds4.so
Reading symbols from /lib64/libplc4.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libplc4.so
Reading symbols from /lib64/libnspr4.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnspr4.so
Reading symbols from /usr/lib64/libssh2.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssh2.so.1
Reading symbols from /usr/lib64/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXau.so.6
Reading symbols from /lib64/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/liblber-2.4.so.2
Reading symbols from /usr/lib64/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsasl2.so.2
Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl.so.10
Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcrypto.so.10
Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/opcache.so...done.
Loaded symbols for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/opcache.so
Reading symbols from /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/memcache.so...done.
Loaded symbols for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/memcache.so
Reading symbols from /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/protobuf.so...done.
Loaded symbols for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/protobuf.so
Reading symbols from /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so...done.
Loaded symbols for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so
Reading symbols from /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/openssl.so...done.
Loaded symbols for /usr/local/services/php/lib/php/extensions/no-debug-non-zts-20131226/openssl.so
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2
Core was generated by `php-fpm: pool www '.
Program terminated with signal 11, Segmentation fault.

0 _zend_mm_free_int (heap=0x27be2d0, p=0x7fb4c4ec6b78) at /usr/local/src/php-5.6.0/Zend/zend_alloc.c:2104

2104 if (ZEND_MM_IS_FREE_BLOCK(next_block)) {
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-7.el6_0.x86_64 cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 expat-2.0.1-11.el6_2.x86_64 fontconfig-2.8.0-5.el6.x86_64 glibc-2.12-1.166.el6_7.3.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-42.el6.x86_64 libX11-1.6.0-6.el6.x86_64 libXau-1.0.6-4.el6.x86_64 libXpm-3.5.10-2.el6.x86_64 libcom_err-1.41.12-22.el6.x86_64 libcurl-7.19.7-46.el6.x86_64 libgcc-4.4.7-16.el6.x86_64 libidn-1.18-2.el6.x86_64 libpng-1.2.49-2.el6_7.x86_64 libselinux-2.0.94-5.8.el6.x86_64 libssh2-1.4.2-1.el6.x86_64 libstdc++-4.4.7-16.el6.x86_64 libxcb-1.9.1-3.el6.x86_64 libxml2-2.7.6-20.el6_7.1.x86_64 nspr-4.10.6-1.el6_5.x86_64 nss-3.16.1-4.el6_5.x86_64 nss-softokn-freebl-3.14.3-10.el6_5.x86_64 nss-util-3.16.1-1.el6_5.x86_64 openldap-2.4.40-7.el6_7.x86_64 openssl-1.0.1e-42.el6_7.1.x86_64
(gdb)

php-fpm只是一个cgi管理器而已,其实控制的是php-cgi处理php程序,由于php-fpm的多进程的,所以并不方便进行调试,建议通过php-cgi来看调试php或者扩展在cgi环境运行的过程,这和php-fpm是基本一致的,但是php-cgi是单进程的,所以调试方便一些,通过gdb打断点,看Core dump也很容易。

你可以看下PHP鸟哥的如何调试PHP的Core之获取基本信息

相关标签: php