ID: 36517 Updated by: [EMAIL PROTECTED] 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: helly New Comment:
Please provide a backtrace. The most interesting information would be to set a brakepoint on zend_error() and show the backtrace. It would further more be interesting to run this thing in valgrind/memcheck. And please stop flooding the bug site or this bug will simply be closed. You made it impossible to get any relevant information here. Previous Comments: ------------------------------------------------------------------------ [2006-03-10 13:57:53] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] Assigned to the maintainer. ------------------------------------------------------------------------ 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