php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48706 SoapClient invalid wsdl crashes php with file error_log active
Submitted: 2009-06-27 09:59 UTC Modified: 2011-02-02 21:21 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: aigors at inbox dot lv Assigned: dmitry (profile)
Status: Closed Package: SOAP related
PHP Version: 5.2.10 OS: Windows XP
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: aigors at inbox dot lv
New email:
PHP Version: OS:

 

 [2009-06-27 09:59 UTC] aigors at inbox dot lv
Description:
------------
SoapClient crashes the PHP when invalid wsdl_url is used and file php log output is configured in the php.ini.

Reproduce code:
---------------
PHP code:
<?php
new SoapClient('http://example.com');
?>

php.ini-dist and php.ini changes:

--- C:/php5/php.ini-dist
+++ C:/php5/php.ini

-log_errors = Off
+log_errors = On

-;error_log = filename
+error_log = c:/php_log

-;extension=php_soap.dll
+extension=php_soap.dll

Expected result:
----------------
SoapFault Exception should be thrown.

Actual result:
--------------
PHP crashes with system log message "Faulting application php.exe, version 5.2.10.10, faulting module php5ts.dll, version 5.2.10.10, fault address 0x000abc6f."


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-27 10:26 UTC] aigors at inbox dot lv
I generated the crash backtrace report, it's available in http://gedrox.no-ip.org/php/CrashHang_Report__PID_5620__06272009131757156.mht. Hope did it right.
 [2009-07-27 07:22 UTC] aigors at inbox dot lv
It doesn't crash with the PHP Version 5.2.11-dev build on Jul 26 2009 23:42:23. Thank you.)
 [2009-07-28 17:27 UTC] jani@php.net
Yes, this was fixed by fixing bug #48247
 [2011-02-02 21:21 UTC] jani@php.net
-Assigned To: jani +Assigned To: dmitry
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 13:01:28 2025 UTC