php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
46 - 13 = ?
Subscribe to this entry?

 
 [2010-05-07 01:51 UTC] 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)



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-12 09:32 UTC] mike@php.net
-Status: Open +Status: Feedback
 [2010-05-12 09:32 UTC] mike@php.net
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: Wed Sep 28 23:05:52 2022 UTC