From ler@lerctr.org  Sat Feb 11 15:28:49 2006
Return-Path: <ler@lerctr.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 326F116A420;
	Sat, 11 Feb 2006 15:28:49 +0000 (GMT)
	(envelope-from ler@lerctr.org)
Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AE6FB43D58;
	Sat, 11 Feb 2006 15:28:48 +0000 (GMT)
	(envelope-from ler@lerctr.org)
Received: from ler by thebighonker.lerctr.org with local (Exim 4.60 (FreeBSD))
	(envelope-from <ler@lerctr.org>)
	id 1F7wg3-000PQq-Ua; Sat, 11 Feb 2006 09:28:47 -0600
Message-Id: <E1F7wg3-000PQq-Ua@thebighonker.lerctr.org>
Date: Sat, 11 Feb 2006 09:28:47 -0600
From: Larry Rosenman <ler@lerctr.org>
Reply-To: Larry Rosenman <ler@lerctr.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ale@FreeBSD.org
Subject: graphics/pecl-imagick port causes SIGABRT on amd64
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         93185
>Category:       ports
>Synopsis:       graphics/pecl-imagick port causes SIGABRT on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 11 15:30:04 GMT 2006
>Closed-Date:    Thu Aug 31 06:39:25 GMT 2006
>Last-Modified:  Thu Aug 31 06:39:25 GMT 2006
>Originator:     Larry Rosenman
>Release:        FreeBSD 6.1-PRERELEASE amd64
>Organization:
LERCTR Consulting
>Environment:
System: FreeBSD thebighonker.lerctr.org 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #6: Sun Feb 5 22:36:32 CST 2006 root@thebighonker.lerctr.org:/usr/obj/usr/src/sys/THEBIGHONKER amd64


>Description:
if the graphics/pecl-imagick port is in the system, phpinfo() returns
a SIGABRT.  It appears that there is a free() that has a problem.

I can offer a shell account to whoever to help narrow it down.

I've CC'd the maintainer as well
>How-To-Repeat:
install graphics/pecl-imagick (PHP5/apache22) on amd64.
run <?php phpinfo(); ?>, note the incomplete output and 
notices in the /var/log/messages file.

>Fix:
unknown.  I uninstalled the port :( 


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Feb 11 15:32:11 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93185 

From: "Sergey Mokryshev" <mokr@mokr.net>
To: <bug-followup@FreeBSD.org>, <ler@lerctr.org>
Cc:  
Subject: Re: ports/93185: graphics/pecl-imagick port causes SIGABRT on amd64
Date: Thu, 9 Mar 2006 00:33:43 +0300

 The same happens on i386 FreeBSD-5.5 prerelease (sources from 2006/03/01) 
 with
 php4-4.4.2_1, pecl-imagick-0.9.11_4, ImageMagick-6.2.5.5_2, 
 ghostscript-gnu-7.07_14
 
 somehow it is dependent on contents of
 /usr/local/lib/ImageMagick/config/type.xml
 
 Test file
 -------------------------------
 # cat i.php
 <?php
 phpinfo();
 ?>
 -------------------------------
 started as
 # php i.php 2>&1 |tail
 -------------------------------
 
 with default type.xml results in signal 6 and this output
 -------------------------------
 .......
 ctype
 
 ctype functions => enabled
 
 ftp
 php in free(): error: junk pointer, too high to make sense
 -----------------------------
 
 and with modified type.xml
 --- type.xml.bak        Thu Mar  9 00:20:33 2006
 +++ type.xml    Thu Mar  9 00:29:42 2006
 @@ -16,6 +16,3 @@
    <!ATTLIST type version CDATA #IMPLIED>
    <!ATTLIST include file CDATA #REQUIRED>
  ]>
 -<typemap>
 -   <include file="type-ghostscript.xml" />
 -</typemap>
 ----------------
 it results in successful completion of program, but got Signal 11 on php 
 exit
 ----------------
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 If you did not receive a copy of the PHP license, or have any
 questions about PHP licensing, please contact license@php.net.
 Segmentation fault
 ----------------
 
 Works perfect without imagick.so in /usr/local/etc/php/extensions.ini.
 
 
 Sergey Mokryshev.
 
State-Changed-From-To: open->feedback 
State-Changed-By: ale 
State-Changed-When: Tue May 23 06:29:38 UTC 2006 
State-Changed-Why:  
Can you try the magicwand backend? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93185 

From: "Larry Rosenman" <ler@lerctr.org>
To: "'Alex Dupre'" <ale@FreeBSD.org>
Cc: <bug-followup@FreeBSD.org>
Subject: RE: ports/93185: graphics/pecl-imagick port causes SIGABRT on amd64
Date: Tue, 23 May 2006 01:45:17 -0500

 Alex Dupre wrote:
 > Synopsis: graphics/pecl-imagick port causes SIGABRT on amd64
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: ale
 > State-Changed-When: Tue May 23 06:29:38 UTC 2006
 > State-Changed-Why:
 > Can you try the magicwand backend?
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=93185
 
 Did you mean "GraphicsMagick" backend?
 
 
 
 -- 
 Larry Rosenman                     http://www.lerctr.org/~ler
 Phone: +1 512-248-2683                 E-Mail: ler@lerctr.org
 US Mail: 430 Valona Loop, Round Rock, TX 78681-3683 US
 

From: "Larry Rosenman" <ler@lerctr.org>
To: "'Alex Dupre'" <ale@FreeBSD.org>
Cc: <bug-followup@FreeBSD.org>
Subject: RE: ports/93185: graphics/pecl-imagick port causes SIGABRT on amd64
Date: Tue, 23 May 2006 01:56:58 -0500

 Alex Dupre wrote:
 > Synopsis: graphics/pecl-imagick port causes SIGABRT on amd64
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: ale
 > State-Changed-When: Tue May 23 06:29:38 UTC 2006
 > State-Changed-Why:
 > Can you try the magicwand backend?
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=93185
 
 And with the "GraphicsMagick" backend, it still dies:
 May 23 01:55:28 thebighonker kernel: pid 26313 (httpd), uid 80: exited on
 signal 10
 
 LER
 
 
 -- 
 Larry Rosenman                     http://www.lerctr.org/~ler
 Phone: +1 512-248-2683                 E-Mail: ler@lerctr.org
 US Mail: 430 Valona Loop, Round Rock, TX 78681-3683 US
 
State-Changed-From-To: feedback->open 
State-Changed-By: itetcu 
State-Changed-When: Sun Jun 4 16:42:01 UTC 2006 
State-Changed-Why:  
Some feedback received. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93185 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Thu Aug 31 06:39:08 UTC 2006 
State-Changed-Why:  
The port will be removed from the tree soon, 
try php-magickwand if you need similar functionalities. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93185 
>Unformatted:
