#36517 [Asn]: Soap client dies with a memory exhaustion error
| From: | dmitry@php.net | Date: | Fri, 10 Mar 2006 12:57:55 +0000 |
| Subject: | #36517 [Asn]: Soap client dies with a memory exhaustion error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-94136@lists.php.net to get a copy of this message | ||
ID: 36517
Updated by: dmitry@php.net
Reported By: phuttunen at digifonica dot com
Status: Assigned
Bug Type: SimpleXML related
Operating System: FreeBSD 6.0-RELEASE-p4
PHP Version: 5.1.2
-Assigned To: dmitry
+Assigned To: helly
New Comment:
I still cannot reproduce memory overflow with your new code.
The output is different dependent on 'make_simple_xml_that_works', but
seems this is not a bug. Seems simplexml should produce such output by
design.
The test script doesn't use ext/soap, so the bug cannot be ext/soap
dependent.
Reassigned to simplexml maintainer.
Previous Comments:
------------------------------------------------------------------------
[2006-03-06 22:21:28] phuttunen at digifonica dot com
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.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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