From:             neale at nealeupstone dot com
Operating system: Windows XP
PHP version:      5.0.4
PHP Bug Type:     SOAP related
Bug description:  Socket Timeout on SOAP request causes general exception in 
Apache process

Description:
------------
If I make a SOAP request (method call) that times out on the server (with
default_socket_timeout=5), I get the following (c0000005) Exception
consistently 5 seconds after attempting the connection: 

AppName: apache.exe      AppVer: 2.0.53.0        ModName: php5ts.dll
ModVer: 5.0.4.4  Offset: 00007704 (=> address 00a07704)

It's an attempt to access memory at 0fffffff8 (i.e. -8) (if I recall
correctly.. Windows only gave me that info the once).

This is linked with default_socket_timeout, as if I set
default_socket_timeout=10, the exception happens 10 seconds later.

No data is returned to the browser from the PHP script.



Reproduce code:
---------------
How I reproduce this is to set a breakpoint in a method on a Java based
service.



Relevant PHP configs are:

default_socket_timeout = 5


[soap]
; Enables or disables WSDL caching feature.
soap.wsdl_cache_enabled=1
; Sets the directory name where SOAP extension will put cache files.
soap.wsdl_cache_dir="/tmp"
; (time to live) Sets the number of second while cached file will be used

; instead of original one.
soap.wsdl_cache_ttl=86400


Expected result:
----------------
A SoapException would be thrown ?

Certainly, the PHP script could be expected to continue rather than die.

Actual result:
--------------
PHP script dies

-- 
Edit bug report at http://bugs.php.net/?id=33394&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33394&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33394&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33394&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33394&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33394&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33394&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33394&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33394&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33394&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33394&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33394&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33394&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33394&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33394&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33394&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33394&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33394&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33394&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33394&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33394&r=mysqlcfg

Reply via email to