#36517 [Opn]: Soap client dies with a memory exhaustion error
| From: | phuttunen at digifonica dot com | Date: | Mon, 06 Mar 2006 21:21:29 +0000 |
| Subject: | #36517 [Opn]: Soap client dies with a memory exhaustion error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-93992@lists.php.net to get a copy of this message | ||
ID: 36517
User updated by: phuttunen at digifonica dot com
Reported By: phuttunen at digifonica dot com
Status: Open
Bug Type: SimpleXML related
Operating System: FreeBSD 6.0-RELEASE-p4
PHP Version: 5.1.2
New Comment:
Tested with various PHP versions and libxml2-2.6.23.
The example codes work fine with PHP-5.0.4 and 5.0.5 (w/libxml-2.6.23),
but not with any PHP-5.1.X versions.
This implies that the problem is also related to PHP/SOAP and not just
SimpleXML.
Previous Comments:
------------------------------------------------------------------------
[2006-03-02 17:53:53] phuttunen at digifonica dot com
Tested with higher memory_limit values (10M, 20M, 40M, 200M), but could
not get the code to work.
I agree that the problem it more like simplexml than soap, but it's the
soap response that causes simplexml to fail.
I created another test program
(http://www3.telus.net/pena/test_parse_xml-2.php.txt) that should show
the problem more clearly. Change variable
'make_simple_xml_that_works=1' on line 6 to see the expected output.
Set the variable to 0 to see the incorrect output.
------------------------------------------------------------------------
[2006-03-02 15:21:17] dmitry@php.net
The bug is not releated to ext/soap.
It is probably releated to somplexml, but I cannot reproduce it. May be
you have very small memory_limit setting in yor php.ini?
------------------------------------------------------------------------
[2006-03-01 08:54:01] tony2001@php.net
Assigned to the maintainer.
------------------------------------------------------------------------
[2006-02-27 18:16:39] phuttunen at digifonica dot com
Tried with a CVS snapshot (php5.1-200602271530), but the code still
fails.
------------------------------------------------------------------------
[2006-02-26 09:12:22] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/36517
--
Edit this bug report at http://bugs.php.net/?id=36517&edit=1