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
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 03:01:32 2024 UTC