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

Reply via email to