From owner-freebsd-ports@FreeBSD.ORG Wed Apr 28 14:30:07 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4ADE106564A for ; Wed, 28 Apr 2010 14:30:07 +0000 (UTC) (envelope-from darenr@madaboutcable.com) Received: from mailhost.madaboutcable.com (mailhost.madaboutcable.com [88.96.254.164]) by mx1.freebsd.org (Postfix) with ESMTP id 918F98FC1A for ; Wed, 28 Apr 2010 14:30:07 +0000 (UTC) Received: from 88-96-254-165.dsl.zen.co.uk ([88.96.254.165] helo=[192.168.5.61]) by mailhost.madaboutcable.com with esmtpa (Exim 4.71 (FreeBSD)) (envelope-from ) id 1O77rl-0001HJ-Cj for freebsd-ports@freebsd.org; Wed, 28 Apr 2010 15:03:53 +0100 Message-ID: <4BD84049.4000609@madaboutcable.com> Date: Wed, 28 Apr 2010 15:03:53 +0100 From: Daren Russell Organization: KSM Ltd User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.8) Gecko/20100228 SUSE/3.0.3-3.1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: php52-gd causing apache abort X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: darenr@madaboutcable.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 14:30:07 -0000 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. 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