From: com at macx dot de Operating system: Linux PHP version: 5.2.1 PHP Bug Type: GD related Bug description: Timeout at imagecreatetruecolor / imagecreate works
Description: ------------ After upgrade to 5.2.1 I get the following error using "imagecreatetruecolor". This error don't appear using "imagecreate". Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 3200 bytes) in [...] on line [...] Line marked: imagefill (see code below) Reproduce code: --------------- $image = imagecreatetruecolor($image_width, $image_height); $bg = imagecolorallocate($image, 51, 51, 51); imagefill($image, 0, 0, $bg); Expected result: ---------------- Filled rectangle. Actual result: -------------- see description -- Edit bug report at http://bugs.php.net/?id=40976&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40976&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40976&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40976&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40976&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40976&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40976&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40976&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40976&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40976&r=support Expected behavior: http://bugs.php.net/fix.php?id=40976&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40976&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40976&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40976&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40976&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40976&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40976&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40976&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40976&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40976&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40976&r=mysqlcfg