Bug #55206 [Opn]: PHP / Apache crashes on creation of a SOAP client.
| From: | furymedia at gmail dot com | Date: | Thu, 14 Jul 2011 11:49:56 +0000 |
| Subject: | Bug #55206 [Opn]: PHP / Apache crashes on creation of a SOAP client. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161883@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55206&edit=1
ID: 55206
User updated by: furymedia at gmail dot com
Reported by: furymedia at gmail dot com
Summary: PHP / Apache crashes on creation of a SOAP client.
Status: Open
Type: Bug
Package: SOAP related
Operating System: Windows Vista SP2
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
After going through php.net I found that I needed to add "exceptions" => 1 to the
$arguments...
Still I think that omitting this should not cause PHP to crash.
Previous Comments:
------------------------------------------------------------------------
[2011-07-14 07:42:40] furymedia at gmail dot com
Description:
------------
I tried to create a SOAP client but I still used the wrong (production) URL which returned a 403
error that crashed Apache/PHP.
After running a small test I found that this also occurs when an invalid WSDL file is called.
Test script:
---------------
<?php
try {
$soapClient = new SoapClient('http://www.google.com',
array('trace'=>1));
}
catch (SoapFault $soapFault) {
var_dump($soapFault);
}
?>
Expected result:
----------------
I would expect to get a SOAP exception.
Actual result:
--------------
Faulting application httpd.exe, version 2.2.9.0, time stamp 0x4852383f, faulting module php5ts.dll,
version 5.3.6.0, time stamp 0x4d81e545, exception code 0xc0000005, fault offset 0x000af53f, process
id 0x12e8, application start time 0x01cc42154256cbff.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55206&edit=1