Bug 67886

Summary: Building lang/php4 with pspell support causes www/apache2 to segfault at startup
Product: Ports & Packages Reporter: Kirk Strauser <kirk>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Kirk Strauser 2004-06-12 23:00:45 UTC
Whenever I build lang/php4 with "WITH_PSPELL=ON" and attempt to load Apache 2,
the httpd process segfaults immediately on startup.  This includes running
httpd with the "-t" flag to check the server configuration.

Unfortunately, I encountered the problem on a production server and wasn't
able to take the time to get a backtrace, so the best I can do is file this
lame report.

Fix: 

As a workaround, set "WITH_PSPELL=OFF" before compiling lang/php4.
How-To-Repeat: Compile lang/php4 as described and run httpd:

    # httpd -D SSL -t
    Syntax OK
    Segmentation fault (core dumped)
Comment 1 Norikatsu Shigemura freebsd_committer freebsd_triage 2004-06-13 12:05:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer.
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2004-06-13 22:30:09 UTC
I've no problems in running apache2 with pspell extension on 5.2-CURRENT.

--
Alex Dupre
Comment 3 Kirk Strauser 2004-06-13 22:38:45 UTC
At 2004-06-13T21:30:09Z, Alex Dupre <ale@FreeBSD.org> writes:

> I've no problems in running apache2 with pspell extension on 5.2-CURRENT.


How recent is your ports tree?  Mine was updated yesterday.
-- 
Kirk Strauser
Comment 4 Alex Dupre freebsd_committer freebsd_triage 2004-06-13 22:44:54 UTC
Kirk Strauser wrote:

> How recent is your ports tree?  Mine was updated yesterday.

Mine today, they are equal. I've just compiled a default mod_php4 + 
pspell extension, and apache2 (with and without ssl) starts and works 
perfectly.

--
Alex Dupre
Comment 5 Kirk Strauser 2004-06-13 22:49:15 UTC
At 2004-06-13T21:44:54Z, Alex Dupre <ale@FreeBSD.org> writes:

> Mine today, they are equal. I've just compiled a default mod_php4 +
> pspell extension, and apache2 (with and without ssl) starts and works
> perfectly.


That's odd, but thanks for letting me know.  It's 100% reproducible here,
but apparently not a global problem.  Well, file as appropriate.  :)
-- 
Kirk Strauser
Comment 6 Alex Dupre freebsd_committer freebsd_triage 2004-06-13 22:58:15 UTC
Kirk Strauser wrote:

> That's odd, but thanks for letting me know.  It's 100% reproducible here,
> but apparently not a global problem.

JFYI I'm using a default apache2 installation (prefork), but I imagine 
you are doing the same, since you didn't tell me anything else.

--
Alex Dupre
Comment 7 Alex Dupre freebsd_committer freebsd_triage 2004-06-13 23:06:45 UTC
State Changed
From-To: open->closed

Not reproducible, local issue.
Comment 8 Kirk Strauser 2004-06-13 23:08:52 UTC
At 2004-06-13T21:58:15Z, Alex Dupre <ale@FreeBSD.org> writes:

> JFYI I'm using a default apache2 installation (prefork), but I imagine you
> are doing the same, since you didn't tell me anything else.


I touched very few config options, mainly along the lines of changing the
name of log files and adding SSL and virtual host configuration.
-- 
Kirk Strauser