#48706 [Opn->Csd]: SoapClient invalid wsdl crashes php with file error_log active
| From: | jani@php.net | Date: | Tue, 28 Jul 2009 17:27:30 +0000 |
| Subject: | #48706 [Opn->Csd]: SoapClient invalid wsdl crashes php with file error_log active | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-140378@lists.php.net to get a copy of this message | ||
ID: 48706
Updated by: jani@php.net
Reported By: aigors at inbox dot lv
-Status: Open
+Status: Closed
Bug Type: SOAP related
Operating System: Windows XP
PHP Version: 5.2.10
Assigned To: jani
New Comment:
Yes, this was fixed by fixing bug #48247
Previous Comments:
------------------------------------------------------------------------
[2009-07-27 07:22:23] 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-26 19:37:55] jani@php.net
Please try using this snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-06-27 10:26:34] 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-06-27 09:59:53] 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."
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48706&edit=1