I found this as well. http://www.zend.com/lists/php-dev/200110/msg01100.html
It seems Debian is using the wrong versions of php and gd2; This is a valid security problem and needs to be fixed ASAP in debian stable. On 15 May 2004 at 13:38, [EMAIL PROTECTED] wrote: > I get the following any time I try to run a php script either from > apache or command line using the php gd2 function ImageCopy() under > debian stable (woody) > > cgi:/var/www/# php4 t.php > X-Powered-By: PHP/4.1.2 > Content-type: text/html > > > Segmentation fault > > > Everything else in gd2 works but for some reason the ImageCopy() > function in the php lib does not work at all, so I got out gdb and > ran some tests. > > cgi:/var/www/# gdb /usr/bin/php4 > GNU gdb 2002-04-01-cvs > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i386-linux"...(no debugging symbols > found)... > (gdb) set args -f /var/www/t.php > (gdb) set args -f /var/www/t.php > (gdb) run > Starting program: /usr/bin/php4 -f /var/www/t.php > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > (no debugging symbols found)...(no debugging symbols found)... > > (no debugging symbols found)... > Program received signal SIGSEGV, Segmentation fault. > 0x403b88d6 in gdImageCopy () from /usr/lib/libgd.so.2 > (gdb) quit > > > I apt-get removed the gd2 lib and installed the noxpm version, then > reinstalled php4-gd2 and the rest , they said they had to have the > normal version with xpm support so I let it do its thing. > > And so I ran the test again after it failed, and I get the exact same > thing. Is anyone else getting these errors? Everything else in gdlib > is working fine but its this one function that seems to be bad, using > the most updated and official libs available. > > If anyone has any ideas or has a way to fix this please let me know, > I am using only official packages. > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]