ID:               33543
 Updated by:       [EMAIL PROTECTED]
 Reported By:      m dot stoesser at gmx dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         GD related
 Operating System: win 2k
 PHP Version:      5.0.4
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip




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

[2005-07-02 02:45:08] m dot stoesser at gmx dot de

Description:
------------
using win2k 
apache with php

wenn I create a 1 pixel true color image an reload the picture apache
crashs




Reproduce code:
---------------
$im = imagecreatetruecolor(1, 10);
$background_color = ImageColorAllocate($im, 50, 50, 50);
Imagefill($im, 0, 0, $background_color);
header("Content-type: image/png");
ImagePNG($im);
ImageDestroy($im);

Expected result:
----------------
@ the first time you run it nothing happend all is good
wenn I reload the site the picture isn't created and the apache server
crashs...

wenn you change somthing at the script for example you add a empty line
reload the picture it works normal. reload again doesn't work ...

with:
$im = imagecreatetruecolor(2, 10);

or:
$im = imagecreate(1,10);

no error occurred

Actual result:
--------------
perhaps an apache error than sorry for writing


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


-- 
Edit this bug report at http://bugs.php.net/?id=33543&edit=1

Reply via email to