Re: [PHP4BETA] GD Broken in latest CVS?
| From: | Justin Matlock | Date: | Fri, 19 Nov 1999 22:39:53 +0000 |
| Subject: | Re: [PHP4BETA] GD Broken in latest CVS? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6538@lists.php.net to get a copy of this message | ||
Arg. Sorry. Forgot the script that kills it:
<?
Header("Content-type: image/gif");
$im = imagecreate(400,30);
$black = ImageColorAllocate($im, 0,0,0);
$white = ImageColorAllocate($im, 255,255,255);
ImageTTFText($im, 20, 0, 10, 20, $white, "/web/a/ttf/arial.ttf", "Testing...");
ImageGif($im);
ImageDestroy($im);
?>
> > > Is it just me, or has GD support suddenly broken in the latest CVS (and in
> > > the CVS dating back to at least 11/16/99)? Apache children are dying all
> > > over the place.
> >
> > Can you send us a backtrace?
>
> I don't know how useful this will be; I compiled with:
>
> # ./configure --enable-trans-sid --with-mysql --with-gd --with-ttf
> --with-apache=/usr/src/apache --enable-track-vars --enable-sysvshm --enable-sysvsem
> --with-config-file-path=/usr/local/lib
>
> Using gd1.2, latest PHP4 CVS, apache 1.3.9
>
> ...
>
>
> [root@kodiak apache]# gdb /usr/local/apache/bin/httpd
> GNU gdb 4.17.0.11 with Linux support
> Copyright 1998 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-redhat-linux"...(no debugging symbols
> found)...
> (gdb) run -X
> Starting program: /usr/local/apache/bin/httpd -X
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x8089934 in strcpy ()
> (gdb) bt
> #0 0x8089934 in strcpy ()
> #1 0x0 in ?? ()
> (gdb)
>
>
>
--
Justin Matlock
Firewind Technologies Group, LLC.
Atlanta, Georgia
"Part of the fun of being alive is knowing that you're annoying the hell out
of someone else." - Matt Groenig