Bug 146794

Summary: lang/php5 - segfault when enabling zend multibyte support
Product: Ports & Packages Reporter: Hans Fredrik Nordhaug <hans>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Hans Fredrik Nordhaug 2010-05-21 13:30:03 UTC
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.

Fix: 

Don't compile with zend multibyte support enabled ;-)
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-05-21 13:30:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2010-08-31 15:36:38 UTC
State Changed
From-To: open->closed

Report it to php devs.