-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
Using latest (CVS) Apache2, mod_perl 2, libapreq2:
t/modules/apache_status fails
console log:
server localhost:8550 listening (TestDirective::perlloadmodule6)
t/modules/apache_status....1..11
# Running under perl version 5.008003 for linux
# Current time local: Mon Mar 22 23:52:14 2004
# Current time GMT: Tue Mar 23 09:52:14 2004
# Using Test.pm version 1.24
request has failed (the response code was: 500)
see t/logs/error_log for more details
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/modules/apache_status.t 255 65280 11 22 200.00% 1-11
[warning] server localhost:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Error 1
error_log:
[Mon Mar 22 23:51:54 2004] [info] Init: Initializing OpenSSL library
[Mon Mar 22 23:51:54 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Mon Mar 22 23:51:54 2004] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Mon Mar 22 23:51:54 2004] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Mon Mar 22 23:51:54 2004] [warn] Init: Session Cache is not configured [hint:
SSLSessionCache]
[Mon Mar 22 23:51:54 2004] [info] Init: Initializing (virtual) servers for SSL
[Mon Mar 22 23:51:54 2004] [info] Server: Apache/2.0.50-dev, Interface:
mod_ssl/2.0.50-dev, Library: OpenSSL/0.9.7d
END in modperl_extra.pl, pid=22240
END in modperl_extra.pl, pid=22240
END in modperl_extra.pl, pid=22240
END in modperl_extra.pl, pid=22240
[Mon Mar 22 23:52:13 2004] [info] Init: Initializing OpenSSL library
[Mon Mar 22 23:52:13 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Mon Mar 22 23:52:13 2004] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Mon Mar 22 23:52:13 2004] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Mon Mar 22 23:52:13 2004] [info] Init: Initializing (virtual) servers for SSL
[Mon Mar 22 23:52:13 2004] [info] Server: Apache/2.0.50-dev, Interface:
mod_ssl/2.0.50-dev, Library: OpenSSL/0.9.7d
[Mon Mar 22 23:52:13 2004] [notice] Digest: generating secret for digest
authentication ...
[Mon Mar 22 23:52:13 2004] [notice] Digest: done
[Mon Mar 22 23:52:13 2004] [notice] Apache/2.0.50-dev (Unix)
mod_perl/1.99_14-dev Perl/v5.8.3 mod_ssl/2.0.50-dev OpenSSL/0.9.7d DAV/2
configured -- resuming normal operations
[Mon Mar 22 23:52:13 2004] [info] Server built: Mar 22 2004 23:36:23
[Mon Mar 22 23:52:13 2004] [debug] worker.c(1641): AcceptMutex: sysvsem
(default: sysvsem)
[Mon Mar 22 23:52:14 2004] [error] failed to resolve handler `Apache::Status'
[Mon Mar 22 23:52:14 2004] [error] [client 127.0.0.1] Argument "2.03-dev"
isn't numeric in numeric ge (>=)
at /home/test/src/modperl2/modperl-2.0/blib/lib/Apache/Status.pm line 35.
\nCompilation failed in require at (eval 95) line 3.\n
[Mon Mar 22 23:52:14 2004] [info] Child process pid=22245 is exiting
[Mon Mar 22 23:52:14 2004] [info] removed PID
file /home/test/src/modperl2/modperl-2.0/t/logs/httpd.pid (pid=22242)
[Mon Mar 22 23:52:14 2004] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=22242
END in modperl_extra.pl, pid=22242
END in modperl_extra.pl, pid=22242
END in modperl_extra.pl, pid=22242
2. Used Components and their Configuration:
*** mod_perl version 1.9914
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_APXS => /home/test/usr/apache2/sbin/apxs
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
MP_USE_STATIC => 1
*** /home/test/usr/apache2/sbin/httpd -V
Server version: Apache/2.0.50-dev
Server built: Mar 22 2004 23:36:23
Server's Module Magic Number: 20020903:7
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-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="/home/test/usr/apache2"
-D SUEXEC_BIN="/home/test/usr/apache2/bin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/home/test/httpd/conf/mime.types"
-D SERVER_CONFIG_FILE="/home/test/httpd/conf/httpd.conf"
*** /home/test/perl/5.8.3-ithread/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
Platform:
osname=linux, osvers=2.4.25, archname=i686-linux-thread-multi
uname='linux cathy.beaucox.com 2.4.25 #1 fri feb 20 11:05:53 hst 2004 i686
unknown unknown gnulinux '
config_args='-Dprefix=/home/test/perl/5.8.3-ithread -d -e -Dusethreads
-Duseshrplib'
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 -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3.3', 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/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/home/test/perl/5.8.3-ithread/lib/5.8.3/i686-linux-thread-multi/CORE'
cccdlflags='-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 linux
Compiled at Feb 27 2004 10:42:45
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/home/test/perl/5.8.3-ithread/lib/5.8.3/i686-linux-thread-multi
/home/test/perl/5.8.3-ithread/lib/5.8.3
/home/test/perl/5.8.3-ithread/lib/site_perl/5.8.3/i686-linux-thread-multi
/home/test/perl/5.8.3-ithread/lib/site_perl/5.8.3
/home/test/perl/5.8.3-ithread/lib/site_perl
.
*** Packages of interest status:
Apache::Request: 2.03-dev
CGI : 3.01
LWP : 5.76
mod_perl : 1.9914
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by t/REPORT on Tue Mar 23 09:57:25 2004 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]
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html