ID:               42522
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jeffiel at 9star dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         GD related
 Operating System: FC 2
 PHP Version:      5.2.4
 Assigned To:      pajoye
 New Comment:

None of these links work.

Do you know that the last fedora core version is the seventh? Pleae
update and try again or use another decent system to test.

I'm not able to reproduce your problem, no matter the OS (debian, fc6
or 7, gentoo, windows or OS X).




Previous Comments:
------------------------------------------------------------------------

[2007-09-03 09:03:16] jeffiel at 9star dot com

Yes, Fedora Core 2.

You can see the issue at this URL:
http://media.9star.com/dynamizer/test.php

To see the page's source, append a source param:
http://media.9star.com/dynamizer/test.php?source

To see the gd_info output, append a gdinfo:
http://media.9star.com/dynamizer/test.php?gdinfo

------------------------------------------------------------------------

[2007-09-03 08:14:43] [EMAIL PROTECTED]

"The problem is not consistent, but happens about 90% of the time.  I
don't see any pattern to it."

It happens zero times here on many platforms (windows, linux, osx).
What is FC2? Fedora Core 2?

------------------------------------------------------------------------

[2007-09-03 05:41:01] jeffiel at 9star dot com

As noted, the bundled version.  Here's my configure line:

'./configure'  '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-
mysql=/usr/local/mysql-standard-5.0.19-linux-i686-glibc23' '--
with-gd' '--with-png-dir=/usr/local/lib' '--with-jpeg-
dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-zlib-
dir=/usr/local/lib' '--enable-simplexml' '--with-xsl=/usr/local/lib' 
'--with-ldap=/usr/local/openldap' '--with-ldap-sasl' '--with-
openssl=/usr/local/ssl' '--with-gettext=/usr/local' '--with-
mcrypt=/usr/local' '--with-mime-magic' '--enable-bcmath' '--with-
oci8=/opt/oracle/product/9.2.0/' '--with-curl=/usr'


The problem is not consistent, but happens about 90% of the time.  I 
don't see any pattern to it.

My current workaround is using imagefilledrectangle instead, which 
works reliably.

------------------------------------------------------------------------

[2007-09-03 05:27:32] [EMAIL PROTECTED]

I can't reproduce this problem. Do you use the bundled version or an
external library? If you use an external library, which version? (you
can see it in your phpinfo or using gdlib-config --version).

To configure php to use the bundled gd version, use "./configure
--with-gd ..." (without argument).

------------------------------------------------------------------------

[2007-09-02 21:48:47] jeffiel at 9star dot com

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 this bug report at http://bugs.php.net/?id=42522&edit=1

Reply via email to