#40561 [Opn->Fbk]: call to soap-server produces segfault
| From: | tony2001@php.net | Date: | Tue, 20 Feb 2007 16:09:02 +0000 |
| Subject: | #40561 [Opn->Fbk]: call to soap-server produces segfault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109195@lists.php.net to get a copy of this message | ||
ID: 40561
Updated by: tony2001@php.net
Reported By: andreas at dolleschal dot org
-Status: Open
+Status: Feedback
Bug Type: SOAP related
Operating System: Linux
PHP Version: 5.2.1
New Comment:
Can't see any segfaults, only an uncaught exception:
Fatal error: Uncaught SoapFault exception: [HTTP] Internal Server Error
in /tmp/4.php:12
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml version="...',
'http://space.de...', '', 1, 0)
#1 [internal function]: SoapClient->__call('quickSearch', Array)
#2 /tmp/4.php(12): SoapClient->quickSearch(Object(stdClass))
#3 {main}
thrown in /tmp/4.php on line 12
Previous Comments:
------------------------------------------------------------------------
[2007-02-20 16:01:29] andreas at dolleschal dot org
sorry. use
http://space.developer.at:8080/clearspace/rpc/soap/SearchService?wsdl
as request-url.
------------------------------------------------------------------------
[2007-02-20 15:55:56] tony2001@php.net
Ah, I see. It's "localhost" in your WSDL.
I need a working reproduce case to investigate it.
------------------------------------------------------------------------
[2007-02-20 15:50:14] andreas at dolleschal dot org
What else? If I try to call the URL directly I get the
wsdl-descriptions?
------------------------------------------------------------------------
[2007-02-20 15:44:01] tony2001@php.net
eval.jivesoftware.com does not respond by HTTP.
------------------------------------------------------------------------
[2007-02-20 15:38:37] andreas at dolleschal dot org
Description:
------------
the following function produces a segmentation fault.
Reproduce code:
---------------
<?php
$wsdl =
"http://eval.jivesoftware.com/clearspace/rpc/soap/SearchService?wsdl";
//try {
$client = new SoapClient($wsdl, array('trace' => 1));
$params->query = 'test';
$params->startIndex = 0;
$params->numResults = 10;
print $client->quickSearch($params);
//} // end try
//catch(SOAPFault $f) {
// print 'Error: ' . $f->faultstring;
//} // end catch
?>
Expected result:
----------------
at least not a segfault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40561&edit=1