From: Operating system: Debian PHP version: 5.3.2 Package: Reproducible crash Bug Type: Bug Bug description:Segfault when registering an error.
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 bug report at http://bugs.php.net/bug.php?id=51762&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51762&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51762&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51762&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51762&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51762&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51762&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51762&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51762&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51762&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51762&r=support Expected behavior: http://bugs.php.net/fix.php?id=51762&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51762&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51762&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51762&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51762&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51762&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51762&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51762&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51762&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51762&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51762&r=mysqlcfg