From hans@nordhaug.priv.no  Fri May 21 12:24:08 2010
Return-Path: <hans@nordhaug.priv.no>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1B92C1065677
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 May 2010 12:24:08 +0000 (UTC)
	(envelope-from hans@nordhaug.priv.no)
Received: from nordhaug.priv.no (static243-173-78.mimer.net [83.243.173.78])
	by mx1.freebsd.org (Postfix) with ESMTP id 364138FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 May 2010 12:24:06 +0000 (UTC)
Received: from nordhaug.priv.no (localhost [127.0.0.1])
	by nordhaug.priv.no (Postfix) with ESMTP id B6BAE8A611
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 May 2010 14:06:58 +0200 (CEST)
Received: from nordhaug.priv.no ([127.0.0.1])
	by nordhaug.priv.no (nordhaug.priv.no [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id jSRjPxJiNZfo for <FreeBSD-gnats-submit@freebsd.org>;
	Fri, 21 May 2010 14:06:53 +0200 (CEST)
Received: by nordhaug.priv.no (Postfix, from userid 1002)
	id 0B4F38A539; Fri, 21 May 2010 14:06:53 +0200 (CEST)
Message-Id: <20100521120653.0B4F38A539@nordhaug.priv.no>
Date: Fri, 21 May 2010 14:06:53 +0200 (CEST)
From: Hans Fredrik Nordhaug <hans@nordhaug.priv.no>
Reply-To: Hans Fredrik Nordhaug <hans@nordhaug.priv.no>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: lang/php5 - segfault when enabling zend multibyte support
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         146794
>Category:       ports
>Synopsis:       lang/php5 - segfault when enabling zend multibyte support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 21 12:30:03 UTC 2010
>Closed-Date:    Tue Aug 31 14:39:57 UTC 2010
>Last-Modified:  Tue Aug 31 14:39:57 UTC 2010
>Originator:     Hans Fredrik Nordhaug
>Release:        FreeBSD 8.0-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC 2010 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Compiling PHP5 as an Apache module with zend multibyte support caused Apache to
segfault - repeatedly. You can find more info and a backtrace in the 
"Apache 22 - FreeBSD 8.0 - (httpd), uid 80: exited on signal 11" thread on 
the mailing list:
http://lists.freebsd.org/pipermail/freebsd-ports/2010-May/thread.html#60925

This might very well be a PHP bug, but I'm reporting it here in case someone
has some input and/or are experiencing the same problem.
>How-To-Repeat:
I'm sorry, but I'm not able make a small reproducable test PHP script. It happens when
I'm using the PivotX blog app/CMS. I'm guessing it is related to utf8_encode calls
and so on, but I don't know.
>Fix:
Don't compile with zend multibyte support enabled ;-)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri May 21 12:30:14 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146794 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Tue Aug 31 14:36:38 UTC 2010 
State-Changed-Why:  
Report it to php devs. 

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