Edit report at http://bugs.php.net/bug.php?id=51762&edit=1
ID: 51762 Updated by: m...@php.net Reported by: RajivK at Sparklit dot com Summary: Segfault when registering an error. -Status: Open +Status: Feedback Type: Bug Package: Reproducible crash Operating System: Debian PHP Version: 5.3.2 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2010-05-07 01:51:50] RajivK at Sparklit dot com Description: ------------ We are running a program that has some 100,000 lines and we experienced some segfaults (1 in 10 times or so) on one of 2 servers. Both servers are nearly identical. Here is a back trace (Sorry I didn't have time to debug it further) hopefully it means something to somebody more familiar with the code. (gdb) continue Continuing. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fd8a3087710 (LWP 20068)] 0x00007fd8a0605588 in ?? () from /lib/libc.so.6 (gdb) bt #0 0x00007fd8a0605588 in ?? () from /lib/libc.so.6 #1 0x00007fd8a0605a36 in free () from /lib/libc.so.6 #2 0x00000000006e9ecb in php_error_cb (type=2048, error_filename=0x7fd89b4b7430 "/home/webroot/blog/inc/class/blogPostInterface.class", error_lineno=17, format=<value optimized out>, args=<value optimized out>) at /usr/src/mar17/php-5.3.2/main/main.c:908 #3 0x00000000005e37e5 in soap_error_handler (error_num=2048, error_filename=0x7fd89b4b7430 "/home/webroot/blog/inc/class/blogPostInterface.class", error_lineno=17, format=0xc4fc08 "Non-static method %s::%s() should not be called statically", args=0x7fffc35aa320) at /usr/src/mar17/php-5.3.2/ext/soap/soap.c:2284 #4 0x000000000073af54 in zend_error (type=2048, format=0xc4fc08 "Non-static method %s::%s() should not be called statically") at /usr/src/mar17/php-5.3.2/Zend/zend.c:1029 #5 0x0000000000789128 in zend_do_fcall_common_helper_SPEC (execute_data=0x136a500) at /usr/src/mar17/php-5.3.2/Zend/zend_vm_execute.h:274 #6 0x0000000000765fd1 in execute (op_array=0x10ffb38) at /usr/src/mar17/php-5.3.2/Zend/zend_vm_execute.h:104 #7 0x000000000073a845 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/mar17/php-5.3.2/Zend/zend.c:1194 #8 0x00000000006e749f in php_execute_script (primary_file=0x7fffc35aecd0) at /usr/src/mar17/php-5.3.2/main/main.c:2260 #9 0x00000000007c3ac7 in main (argc=1, argv=0x7fffc35aef48) at /usr/src/mar17/php-5.3.2/sapi/cgi/cgi_main.c:2102 (gdb) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51762&edit=1