ID: 28446
Updated by: [EMAIL PROTECTED]
Reported By: raewasch at ee dot oulu dot fi
-Status: Assigned
+Status: No Feedback
Bug Type: SOAP related
Operating System: Linux 2.4.22
PHP Version: 5.0.0RC2
Assigned To: dmitry
New Comment:
I think it is the same as #29109 and #29236, those are fixed.
Previous Comments:
------------------------------------------------------------------------
[2004-07-06 09:52:14] [EMAIL PROTECTED]
Could you please post your WSDL file here.
I can do nothing without it.
------------------------------------------------------------------------
[2004-05-19 17:36:12] raewasch at ee dot oulu dot fi
Description:
------------
A very simple soap client with a fairly complex WSDL file segfaults on
__getTypes()
Code is below. No GDB trace, but if this can't be replicated I can
send one.
The output:
$ php -v
PHP 5.0.0RC2 (cgi) (built: May 17 2004 20:08:36)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.0RC2, Copyright (c) 1998-2004 Zend Technologies
Reproduce code:
---------------
#!/usr/local/bin/php
<?php
ini_set("soap.wsdl_cache_enabled", 0);
$WSDL_URL = "http://www.ee.oulu.fi/~raewasch/mad-cpi-php-bug.wsdl";
$client = new SoapClient($WSDL_URL);
print_r($client->__getFunctions());
print_r($client->__getTypes());
?>
Expected result:
----------------
Not a segfault.
Actual result:
--------------
$ php soap-test.php
Content-type: text/html
X-Powered-By: PHP/5.0.0RC2
Array
(
[0] => void SetDefaultDeliveryRule(SetDefaultDeliveryRuleRequest
$setDefaultDeliveryRule)
<...snip reasonable output...>
[11] => GetAdRenderURLResponse GetAdRenderURL(GetAdRenderURLRequest
$getAdRenderURL)
)
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28446&edit=1