Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90375 - mod_perl 1.9.11 (mod_perl for apache2) segfaults, also config files go to wrong directory
Summary: mod_perl 1.9.11 (mod_perl for apache2) segfaults, also config files go to wro...
Status: RESOLVED DUPLICATE of bug 77551
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-25 07:40 UTC by Tom Groves
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Groves 2005-04-25 07:40:47 UTC
I've found a few bugs listed that are similar to this but they are marked as resolved...

I am using the latest portage, have run emerge sync && emerge -uvDt world, yet this problem persists.

If i emerge mod_perl (1.9.11) then the config files are going into /etc/apache2/conf/modules.d wheras httpd.conf is set to Include /etc/apache2/modules.d/*.conf.  Obviously a simple thing for me to fix myself, which I did.

As soon as the files were in the CORRECT location, i restarted apache only for it to segfault on me!  It appears that any version of mod_perl for apache2 on my machine is segfaulting.

My use flags for compiling apache are:

+apache2 -debug +doc +ldap -mpm-leader -mpm-peruser -mpm-preform -mpm-threadpool -mpm-worker -no-suexec +ssl -static-modules +threads

HOWEVER - mod_perl 1.99.17-r1 works, but is masked...should this not be the other way around? :o)

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge mod_perl
3. cp /etc/apache2/conf/modules.d/* /etc/apache2/modules.d
4. /etc/init.d/apache stop
5. /etc/init.d/apache restart

Actual Results:  
Apache seg faults

Expected Results:  
Not segfault! :)

Portage 2.0.51.20-r4 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.5-r0, 2.6.1
1-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share
/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/shar
e/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.kems.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups doc emboss encod
e foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2 imlib ipv6 ithreads java jpe
g junit kde ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg o
ggvorbis opengl oss pam perl perlsuid png python qt quicktime readline sdl slang
 spell ssl svga tcpd threads tiff truetype truetype-fonts type1-fonts vorbis x86
 xml2 xv zlib"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-25 08:05:35 UTC
To clarify a little:

mod_perl-1.99.11 is incompatible with the new Apache layout and also segfaults with those new apache versions. 

mod_perl-1.99.17-r1 is compatible with the new Apache layout but still needs some testing, but if you have httpd.conf then you have the new apache layout and should use the masked one. 

*** This bug has been marked as a duplicate of 77551 ***