ID: 45577 Comment by: sgbeal at googlemail dot com Reported By: contact at reubidium dot com Status: No Feedback Bug Type: SOAP related Operating System: Mac OS X 10.5.4 PHP Version: 5.2.6 New Comment:
i'm seeing this same problem on Linux: Linux myhostname 2.6.18-164.9.1.el5xen #1 SMP Wed Dec 9 03:35:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux but the allocation value varies from the original report: "PHP Fatal error: Uncaught SoapFault exception: [Client] Possible integer overflow in memory allocation (2781995460 * 4 + 0)" that happens on each call to the SoapClient ctor. My app runs just fine via the CLI, but not from under Apache. i'm trying to port a CLI app to an AJAX interface, and this bug is making that impossible. ~> php --version PHP 5.1.6 (cli) (built: Feb 26 2009 07:01:12) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies ~> free free total used free shared buffers cached Mem: 14336000 5264904 9071096 0 676488 1421936 -/+ buffers/cache: 3166480 11169520 Swap: 2097144 0 2097144 Previous Comments: ------------------------------------------------------------------------ [2008-07-30 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-07-22 22:34:11] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi ------------------------------------------------------------------------ [2008-07-21 10:02:55] contact at reubidium dot com I also added this as a bug over at MacPorts.org: https://trac.macports.org/ticket/16036 ------------------------------------------------------------------------ [2008-07-21 09:55:59] contact at reubidium dot com Description: ------------ With version 5.2.6 of PHP installed from MacPorts, I was saddened to find that all the SOAP calls in my application were suddenly broken, kicking up the following PHP Fatal error: Uncaught SoapFault exception: [Client] Possible integer overflow in memory allocation (3819152321 * 4 + 0) This app was working fine in my Entropy PHP 5.2.5 package, and switching back to that all my soap calls were once again working fine. Since all the calls were via https, I thought this would be a good first thing to try changing. so I found a public http soap service and ran a quick test, and things worked just fine then. I should mention that I have the max memory setting in my php.ini set at 256M currently, but I had tried increasing it to 512M with no effect.. not that that should matter, this is a small soap request I am dealing with. Reproduce code: --------------- $client = new SoapClient('https://api.store.sinatra.iventa.com/UserService.asmx?WSDL'); Expected result: ---------------- A valid SOAP client object Actual result: -------------- PHP Fatal error: Uncaught SoapFault exception: [Client] Possible integer overflow in memory allocation (3819152321 * 4 + 0) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45577&edit=1