php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29857 Core dump while using PEAR::SOAP
Submitted: 2004-08-26 22:51 UTC Modified: 2004-09-07 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: adam at trachtenberg dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5CVS-2004-08-26 (dev) OS: Suse Linux 9.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: adam at trachtenberg dot com
New email:
PHP Version: OS:

 

 [2004-08-26 22:51 UTC] adam at trachtenberg dot com
Description:
------------
While playing around with PEAR::SOAP under PHP 5, I can 
generate a core dump. 

Reproduce code:
---------------
I don't have a short test script yet, because it requires me to unravel PEAR::SOAP, but I am providing a back trace. 

If this is not enough to solve the problem then I will try to find time to break PEAR::SOAP down into little pieces. :)

Expected result:
----------------
No crash. 

Actual result:
--------------
#0  0x403b303e in _IO_new_file_xsputn () 
from /lib/tls/libc.so.6 
#1  0x403a972f in fwrite () from /lib/tls/libc.so.6 
#2  0x0825e0d6 in sapi_cli_single_write (str=0x0, 
str_length=6) 
    at /usr/local/cvs/php-src/sapi/cli/php_cli.c:192 
#3  0x0825c74e in sapi_cli_ub_write (str=0x0, 
str_length=6) 
    at /usr/local/cvs/php-src/sapi/cli/php_cli.c:205 
#4  0x081f33a5 in php_ub_body_write_no_header (str=0x0, 
str_length=6) 
    at /usr/local/cvs/php-src/main/output.c:684 
#5  0x081f1ff9 in php_body_write (str=0x0, str_length=6) 
    at /usr/local/cvs/php-src/main/output.c:119 
#6  0x081e38a8 in php_body_write_wrapper (str=0x0, 
str_length=6) 
    at /usr/local/cvs/php-src/main/main.c:1246 
#7  0x08229d64 in zend_print_zval_ex ( 
    write_func=0x81e3887 <php_body_write_wrapper>, 
expr=0xbfffc6c0, indent=0) 
    at /usr/local/cvs/php-src/Zend/zend.c:289 
#8  0x08229ce2 in zend_print_zval (expr=0xbfffc290, 
indent=0) 
    at /usr/local/cvs/php-src/Zend/zend.c:270 
#9  0x08229421 in zend_print_variable (var=0xbfffc290) 
    at /usr/local/cvs/php-src/Zend/zend_variables.c:154 
#10 0x0822a153 in zend_print_zval_r_ex ( 
    write_func=0x81e3887 <php_body_write_wrapper>, 
expr=0xbfffc290, indent=32) 
    at /usr/local/cvs/php-src/Zend/zend.c:391 
#11 0x08229fa0 in zend_print_zval_r (expr=0xbfffc290, 
indent=32) 
    at /usr/local/cvs/php-src/Zend/zend.c:346 
#12 0x08229773 in print_hash (ht=0x8640964, indent=28, 
is_object=0 '\0') 
    at /usr/local/cvs/php-src/Zend/zend.c:148 
#13 0x0822a039 in zend_print_zval_r_ex ( 
    write_func=0x81e3887 <php_body_write_wrapper>, 
expr=0x8640924, indent=24) 
    at /usr/local/cvs/php-src/Zend/zend.c:360 
#14 0x08229fa0 in zend_print_zval_r (expr=0x8640924, 
indent=24) 
    at /usr/local/cvs/php-src/Zend/zend.c:346 
#15 0x08229773 in print_hash (ht=0x864d3cc, indent=20, 
is_object=0 '\0') 
    at /usr/local/cvs/php-src/Zend/zend.c:148 
#16 0x0822a039 in zend_print_zval_r_ex ( 
    write_func=0x81e3887 <php_body_write_wrapper>, 
expr=0x864d38c, indent=16) 
    at /usr/local/cvs/php-src/Zend/zend.c:360 
#17 0x08229fa0 in zend_print_zval_r (expr=0x864d38c, 
indent=16) 
    at /usr/local/cvs/php-src/Zend/zend.c:346 
#18 0x08229773 in print_hash (ht=0x86142dc, indent=12, 
is_object=0 '\0') 
    at /usr/local/cvs/php-src/Zend/zend.c:148 
#19 0x0822a039 in zend_print_zval_r_ex ( 
    write_func=0x81e3887 <php_body_write_wrapper>, 
expr=0x861452c, indent=8) 
    at /usr/local/cvs/php-src/Zend/zend.c:360 
#20 0x08229fa0 in zend_print_zval_r (expr=0x861452c, 
indent=8) 
    at /usr/local/cvs/php-src/Zend/zend.c:346 
#21 0x08229773 in print_hash (ht=0x866904c, indent=4, 
is_object=1 '\001') 
    at /usr/local/cvs/php-src/Zend/zend.c:148 
#22 0x0822a13d in zend_print_zval_r_ex ( 
    write_func=0x81e3887 <php_body_write_wrapper>, 
expr=0x8633554, indent=0) 
    at /usr/local/cvs/php-src/Zend/zend.c:385 
#23 0x08229fa0 in zend_print_zval_r (expr=0x8633554, 
indent=0) 
    at /usr/local/cvs/php-src/Zend/zend.c:346 
#24 0x0816ee9e in zif_print_r (ht=1, 
return_value=0x863466c, this_ptr=0x0, 
    return_value_used=0) 
    at /usr/local/cvs/php-src/ext/standard/basic_functions.c:2750 
#25 0x082538e3 in zend_do_fcall_common_helper 
(execute_data=0xbfffcd50) 
    at /usr/local/cvs/php-src/Zend/zend_execute.c:2980 
#26 0x0825405c in zend_do_fcall_handler 
(execute_data=0xbfffcd50) 
    at /usr/local/cvs/php-src/Zend/zend_execute.c:3114 
#27 0x0824fcc3 in execute (op_array=0x836368c) 
    at /usr/local/cvs/php-src/Zend/zend_execute.c:1498 
#28 0x0822b530 in zend_execute_scripts (type=8, 
retval=0x0, file_count=3) 
    at /usr/local/cvs/php-src/Zend/zend.c:1052 
#29 0x081e42e9 in php_execute_script 
(primary_file=0xbffff150) 
    at /usr/local/cvs/php-src/main/main.c:1633 
#30 0x0825dbe7 in main (argc=2, argv=0xbffff224) 
    at /usr/local/cvs/php-src/sapi/cli/php_cli.c:943 
 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-27 09:08 UTC] derick@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 possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.
 [2004-09-07 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Nov 30 16:05:52 2022 UTC