|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28446 SoapClient Segmentation Fault _getTypes after loading WSDL
Submitted: 2004-05-19 17:36 UTC Modified: 2004-07-19 17:44 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: raewasch at ee dot oulu dot fi Assigned: dmitry (profile)
Status: Not a bug Package: SOAP related
PHP Version: 5.0.0RC2 OS: Linux 2.4.22
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: raewasch at ee dot oulu dot fi
New email:
PHP Version: OS:


 [2004-05-19 17:36 UTC] raewasch at ee dot oulu dot fi
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:

ini_set("soap.wsdl_cache_enabled", 0);

$WSDL_URL = "";
$client = new SoapClient($WSDL_URL);



Expected result:
Not a segfault.

Actual result:
$ php soap-test.php 
Content-type: text/html
X-Powered-By: PHP/5.0.0RC2

    [0] => void SetDefaultDeliveryRule(SetDefaultDeliveryRuleRequest $setDefaultDeliveryRule)
<...snip reasonable output...>
    [11] => GetAdRenderURLResponse GetAdRenderURL(GetAdRenderURLRequest $getAdRenderURL)
Segmentation fault


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-06 09:52 UTC]
Could you please post your WSDL file here.
I can do nothing without it.
 [2004-07-19 17:42 UTC]
I think it is the same as #29109 and #29236, those are fixed.
 [2004-07-19 17:44 UTC]
Duplicate -> bogus.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Sep 27 06:01:24 2023 UTC