-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
httpd server cores while running make test. Appears that the server
never starts. Have started the server w/o the mod_perl stuff and all
appears to work fine. (only fed a few requests though it though)
FreeBSD 4.6.2 virgin install.
output of make test
/usr/local/apache/bin/httpd -d /home/andrew/Build/mod_perl-1.99_07/t -f
/home/andrew/Build/mod_perl-1.99_07/t/conf/httpd.conf -DAPACHE2
-DPERL_USEITHREADS
using Apache/2.0.43 (prefork MPM)
waiting for server to start: .[Tue Oct 08 15:59:32 2002] [info] 21
Apache:: modules loaded
[Tue Oct 08 15:59:32 2002] [info] 5 APR:: modules loaded
[Tue Oct 08 15:59:32 2002] [info] base server + 5 vhosts ready to run tests
[Tue Oct 08 15:59:32 2002] [info] 20 Apache:: modules loaded
[Tue Oct 08 15:59:32 2002] [info] 5 APR:: modules loaded
[Tue Oct 08 15:59:32 2002] [info] base server + 5 vhosts ready to run tests
.............................................................
waiting for server to start: giving up after 61 secs
!!! server failed to start! (t/logs/error_log wasn't created, start the
server in the debug mode)
Output of httpd with -X
[andrew@xxxxxx][348] /home/andrew/Build/mod_perl-1.99_07/t>
/usr/local/apache/bin/httpd -d /home/andrew/Build/mod_perl-1.99_07/t -f
/home/andrew/Build/mod_perl-1.99_07/t/conf/httpd.conf -DAPACHE2
-DPERL_USEITHREADS -X
[Tue Oct 08 16:04:26 2002] [info] 21 Apache:: modules loaded
[Tue Oct 08 16:04:26 2002] [info] 5 APR:: modules loaded
[Tue Oct 08 16:04:26 2002] [info] base server + 5 vhosts ready to run tests
[Tue Oct 08 16:04:26 2002] [info] 20 Apache:: modules loaded
[Tue Oct 08 16:04:26 2002] [info] 5 APR:: modules loaded
[Tue Oct 08 16:04:26 2002] [info] base server + 5 vhosts ready to run tests
Segmentation fault (core dumped)
2. Used Components and their Configuration:
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_AP_PREFIX => /usr/local/apache
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
MP_USE_STATIC => 1
*** /usr/local/apache/bin/httpd -V
Server version: Apache/2.0.43
Server built: Oct 8 2002 13:56:05
Server's Module Magic Number: 20020903:0
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6
-D APR_USE_FLOCK_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local/apache"
-D SUEXEC_BIN="/usr/local/apache/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"
*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=freebsd, osvers=4.6.2-release,
archname=i386-freebsd-thread-multi
uname='freebsd xxxxxxxxxx 4.6.2-release freebsd 4.6.2-release #0:
wed aug 14 21:23:26 gmt 2002
[EMAIL PROTECTED]:usrsrcsyscompilegeneric i386 '
config_args='-des -Dusethreads'
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 ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-fno-strict-aliasing',
optimize='-O',
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing'
ccversion='', gccversion='2.95.3 20010315 (release) [FreeBSD]',
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 ='-pthread -Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lm -lc_r -lcrypt -lutil
perllibs=-lm -lc_r -lcrypt -lutil
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under freebsd
Compiled at Oct 8 2002 15:18:18
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/local/lib/perl5/5.8.0/i386-freebsd-thread-multi
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd-thread-multi
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl
.
3. This is the core dump trace: (if you get a core dump):
(gdb) bt full
#0 0x281a8c52 in xdr_u_int () from /usr/lib/libc.so.4
No symbol table info available.
#1 0x281a93b6 in xdr_bytes () from /usr/lib/libc.so.4
No symbol table info available.
#2 0x281a9488 in xdr_netobj () from /usr/lib/libc.so.4
No symbol table info available.
#3 0x281bf86a in .cerror () from /usr/lib/libc.so.4
No symbol table info available.
#4 0x28107ecd in apr_socket_accept_filter (sock=0x80baa78,
name=0x80a803c "dataready", args=0x80a803b "") at sockopt.c:360
args = 0x2839e160
"/usr/src/lib/libc_r/uthread/uthread_setsockopt.c"
af = {af_name = "dataready\000\000\000\000\000\000",
af_arg = '\000' <repeats 239 times>}
#5 0x8089c67 in make_sock (p=0x80ba018, server=0x80baa10) at listen.c:189
s = (apr_socket_t *) 0x80baa78
stat = 0
#6 0x8089f79 in ap_listen_open (pool=0x80ba018, port=8529) at listen.c:333
lr = (ap_listen_rec *) 0x80baa10
num_open = 0
#7 0x808a026 in ap_setup_listeners (s=0x80bedb8) at listen.c:363
s = (server_rec *) 0x283a3ce8
lr = (ap_listen_rec *) 0x283a3ce8
num_listeners = 0
#8 0x807e2c0 in prefork_open_logs (p=0x80bc018, plog=0x80f4018,
ptemp=0x80f6018, s=0x80bedb8) at prefork.c:1208
p = (apr_pool_t *) 0x283a3ce8
s = (server_rec *) 0x2
rv = 2
#9 0x807ece8 in ap_run_open_logs (pconf=0x80bc018, plog=0x80f4018,
ptemp=0x80f6018, s=0x80bedb8) at config.c:187
pHook = (ap_LINK_open_logs_t *) 0x283a3ce8
n = 3
rv = 2
#10 0x8083ce5 in main (argc=7, argv=0xbfbffa40) at main.c:584
c = 68 'D'
configtestonly = 0
confname = 0xbfbffba4
"/home/andrew/Build/mod_perl-1.99_07/t/conf/httpd.conf"
def_server_root = 0xbfbffb7b
"/home/andrew/Build/mod_perl-1.99_07/t"
temp_error_log = 0x0
process = (process_rec *) 0x80ba090
server_conf = (server_rec *) 0x80bedb8
pglobal = (apr_pool_t *) 0x80ba018
pconf = (apr_pool_t *) 0x80bc018
plog = (apr_pool_t *) 0x80f4018
ptemp = (apr_pool_t *) 0x80f6018
pcommands = (apr_pool_t *) 0x80f2018
opt = (apr_getopt_t *) 0x80f20b0
rv = 674905320
mod = (module **) 0x80ae9d4
optarg = 0xbfbffbe6 "PERL_USEITHREADS"
signal_server = (apr_OFN_ap_signal_server_t *) 0x2
#11 0x805fce1 in _start ()
No symbol table info available.
This report was generated by t/REPORT on Tue Oct 8 15:57:10 2002 GMT.
-------------8<---------- End Bug Report --------------8<----------
Note: Complete the rest of the details and post this bug report to
dev <at> perl.apache.org. To subscribe to the list send an empty
email to [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]