Hi,

i have create a gd image with the gd tools and the follow code produces 
a seg fault.

<?php
$im_main=ImageCreateFromGD('2.gd');
ImageJPEG($im_main);
?>

The problem is _not_ ImageJPEG! You can reproduce the problem also with 
ImagePNG.

here is the backtrace:
----
Program received signal SIGSEGV, Segmentation fault.
gdImageJpegCtx (im=???, outfile=???, quality=???) at gd_jpeg.c:207
207                   int val = im->tpixels[i][j];
(gdb) bt
#0  gdImageJpegCtx (im=???, outfile=???, quality=???) at gd_jpeg.c:207
----

I have attached the gd file.

Regards,

-- 
Steve

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to