|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29236 memory error when wsdl-cache is enabled
Submitted: 2004-07-18 04:01 UTC Modified: 2004-07-19 15:59 UTC
From: vaughan at ucla dot edu Assigned:
Status: Closed Package: SOAP related
PHP Version: 5CVS-2004-07-18 (dev) OS: debian linux 2.4.26
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: vaughan at ucla dot edu
New email:
PHP Version: OS:


 [2004-07-18 04:01 UTC] vaughan at ucla dot edu
perhaps related to bug # 27994 and 29109?

all wsdl urls seem to work on first access. For some, 
the second access causes a memory error: browser returns 
nothing, but the error log contains:

FATAL:  emalloc():  Unable to allocate -2080374783 bytes

but other wsdl urls work fine all the time.  

for example,
xmethods-delayed-quotes.wsdl works fine, but this one 
(which is the one I'm interested in!) causes the error:

The only difference I can see is the size of the wsdl 
cache file:

 ls -la /tmp/wsdl* 
-rw-r--r--    1 www-data www-data      655 Jul 17 18:45 
-rw-r--r--    1 www-data www-data    11616 Jul 17 18:45 

If I remove the big one, then the code below works 
again, but only once.

Reproduce code:

$client = new SoapClient($endpoint);

echo "<pre>";
echo "</pre>";


Expected result:
On first run, when there's no wsdl cache file, I get the 
expected list of functions.

Actual result:
no browser output

emalloc error recorded in log file.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-19 15:59 UTC]
Fixed in CVS HEAD.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 08:02:42 2024 UTC