Bug 1199779 - httpd segfaults on mod_perl
Summary: httpd segfaults on mod_perl
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_perl
Version: 23
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-08 09:26 UTC by pashmak
Modified: 2015-07-23 07:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-23 07:18:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description pashmak 2015-03-08 09:26:44 UTC
Description of problem:
httpd segfaults on mod_perl

Version-Release number of selected component (if applicable):
2.6.11-1.1369_FC4

Name        : apache
Arch        : i686
Version     : 2.2.15

Name        : mod_perl
Arch        : i686
Version     : 2.0.8

Name        : perl
Arch        : i686
Version     : 5.20.2

I am compiling perl with this options:
./Configure -des -Dusethreads -Dprefix=$PerlDestDir -Duseshrplib 

then compile apache with this options:
./configure --with-perl=/path/to/perl --with-mpm=worker --enable-so --enable-proxy --enable-ssl --enable-mods-shared=all --with-ssl=/usr/local/ssl --sysconfdir=$ApacheConfDir --enable-ldap --enable-authnz-ldap --with-apr-util=$APR_APU_HOME/bin/apu-1-config --with-mysql=/usr/local/mysql --with-apr=$APR_APU_HOME/bin/apr-1-config --enable-file-cache --enable-cache --enable-disk-cache --enable-mem-cache --with-pcre=/usr/local/bin/pcre-config --prefix=$ApacheDestDir

I also configure mod_perl with this options:
path/to/perl  Makefile.PL MP_APXS=$ApacheDestDir/bin/apxs MP_APR_CONFIG=$APR_APU_HOME/bin/apr-1-config MP_APU_CONFIG=$APR_APU_HOME/bin/apu-1-config PREFIX=$ModperlDestDir

after make mod_perl I run make test and I see this error:

Can't use an undefined value as a subroutine reference at /usr/perl-5.20.2/lib/5.20.2/i686-linux-thread-multi-64int-ld/DynaLoader.pm line 216.
END failed--call queue aborted at /home/pashmak/mod_perl-2.0.8/blib/lib/ModPerl/Const.pm line 216.
Compilation failed in require at /home/pashmak/mod_perl-2.0.8/blib/lib/Apache2/Const.pm line 18.
BEGIN failed--compilation aborted at /home/pashmak/mod_perl-2.0.8/blib/lib/Apache2/Const.pm line 18.
Compilation failed in require at /home/pashmak/mod_perl-2.0.8/t/response/TestApache/subprocess.pm line 13.
BEGIN failed--compilation aborted at /home/pashmak/mod_perl-2.0.8/t/response/TestApache/subprocess.pm line 13.
Compilation failed in require at /home/pashmak/mod_perl-2.0.8/Apache-Test/lib/Apache/TestConfigPerl.pm line 648.
Attempt to reload Apache2/Const.pm aborted.
Compilation failed in require at /home/pashmak/mod_perl-2.0.8/t/response/TestDirective/perlrequire.pm line 18.
BEGIN failed--compilation aborted at /home/pashmak/mod_perl-2.0.8/t/response/TestDirective/perlrequire.pm line 18.
Compilation failed in require at /home/pashmak/mod_perl-2.0.8/Apache-Test/lib/Apache/TestConfigPerl.pm line 648.
Attempt to reload Apache2/Const.pm aborted.
Compilation failed in require at /home/pashmak/mod_perl-2.0.8/t/response/TestDirective/perlmodule.pm line 16.
BEGIN failed--compilation aborted at /home/pashmak/mod_perl-2.0.8/t/response/TestDirective/perlmodule.pm line 16.
Compilation failed in require at /home/pashmak/mod_perl-2.0.8/Apache-Test/lib/Apache/TestConfigPerl.pm line 648.
/usr/local/apache2.2.15/bin/httpd  -d /home/pashmak/mod_perl-2.0.8/t -f /home/pashmak/mod_perl-2.0.8/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.2.15 (worker MPM)

waiting 300 seconds for server to start: .[Sun Mar 08 12:56:44 2015] [warn] PassEnv variable LD_LIBRARY_PATH was undefined
[  error] oh jeez, server dumped core
[  error] for stacktrace, run: gdb /usr/local/apache2.2.15/bin/httpd -core /home/pashmak/mod_perl-2.0.8/core.23941
[  error]
server has died with status 255 (t/logs/error_log wasn't created, start the server in the debug mode)
[  error] oh nuts, server dumped core
[  error] for stacktrace, run: gdb /usr/local/apache2.2.15/bin/httpd -core /home/pashmak/mod_perl-2.0.8/core.23941
sh: line 1: 23823 Terminated              /usr/perl-5.20.2/bin/perl /home/pashmak/mod_perl-2.0.8/t/TEST -bugreport -verbose=0
make: *** [run_tests] Error 143

Comment 1 Jan Kurik 2015-07-15 14:26:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 2 Jan Kaluža 2015-07-23 07:18:45 UTC
It seems you are using Perl, mod_perl and httpd compiled by yourself. As mod_perl maintainer, I don't support anything else than what we have in Fedora packaged as RPM.

I'm closing this bug as WONTFIX, because it does not use the RPM packages included in Fedora, so I'm not able to fix them.

If you are able to reproduce this bug with official Fedora RPM packages, feel free to reopen.


Note You need to log in before you can comment on or make changes to this bug.