Forum

PHP core dump

godguy
10 October 2008, 10:29
hi :
i use hiawatha fastcgi bind php, i often find PHP core dump, can you give me some suggestions?
core dump:
AH-02fc43:/tmp# gdb php-cgi php-cgi_pid1000_sig11_time1223606808.core
GNU gdb 6.5 Cavium Networks Version: 1_6_0, build 30
Copyright (C) 2006 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 "mips64-octeon-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib64/libthread_db.so.1".

Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /opt/ah/lib/libah_mpi.so...
(no debugging symbols found)...done.
Loaded symbols for /opt/ah/lib/libah_mpi.so
Reading symbols from /opt/ah/lib/libah.so...done.
Loaded symbols for /opt/ah/lib/libah.so
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld.so.1...done.
Loaded symbols for /lib64/ld.so.1

Core was generated by `/usr/local/bin/php-cgi -b 127.0.0.1:2008'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000012019c180 in ini__scan_bytes ()
(gdb) bt
#0 0x000000012019c180 in ini__scan_bytes ()
#1 0x0000000120440db0 in cwd_globals ()
#2 0x0000000120440db0 in cwd_globals ()
Previous frame identical to this frame (corrupt stack?)
(gdb)


thanks!
godguy
10 October 2008, 10:57
i also find, i do nothing, after a while, PHP will core dump.
Hugo Leisink
10 October 2008, 11:06
I can only help you with Hiawatha problems. You should report problems with PHP to the PHP developer team: http://bugs.php.net/.
This topic has been closed.