Segmentation fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 







Hi all,

Does anyone have ever seen something like this.
 The install of php with libpng is ok, and php is a module from apache. By
php i'm creating an image in png.

  Header("Content-type: image/png");
  $fonte = $DOCUMENT_ROOT."/_tools/ttf/ARIAL.TTF";
  $s=8;
  $im = ImageCreateFromPNG("../images/menu_base.png");
  $blue = ImageColorAllocate($im, 0x2B,0x52,0x9C);
  $text = urldecode($text);
  ImageTTFText($im, $s, 0, 22, 12, $blue, $fonte, "$text");
  Imagepng($im);
  ImageDestroy($im);

The function ImageCreateFromPNG is creating an erro in apache log when the
php file is browse:

[Fri Mar 19 08:07:40 2004] [notice] child pid 2856 exit signal Segmentation
fault (11)
[Fri Mar 19 08:07:40 2004] [notice] child pid 2857 exit signal Segmentation
fault (11)
[Fri Mar 19 08:07:40 2004] [notice] child pid 2858 exit signal Segmentation
fault (11)
[Fri Mar 19 08:07:40 2004] [notice] child pid 2859 exit signal Segmentation
fault (11)

Regards,

Diego Brito Veiga
Technical Publications
Phone: +55 (12) 39274293
Fax: +55 (12) 39273342


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux