|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2004-07-06 09:52 UTC] dmitry@php.net
  [2004-07-19 17:42 UTC] dmitry@php.net
  [2004-07-19 17:44 UTC] tony2001@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 14:00:01 2025 UTC | 
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