php52-gd causing apache abort

Daren Russell darenr at madaboutcable.com
Wed Apr 28 15:27:52 UTC 2010


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 at 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


More information about the freebsd-ports mailing list