From: uli dot staerk at globalways dot net
Operating system: Linux 2.6.16
PHP version: 5.2.8
PHP Bug Type: Reproducible crash
Bug description: SoapClient::__soapCall causes a segmentation fault.
Description:
------------
I cant not give you any further information as the example shows.
Reproduce code:
---------------
<?php
ini_set('soap.wsdl_cache_enabled',false);
function debug($str) {echo '<pre>'; print_r($str); echo '</pre>'; }
try {
$client = new SoapClient('reporter.wsdl',
array('trace' => 1 , 'exceptions' => true)
);
// debug(debug($client->__getFunctions())); // works
$host = array('uuid' => 'foo');
$software_list = array(array('name' => 'package', 'version' =>
'1.2.3', 'state' => 'installed'));
$updates = array();
$report_id =
$client->__soapCall('reportSoftwareStatus',array($host, $software_list,
$updates));
}
catch (Exception $e) {
debug((string)$e);
}
Expected result:
----------------
segmentation fault
Actual result:
--------------
error message ;)
--
Edit bug report at http://bugs.php.net/?id=47049&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=47049&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=47049&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=47049&r=trysnapshot60
Fixed in CVS:
http://bugs.php.net/fix.php?id=47049&r=fixedcvs
Fixed in CVS and need be documented:
http://bugs.php.net/fix.php?id=47049&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=47049&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=47049&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=47049&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=47049&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=47049&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=47049&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=47049&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=47049&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=47049&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47049&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47049&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=47049&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=47049&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=47049&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=47049&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=47049&r=mysqlcfg