From owner-freebsd-questions@FreeBSD.ORG Fri Jan 20 18:11:30 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 992F816A423 for ; Fri, 20 Jan 2006 18:11:30 +0000 (GMT) (envelope-from zhengyi@zhengyi.ath.cx) Received: from zhengyi.ath.cx (adsl-69-236-187-247.dsl.pltn13.pacbell.net [69.236.187.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E69143D48 for ; Fri, 20 Jan 2006 18:11:30 +0000 (GMT) (envelope-from zhengyi@zhengyi.ath.cx) Received: by zhengyi.ath.cx (Postfix, from userid 1001) id D86FC5081E; Fri, 20 Jan 2006 11:11:22 -0800 (PST) Date: Fri, 20 Jan 2006 11:11:22 -0800 From: Justin Meyer To: FreeBSD Questions Mailing List Message-ID: <20060120191122.GE18407@oracle.local.lan> Mail-Followup-To: FreeBSD Questions Mailing List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: Absolutely None Subject: PHP junk pointer error with imagick.so X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: zhengyi@anarkismus.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2006 18:11:30 -0000 Hi All, I recently noticed running a phpinfo() page that the page would not completely render. When I looked in /var/log/httpd-errors.log, I found the following error every time I hit that page: [Fri Jan 20 10:53:08 2006] [notice] child pid 88217 exit signal Abort trap (6) httpd in free(): error: junk pointer, too high to make sense After successively commenting and uncommenting each extension I have for php, I finally found the culprit extension to be imagick.so. I found the commit message for ImageMagick 6.2.5.5 at http://www.freshports.org/graphics/ImageMagick/ suggesting that there were segfaults with earlier versions, and so on a hunch I did a portupgrade -rf ImageMagick. No dice; I still can't load the imagick.so extension to php without running into these junk pointer errors. FYI, here's the (I think) relevant ports I have installed: apache+mod_ssl-1.3.34+2.8.25_2 ImageMagick-6.2.5.5 php4-4.4.2 php4-extensions-1.0 pecl-imagick-0.9.11_3 Has anyone else encountered this issue? Does anyone have any suggestions as to how I might resolve it? Thanks! -- Justin