You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Lack Mr G M <gm...@ggr.co.uk> on 2005/01/11 19:45:33 UTC
mp2-RC3 core dump - server start in test (Linux)
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
Web server core dumps on startup in "make test". (The Apache server
runs OK without mod_perl and has been built with sendfile disabled
and APR_HAS_LARGE_FILES set to 1 since that is how perl was compiled).
This is on Linux. FWIW, this is the "equivalent" configuration of
the Irix one mentioned in:
http://mathforum.org/epigone/modperl/sloafrulskix/41DD8E7F.6131A423@ggr.co.uk
2. Used Components and their Configuration:
*** mod_perl version 1.999020
*** using /local/GML/Apache2/mod_perl-2.0.0-RC3/lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_APR_LIB => aprext
MP_AP_PREFIX => /local/GML/install/apache2
MP_COMPAT_1X =>
MP_DEBUG => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_TRACE => 1
MP_USE_DSO => 1
*** /local/GML/install/apache2/bin/httpd -V
Server version: Apache/2.0.52
Server built: Jan 11 2005 18:11:09
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D BIG_SECURITY_HOLE
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/local/GML/install/apache2"
-D SUEXEC_BIN="/local/GML/install/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
*** (apr|apu)-config linking info
-L/local/GML/install/apache2/lib -lapr-0 -lrt -lm -lcrypt -lnsl -lpthread -ldl
-L/local/GML/install/apache2/lib -laprutil-0 -lgdbm -ldb-4.2 -lexpat
*** /GWD/bioinfo/tools/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=linux, osvers=2.4.9-e.3smp, archname=Linux-ia32-thread-multi
uname='linux ukwcx01d 2.4.9-e.3smp #1 smp fri may 3 16:48:54 edt 2002 i686 unknown '
config_args='-dE'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/GWD/bioinfo/tools/include -I/GWD/bioinfo/common/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/GWD/bioinfo/tools/include -I/GWD/bioinfo/common/include'
ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.2 2.96-108.1)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-L/GWD/bioinfo/tools/lib -Wl,--rpath,/GWD/bioinfo/tools/lib'
libpth=/GWD/bioinfo/tools/lib /lib /usr/lib
libs=-lnsl -ldb -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.2.4.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.2.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared -L/GWD/bioinfo/tools/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Jul 28 2004 12:58:09
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/GWD/bioinfo/tools/lib/perl5/5.8.5
/GWD/bioinfo/common/lib/perl5/5.8.5
/GWD/bioinfo/tools/lib/perl5/site_perl/5.8.5
/GWD/bioinfo/common/lib/perl5/site_perl/5.8.5
/GWD/bioinfo/common/lib/perl5/site_perl
.
*** Packages of interest status:
Apache::Request: -
CGI : 3.05
LWP : 5.800
mod_perl : -
3. This is the core dump trace: (if you get a core dump):
(gdb) where
#0 0x404c6224 in ap_pcw_walk_files_config (pconf=0x80a7d58, s=0x80c3f18,
dconf=0x80c4600, modp=0x405a1a60,
dir_cb=0x404c5e4a <modperl_hash_handlers_dir>, data=0x0)
at modperl_pcw.c:67
#1 0x404c6414 in ap_pcw_walk_config (pconf=0x80a7d58, s=0x80c3f18,
modp=0x405a1a60, data=0x0, dir_cb=0x404c5e4a <modperl_hash_handlers_dir>,
srv_cb=0x404c5f15 <modperl_hash_handlers_srv>) at modperl_pcw.c:121
#2 0x404c6099 in modperl_mgv_hash_handlers (p=0x80a7d58, s=0x80c3f18)
at modperl_mgv.c:520
#3 0x404b47e4 in modperl_hook_post_config_last (pconf=0x80a7d58,
plog=0x80d1e00, ptemp=0x80d3e08, s=0x80c3f18) at mod_perl.c:693
#4 0x080695f6 in ap_run_post_config ()
#5 0x0806f209 in main ()
#6 0x403457f7 in __libc_start_main () from /lib/i686/libc.so.6
This report was generated by t/REPORT on Tue Jan 11 18:36:26 2005 GMT.
-------------8<---------- End Bug Report --------------8<----------
Note: Complete the rest of the details and post this bug report to
modperl <at> perl.apache.org. To subscribe to the list send an empty
email to modperl-subscribe@perl.apache.org.