Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2010 14:06:53 +0200 (CEST)
From:      Hans Fredrik Nordhaug <hans@nordhaug.priv.no>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/146794: lang/php5 - segfault when enabling zend multibyte support
Message-ID:  <20100521120653.0B4F38A539@nordhaug.priv.no>
Resent-Message-ID: <201005211230.o4LCU3cl057688@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         146794
>Category:       ports
>Synopsis:       lang/php5 - segfault when enabling zend multibyte support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 21 12:30:03 UTC 2010
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100521120653.0B4F38A539>