Hi!
I don't found any .core than I generated it using:
# gdb /usr/local/sbin/php-fpm
Before that, I compiled again my php 5.3.14 and all module, just to add the --enable-debug as suggested in the page, but I don't understand where are the troubles:
root@web1:/home/web# gdb /usr/local/sbin/php-fpm
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
(gdb) run
Starting program: /usr/local/sbin/php-fpm
[New LWP 102217]
[New Thread 8018041c0 (LWP 102217)]
Program exited normally.
(gdb) stop
root@web1:/home/web# gdb /usr/local/sbin/php-fpm /home/web/php-fpm.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Core was generated by `php-fpm'.
Program terminated with signal 5, Trace/breakpoint trap.
Reading symbols from /lib/libcrypt.so.5...done.
Loaded symbols for /lib/libcrypt.so.5
Reading symbols from /usr/local/lib/libpcre.so.1...done.
Loaded symbols for /usr/local/lib/libpcre.so.1
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /usr/local/lib/libxml2.so.5...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /lib/libz.so.5...done.
Loaded symbols for /lib/libz.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/php/20090626-debug/bcmath.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/bcmath.so
Reading symbols from /usr/local/lib/php/20090626-debug/bz2.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/bz2.so
Reading symbols from /usr/lib/libbz2.so.4...done.
Loaded symbols for /usr/lib/libbz2.so.4
Reading symbols from /usr/local/lib/php/20090626-debug/calendar.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/calendar.so
Reading symbols from /usr/local/lib/php/20090626-debug/ctype.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/ctype.so
Reading symbols from /usr/local/lib/php/20090626-debug/curl.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/curl.so
Reading symbols from /usr/local/lib/libcurl.so.6...done.
Loaded symbols for /usr/local/lib/libcurl.so.6
Reading symbols from /usr/lib/libssl.so.6...done.
Loaded symbols for /usr/lib/libssl.so.6
Reading symbols from /lib/libcrypto.so.6...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /usr/local/lib/php/20090626-debug/dom.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/dom.so
Reading symbols from /usr/local/lib/php/20090626-debug/exif.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/exif.so
Reading symbols from /usr/local/lib/php/20090626-debug/fileinfo.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/fileinfo.so
Reading symbols from /usr/local/lib/php/20090626-debug/filter.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/filter.so
Reading symbols from /usr/local/lib/php/20090626-debug/ftp.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/ftp.so
Reading symbols from /usr/local/lib/php/20090626-debug/gd.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/gd.so
Reading symbols from /usr/local/lib/libt1.so.5...done.
Loaded symbols for /usr/local/lib/libt1.so.5
Reading symbols from /usr/local/lib/libfreetype.so.9...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /usr/local/lib/libX11.so.6...done.
Loaded symbols for /usr/local/lib/libX11.so.6
Reading symbols from /usr/local/lib/libXpm.so.4...done.
Loaded symbols for /usr/local/lib/libXpm.so.4
Reading symbols from /usr/local/lib/libpng15.so.15...done.
Loaded symbols for /usr/local/lib/libpng15.so.15
Reading symbols from /usr/local/lib/libjpeg.so.11...done.
Loaded symbols for /usr/local/lib/libjpeg.so.11
Reading symbols from /usr/local/lib/libxcb.so.2...done.
Loaded symbols for /usr/local/lib/libxcb.so.2
Reading symbols from /usr/local/lib/libXau.so.6...done.
Loaded symbols for /usr/local/lib/libXau.so.6
Reading symbols from /usr/local/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/local/lib/libXdmcp.so.6
Reading symbols from /usr/local/lib/libpthread-stubs.so.0...done.
Loaded symbols for /usr/local/lib/libpthread-stubs.so.0
Reading symbols from /usr/lib/librpcsvc.so.5...done.
Loaded symbols for /usr/lib/librpcsvc.so.5
Reading symbols from /usr/local/lib/php/20090626-debug/gettext.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/gettext.so
Reading symbols from /usr/local/lib/libintl.so.9...done.
Loaded symbols for /usr/local/lib/libintl.so.9
Reading symbols from /usr/local/lib/php/20090626-debug/hash.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/hash.so
Reading symbols from /usr/local/lib/php/20090626-debug/iconv.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/iconv.so
Reading symbols from /usr/local/lib/php/20090626-debug/json.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/json.so
Reading symbols from /usr/local/lib/php/20090626-debug/mbstring.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/mbstring.so
Reading symbols from /usr/local/lib/libonig.so.1...done.
Loaded symbols for /usr/local/lib/libonig.so.1
Reading symbols from /usr/local/lib/php/20090626-debug/mcrypt.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/mcrypt.so
Reading symbols from /usr/local/lib/libmcrypt.so.8...done.
Loaded symbols for /usr/local/lib/libmcrypt.so.8
Reading symbols from /usr/local/lib/libltdl.so.7...done.
Loaded symbols for /usr/local/lib/libltdl.so.7
Reading symbols from /usr/local/lib/php/20090626-debug/mysql.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/mysql.so
Reading symbols from /usr/local/lib/php/20090626-debug/mysqli.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/mysqli.so
Reading symbols from /usr/local/lib/php/20090626-debug/openssl.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/openssl.so
Reading symbols from /usr/local/lib/php/20090626-debug/pdf.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/pdf.so
Reading symbols from /usr/local/lib/libpdf.so.6...done.
Loaded symbols for /usr/local/lib/libpdf.so.6
Reading symbols from /usr/local/lib/php/20090626-debug/pdo.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/pdo.so
Reading symbols from /usr/local/lib/php/20090626-debug/phar.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/phar.so
Reading symbols from /usr/local/lib/php/20090626-debug/posix.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/posix.so
Reading symbols from /usr/local/lib/php/20090626-debug/session.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/session.so
Reading symbols from /usr/local/lib/php/20090626-debug/shmop.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/shmop.so
Reading symbols from /usr/local/lib/php/20090626-debug/simplexml.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/simplexml.so
Reading symbols from /usr/local/lib/php/20090626-debug/soap.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/soap.so
Reading symbols from /usr/local/lib/php/20090626-debug/sockets.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/sockets.so
Reading symbols from /usr/local/lib/php/20090626-debug/sysvmsg.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/sysvmsg.so
Reading symbols from /usr/local/lib/php/20090626-debug/sysvsem.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/sysvsem.so
Reading symbols from /usr/local/lib/php/20090626-debug/sysvshm.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/sysvshm.so
Reading symbols from /usr/local/lib/php/20090626-debug/tokenizer.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/tokenizer.so
Reading symbols from /usr/local/lib/php/20090626-debug/xml.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/xml.so
Reading symbols from /usr/local/lib/php/20090626-debug/wddx.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/wddx.so
Reading symbols from /usr/local/lib/php/20090626-debug/xmlreader.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/xmlreader.so
Reading symbols from /usr/local/lib/php/20090626-debug/xmlrpc.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/xmlrpc.so
Reading symbols from /usr/local/lib/php/20090626-debug/xmlwriter.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/xmlwriter.so
Reading symbols from /usr/local/lib/php/20090626-debug/xsl.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/xsl.so
Reading symbols from /usr/local/lib/libexslt.so.8...done.
Loaded symbols for /usr/local/lib/libexslt.so.8
Reading symbols from /usr/local/lib/libxslt.so.2...done.
Loaded symbols for /usr/local/lib/libxslt.so.2
Reading symbols from /usr/local/lib/libgcrypt.so.18...done.
Loaded symbols for /usr/local/lib/libgcrypt.so.18
Reading symbols from /usr/local/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/local/lib/libgpg-error.so.0
Reading symbols from /usr/local/lib/php/20090626-debug/zip.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/zip.so
Reading symbols from /usr/local/lib/php/20090626-debug/zlib.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/zlib.so
Reading symbols from /usr/local/lib/php/20090626-debug/apc.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/apc.so
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/local/lib/php/20090626-debug/memcache.so...done.
Loaded symbols for /usr/local/lib/php/20090626-debug/memcache.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x00000008008ff101 in r_debug_state () from /libexec/ld-elf.so.1
[New Thread 8018041c0 (LWP 101412)]
(gdb) bt
#0 0x00000008008ff101 in r_debug_state () from /libexec/ld-elf.so.1
#1 0x0000000800902ed4 in dlclose () from /libexec/ld-elf.so.1
#2 0x000000000061cdb2 in module_destructor (module=0x8018877c0) at /usr/ports/lang/php53/work/php-5.3.14/Zend/zend_API.c:2141
#3 0x00000000006249e1 in zend_hash_apply_deleter (ht=0x94b2e0, p=0x80195ddd0) at /usr/ports/lang/php53/work/php-5.3.14/Zend/zend_hash.c:814
#4 0x0000000000624b5a in zend_hash_graceful_reverse_destroy (ht=0x94b2e0) at /usr/ports/lang/php53/work/php-5.3.14/Zend/zend_hash.c:850
#5 0x00000000006126c8 in zend_shutdown () at /usr/ports/lang/php53/work/php-5.3.14/Zend/zend.c:831
#6 0x0000000000599ced in php_module_shutdown () at /usr/ports/lang/php53/work/php-5.3.14/main/main.c:2201
#7 0x0000000000714724 in fpm_php_cleanup (which=8, arg=0x0) at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/fpm_php.c:199
#8 0x0000000000709be7 in fpm_cleanups_run (type=8) at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/fpm_cleanup.c:45
#9 0x000000000071547c in fpm_pctl_exec () at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/fpm_process_ctl.c:100
#10 0x00000000007154ef in fpm_pctl_action_last () at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/fpm_process_ctl.c:111
#11 0x0000000000715840 in fpm_pctl (new_state=0, action=2) at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/fpm_process_ctl.c:238
#12 0x00000000007158a5 in fpm_pctl_child_exited () at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/fpm_process_ctl.c:258
#13 0x00000000007092e4 in fpm_children_bury () at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/fpm_children.c:259
#14 0x000000000070ea42 in fpm_got_signal (ev=0x944920, which=2, arg=0x0) at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/fpm_events.c:73
#15 0x000000000070f913 in fpm_event_fire (ev=0x944920) at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/fpm_events.c:455
#16 0x000000000071ca98 in fpm_event_kqueue_wait (queue=0x806f3dfa0, timeout=984) at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/events/kqueue.c:146
#17 0x000000000070f671 in fpm_event_loop (err=0) at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/fpm_events.c:401
#18 0x0000000000708bb6 in fpm_run (max_requests=0x7fffffffea6c) at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/fpm.c:110
#19 0x0000000000713cec in main (argc=1, argv=0x7fffffffebf0) at /usr/ports/lang/php53/work/php-5.3.14/sapi/fpm/fpm/fpm_main.c:1778
(gdb)