Re: Segmentation faults
| From: | Rasmus Lerdorf | Date: | Mon, 25 Mar 2002 21:31:54 +0000 |
| Subject: | Re: Segmentation faults | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-4735@lists.php.net to get a copy of this message | ||
libpng's API did change a bit between 1.0 and 1.2, so it doesn't surprise
me that there might be issues.
On Mon, 25 Mar 2002 derick@php.net wrote:
> On Mon, 25 Mar 2002, Rasmus Lerdorf wrote:
>
> > Ah, right. Looks like a GD2 vs. libpng 1.2.1 issue to me. I run GD2
> > against libpng 1.0.10 on a bunch of servers without any problems.
>
> That's what I thought too but wasn't be able to verify it.
>
> Derick
>
> > On Mon, 25 Mar 2002 derick@php.net wrote:
> >
> > > On Mon, 25 Mar 2002, Rasmus Lerdorf wrote:
> > >
> > > > A backtrace would be useful. Have you tried downgrading your libpng to
> > > > 1.0? 1.2.1 is quite new.
> > >
> > > There was a backtrace in his first mail ....
> > >
> > > Derick
> > >
> > > > On Mon, 25 Mar 2002, Jome wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > I've compiled PHP with gd2.0.1 and libpng 1.2.1. When I'm trying
> > > > > to make a PNG-image (with the sample available at
> > > > > http://www.php.net/manual/en/function.imagecreate.php) I'm
> > > > > getting a seg fault.
> > > > >
> > > > > root@destiny:/home/www/develop.emoj.net/qa# php -q gd.php
> > > > > Segmentation fault
> > > > >
> > > > > I've tried this with both PHP 4.2.0RC1 and PHP 4.3.0-dev and still
> > > > > getting seg faults. I'm running Linux 2.4.17 and Apache 1.3.22. Has anyone been able to
> > > > > recreate this error?
> > > > >
> > > > > Trying to make a jpeg works fine. I've also tried this with gd 1.3
> > > > > (creating a gif file) on another machine and that works fine too.
> > > > >
> > > > > My whole configure line: ./configure --with-apxs=/usr/local/apache/bin/apxs
> > > > > --with-config-file-path=/usr/local/apache/conf --enable-versioning --with-mysql --enable-ftp
> > > > > --with-gd --enable-bcmath --disable-debug --enable-memory-limit=yes --enable-track-vars
> > > > > --with-pdflib --with-ttf --with-imap --with-jpeg-dir=../jpeg-6b --with-png-dir=../libpng-1.2.1
> > > > > --with-freetype-dir=../freetype-2.0.6 --with-ircg --with-ircg-config=/usr/local/bin/ircg-config
> > > > > --with-ming=../ming-0.2a --with-zlib-dir=../zlib-1.1.3 --enable-mailparse --enable-debug
> > > > >
> > > > > Attached is debugging output from gdb.
> > > > >
> > > > > -jome
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > PHP Quality Assurance Mailing List <s‹Id0°3Ë�2öÅ
> > > > Áshttp://www.php.net/>
> > > > To unsubscribe, visit:
> > > > http://www.php.net/unsub.php
> > > >
> > >
> > > -----------------------------------------------------------------------
> > > PHP: Scripting the Web - derick@php.net
> > > All your branches are belong to me!
> > > SRM: Script Running Machine - www.vl-srm.net
> > > -----------------------------------------------------------------------
> > >
> >
>
> -----------------------------------------------------------------------
> PHP: Scripting the Web - derick@php.net
> All your branches are belong to me!
> SRM: Script Running Machine - www.vl-srm.net
> -----------------------------------------------------------------------
>
>