php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55206 PHP / Apache crashes on creation of a SOAP client.
Submitted: 2011-07-14 07:42 UTC Modified: 2011-07-14 07:49 UTC
From: furymedia at gmail dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.3.6 OS: Windows Vista SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: furymedia at gmail dot com
New email:
PHP Version: OS:

 

 [2011-07-14 07:42 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-14 07:49 UTC] furymedia at gmail dot com
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.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Sep 27 18:01:26 2020 UTC