|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51762 Segfault when registering an error.
Submitted: 2010-05-07 01:51 UTC Modified: 2013-02-18 00:34 UTC
From: RajivK at Sparklit dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.3.2 OS: Debian
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: RajivK at Sparklit dot com
New email:
PHP Version: OS:


 [2010-05-07 01:51 UTC] RajivK at Sparklit dot com
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

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fd8a3087710 (LWP 20068)]
0x00007fd8a0605588 in ?? () from /lib/
(gdb) bt
#0  0x00007fd8a0605588 in ?? () from /lib/
#1  0x00007fd8a0605a36 in free () from /lib/
#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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-12 09:32 UTC]
-Status: Open +Status: Feedback
 [2010-05-12 09:32 UTC]
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.

 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Sep 30 02:03:44 2022 UTC