Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2010 16:27:50 +0100
From:      Daren Russell <darenr@madaboutcable.com>
To:        Paul Macdonald <paul@ifdnrg.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: php52-gd causing apache abort
Message-ID:  <4BD853F6.5040906@madaboutcable.com>
In-Reply-To: <4BD84E54.7060203@ifdnrg.com>
References:  <4BD84049.4000609@madaboutcable.com>	<4BD8470B.2020104@madaboutcable.com> <4BD84E54.7060203@ifdnrg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28/04/10 16:03, Paul Macdonald wrote:
>
>
> Daren Russell wrote:
>> On 28/04/10 15:03, Daren Russell wrote:
>>  
>>> Hi
>>>
>>> Since updating libpng and php 5.2 (to use the new php52 port), code
>>> that
>>> has previously worked find using gs, now causes an Apache abort,
>>> this is
>>> what appears in the log:
>>>
>>> [Wed Apr 28 14:42:30 2010] [notice] child pid 3064 exit signal Abort
>>> trap (6)
>>>
>>> The code itself uses tcpdf (www.tcpdf.org) to create a pdf form
>>> which in
>>> turn uses two png images.  If these images are commented out, or even
>>> changed to jpeg (though this is not ideal as they have transparency) we
>>> get the above problem.
>>>
>>>       
>> Oops...  Sorry I meant to say we *don't* get that problem!!  It's only
>> when it is a png image that we get the abort.
>>
>>  
>>> Before updating php-gd (but after libpng), we had the "png_check_sig"
>>> but the patch had been applied.
>>>
>>> This is on:
>>> FreeBSD smb.ksm.pri 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue
>>> Jan  5
>>> 21:11:58 UTC 2010   
>>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>>>
>>> Apache version is 2.2.14
>>>
>>> Anybody know what's going on with this, and if it's fixable??
>>>
>>> Thanks
>>> Daren
>>>       
>>
> I had something similar a while back, and ended up downgrading libpng
> with portdowngrade  (to 1.2.38 ), is probably worth a try.
>
> Paul.
I was thinking about that, but wouldn't I then have to downgrade
dependencies?   I was hoping to avoid that as I like a clean(ish) system!

Daren



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BD853F6.5040906>