#21762 [Fbk->Opn]: imagefilledellipse, imagefilledarc crash

From: Date: Tue, 21 Jan 2003 00:34:54 +0000
Subject: #21762 [Fbk->Opn]: imagefilledellipse, imagefilledarc crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30749@lists.php.net to get a copy of this message
ID: 21762 User updated by: helak@hotmail.com Reported By: helak@hotmail.com -Status: Feedback +Status: Open Bug Type: GD related Operating System: Windows 2000 PHP Version: 4.3.0 New Comment: Sniper, Sorry, I did not know how to add more comments to my own report. I hope this time I got it right. When I add imagefilledellipse/ imagefilledarc line script does not seem to execute successfully. No image appears in the browser, just the image placeholder. This line essentially kills the execution of the entire script. PHP continues to run on the server and other/consecutive PHP requests are not interrupted. Thanks again, ZB Previous Comments: ------------------------------------------------------------------------ [2003-01-20 17:03:17] sniper@php.net First of all, PLEASE don't use the 'Add Comment' page when you add comments to your own report!! Second, what do you mean with 'crash' ? ------------------------------------------------------------------------ [2003-01-20 11:19:43] helak@hotmail.com I tested: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip It still behaves the same way. Either I am doing something wrong or there is indeed a bug, ZB ------------------------------------------------------------------------ [2003-01-20 01:41:36] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-01-20 01:27:59] helak@hotmail.com I installed Apache 1.3.27 (windows binary, module) + PHP 4.3 (latest version, download, windows binary) on Windows 2000. Following script using GD library works, but enabling imagefilledellipse line causes script to crash. There is similar effect when using imagefilledarc. Imagefilledrectangle works fine. <?php header ("Content-type: image/png"); $im = @imagecreate (200, 200) or die ("Cannot Initialize new GD image stream"); $white = imagecolorallocate($im, 255, 255, 255); $black = imagecolorallocate($im, 0, 0, 0); // imagefilledellipse($im,100,100,50,50,$black); imageellipse($im,100,100,50,50,$black); imagepng ($im); imagedestroy($im); ?> Thank you for looking into it, ZB ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21762&edit=1

« previous php.bugs (#30749) next »