From: jeffiel at 9star dot com Operating system: FC 2 PHP version: 5.2.4 PHP Bug Type: GD related Bug description: imagefill not reliable
Description: ------------ Just upgraded to 5.2.4, and GD image functions, particularly imagefill, is not reliable. Sometimes it works, sometimes it fails silently. Using [GD Version] => bundled (2.0.34 compatible). Seems similar to bug #36683, which was marked as bogus for unspecified reasons. Reproduce code: --------------- $im = imagecreatetruecolor(625, 26); imagefill($im, 0, 0, imagecolorallocate($im, 255, 0, 0)); header("Content-type: image/png"); imagepng($im); Expected result: ---------------- A red png, 625 x 26 Actual result: -------------- A black png, 625 x 26 -- Edit bug report at http://bugs.php.net/?id=42522&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42522&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42522&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42522&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42522&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42522&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42522&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42522&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42522&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42522&r=support Expected behavior: http://bugs.php.net/fix.php?id=42522&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42522&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42522&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42522&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42522&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42522&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42522&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42522&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42522&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42522&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42522&r=mysqlcfg