Segmentation fault

Muhammad Rizwan Khan rizwan at nixpanel.com
Fri Mar 19 02:59:20 UTC 2004


I am programmer of GNU C++ nad i get this error, when there is problem in 
string or array handling..... check it in yours case.


On Friday 19 March 2004 16:11, diego.veiga at embraer.com.br wrote:
> 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

-- 
If you have any inquiries, please do not hesitate to contact me.

Muhammad Rizwan Khan
http://nixpanel.com
MSN ID: nixpanel at hotmail.com





More information about the redhat-list mailing list