Edit report at http://bugs.php.net/bug.php?id=36722&edit=1
ID: 36722 Comment by: youngad6 at gmail dot com Reported by: michael dot virnstein at brodos dot de Summary: possible integer overflow in memory allocation Status: No Feedback Type: Bug Package: Unknown/Other Function Operating System: SuSE Linux 9.0 PHP Version: 4.4.2 Block user comment: N New Comment: I had this problem and fixed it by deleting the wsdl cache files. Previous Comments: ------------------------------------------------------------------------ [2009-03-02 08:57:16] jinlizh0 at gmail dot com I have this problem in our site. PHP Fatal error: Possible integer overflow in memory allocation (28 * -1220466008 + 0) We are using php 4.4.9 , Red hat ES 4. How I can solve this problem? It's solved in PHP 5.1 or later ? ------------------------------------------------------------------------ [2007-12-17 22:31:24] johan at solace dot miun dot se Well, I have found the problem at OUR site at least... One of the twelve CPU's has a bit error in bit 2 of integer calculations, after switching them off and testing I found that CPU #5 was the culprit, since the code of the pages went randomly to different cpu's it sometimes worked, sometimes not... there have been NO faults reported by the system, but with the cpu disabled it works flawlessy again so its no doubt in my mind its a hardware fault anymore. Sorry if I wasted your time... /Johan Andersson ------------------------------------------------------------------------ [2007-12-13 10:27:51] johan at solace dot miun dot se A few weeks back, my websites suddenly started throwing random occurences of this message in different php-files... Fatal error: Possible integer overflow in memory allocation (5 * 1 + 42) in /usr/local/webroot/www.imagine3d.org/html/mainfile.php on line 54 It happens in different php applications, like xoops and phpMyAdmin and even during the install of never version of php during its pear install part which is php. I upgraded apache to 2.0.61 and php to 4.4.7 with no change. fault seems to incure in different string and preg calls in the various applications but I havent been able to make a reproducable small and simple code example. The fault comes up randomly, but quite often... sometimes it also just dies... no error... System is a 12CPU Sun Enterprise 4500 with 12GB Ram,no hardware faults visible in logs, running Solaris 9. ------------------------------------------------------------------------ [2007-05-06 02:58:11] Alexander at Kriegisch dot name PHP Fatal error: Possible integer overflow in memory allocation (8 * 4 + 0) in Unknown on line 0 This was reported by a user trying to start a statically compiled PHP 5.2.1 (sapi/cgi binary) from an Apache 1.3.37. I cannot reproduce it on my router box, because it runs a 2.6 kernel, I just compiled the version for him (GCC 4.1.0, binutils 2.16.91.0.6, uClibc 0.9.26, crosstool-0.42). Just wanted to add this to make clear that other users on other platforms and with other PHP versions have this problem, too. I cannot tell if the cause is the same, though. ------------------------------------------------------------------------ [2006-03-23 01:00:05] 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". ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=36722 -- Edit this bug report at http://bugs.php.net/bug.php?id=36722&edit=1