|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2007-02-20 15:38 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 15:00:01 2025 UTC | 
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