From:             jrbasso at gmail dot com
Operating system: Linux 3.2.12-3.2.4.amzn1.x86_64
PHP version:      5.3.14
Package:          SOAP related
Bug Type:         Bug
Bug description:Randomly getting exhausted memory

Description:
------------
Randomly the SoapClient constructor is trying to allocate huge amounts of
memory 
and causing the error Error: Allowed memory size of 268435456 bytes
exhausted 
(tried to allocate 18446744072233156736 bytes)

The amount goes from 2GB to numbers like above.

This started to happen when we switched from 5.3.10 to 5.3.13 (and now
5.3.14).

I am not able to reproduce the error easily, once it do not happens in all
the 
requests. The constructor is always called with the same parameters.

Soap configuration:
Soap Client     enabled
Soap Server     enabled

Directive       Local Value
soap.wsdl_cache 1
soap.wsdl_cache_dir     /tmp
soap.wsdl_cache_enabled 1
soap.wsdl_cache_limit   5
soap.wsdl_cache_ttl     86400


Test script:
---------------
$soap = new
SoapClient('https://ics2ws.ic3.com/commerce/1.x/transactionProcessor/CyberSourceTransaction_1.47.wsdl',
array('merchantId' => '???', 'transactionKey' => '???'));


-- 
Edit bug report at https://bugs.php.net/bug.php?id=62337&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=62337&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=62337&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=62337&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=62337&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=62337&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=62337&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=62337&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=62337&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=62337&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=62337&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=62337&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=62337&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=62337&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=62337&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=62337&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=62337&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=62337&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=62337&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=62337&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=62337&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=62337&r=mysqlcfg

Reply via email to