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: 2024-05-31 19:56 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: nielsdos (profile)
Status: Closed Package: SOAP related
PHP Version: 5.3.6 OS: Windows Vista SP2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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

Pull Requests

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.
 [2024-05-31 19:56 UTC] nielsdos@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: nielsdos
 [2024-05-31 19:56 UTC] nielsdos@php.net
This no longer reproduces and I get a proper SoapFault.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 18:01:31 2024 UTC