-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
a. ModPerl-Registry/t/bad_scritps.t returns 403 not 500.
b. Console log (verbose):
*** setting ulimit to allow core files
ulimit -c unlimited; ./TEST -verbose 'bad_scripts.t'
*** root mode: changing the files ownership to 'nobody' (65534:65533)
*** sudo -u '#65534' /usr/bin/perl -e 'print -r
"/usr/local/src/modperl2/modperl-2.0/ModPerl-Registry/t" && -w _ && -x _ ?
"OK" : "NOK"'
*** result: OK
/usr/local/apache2/sbin/httpd -d
/usr/local/src/modperl2/modperl-2.0/ModPerl-Registry/t -f
/usr/local/src/modperl2/modperl-2.0/ModPerl-Registry/t/conf/httpd.conf -DAPA
CHE2 -DPERL_USEITHREADS
using Apache/2.0.47 (worker MPM)
waiting for server to start: .....................................
waiting for server to start: ok (waited 36 secs)
server localhost:8529 started
bad_scripts....1..1
# Running under perl version 5.008 for linux
# Current time local: Thu Sep 4 16:19:34 2003
# Current time GMT: Fri Sep 5 02:19:34 2003
# Using Test.pm version 1.24
# testing : the script hasn't declared its private $r
# Failed test 1 in bad_scripts.t at line 13
# expected: 500
# received: 403
not ok 1
FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------
---
bad_scripts.t 1 1 100.00% 1
*** server localhost:8529 shutdown
!!! error running tests (please examine t/logs/error_log)
c. Error log:
[Thu Sep 04 16:19:03 2003] [info] Init: Initializing OpenSSL library
[Thu Sep 04 16:19:03 2003] [info] Init: Seeding PRNG with 0 bytes of entropy
[Thu Sep 04 16:19:03 2003] [info] Init: Generating temporary RSA private
keys (512/1024 bits)
[Thu Sep 04 16:19:03 2003] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Thu Sep 04 16:19:03 2003] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Thu Sep 04 16:19:03 2003] [info] Init: Initializing (virtual) servers for
SSL
[Thu Sep 04 16:19:03 2003] [info] Server: Apache/2.0.47, Interface:
mod_ssl/2.0.47, Library: OpenSSL/0.9.7b
[Thu Sep 04 16:19:04 2003] [info] Init: Initializing OpenSSL library
[Thu Sep 04 16:19:04 2003] [info] Init: Seeding PRNG with 0 bytes of entropy
[Thu Sep 04 16:19:04 2003] [info] Init: Generating temporary RSA private
keys (512/1024 bits)
[Thu Sep 04 16:19:04 2003] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Thu Sep 04 16:19:04 2003] [info] Init: Initializing (virtual) servers for
SSL
[Thu Sep 04 16:19:04 2003] [info] Server: Apache/2.0.47, Interface:
mod_ssl/2.0.47, Library: OpenSSL/0.9.7b
[Thu Sep 04 16:19:04 2003] [notice] Digest: generating secret for digest
authentication ...
[Thu Sep 04 16:19:33 2003] [notice] Digest: done
[Thu Sep 04 16:19:33 2003] [notice] Apache/2.0.47 (Unix)
mod_perl/1.99_10-dev Perl/v5.8.0 mod_ssl/2.0.47 OpenSSL/0.9.7b DAV/2
configured -- resuming normal operations
[Thu Sep 04 16:19:33 2003] [info] Server built: Jul 12 2003 04:49:30
[Thu Sep 04 16:19:33 2003] [debug]
/usr/local/src/apache2/httpd-2.0.47/server/mpm/worker/worker.c(1736):
AcceptMutex: sysvsem (default: sysvsem)
[Thu Sep 04 16:19:34 2003] [error] file permissions deny server
execution/usr/local/src/modperl2/modperl-2.0/ModPerl-Registry/t/cgi-bin/r_in
herited.pl
[Thu Sep 04 16:19:34 2003] [warn] child process 18911 still did not exit,
sending a SIGTERM
[Thu Sep 04 16:19:34 2003] [info] removed PID file
/usr/local/src/modperl2/modperl-2.0/ModPerl-Registry/t/logs/httpd.pid
(pid=18909)
[Thu Sep 04 16:19:34 2003] [notice] caught SIGTERM, shutting down
d. Appears harmless - installed anyway and all my tests OK.
2. Used Components and their Configuration:
*** mod_perl version 1.9910
*** using /usr/local/src/modperl2/modperl-2.0/lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_APXS => /usr/local/apache2/sbin/apxs
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
MP_USE_STATIC => 1
*** /usr/local/apache2/sbin/httpd -V
Server version: Apache/2.0.47
Server built: Jul 12 2003 04:49:30
Server's Module Magic Number: 20020903:4
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="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/httpd/mime.types"
-D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"
*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.20, archname=i586-linux-thread-multi
uname='linux d20 2.4.20 #1 smp thu oct 10 18:10:26 utc 2002 i686 unknown
unknown gnulinux '
config_args='-ds -e -Dprefix=/usr -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_g
dbm -Duseshrplib=true'
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 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FIL
E_OFFSET_BITS=64',
optimize='-O3 --pipe',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing'
ccversion='', gccversion='3.3 20030226 (prerelease) (SuSE Linux)',
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 =''
libpth=/lib /usr/lib /usr/local/lib
libs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
libc=, 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,/usr/lib/perl5/5.8.0/i586-linux-thread-multi
/CORE'
cccdlflags='-fPIC', lddlflags='-shared'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Mar 13 2003 22:22:34
%ENV:
PERL5_CPANPLUS_CONFIG="/root/.cpanplus/config"
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/lib/perl5/5.8.0/i586-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
.
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 Fri Sep 5 02:21:59 2003 GMT.
-------------8<---------- End Bug Report --------------8<----------
Aloha => Beau;
== please visit ==
<http://beaucox.com> => main site
<http://howtos.beaucox.com> => howtos
<http://PPM.beaucox.com> => perl PPMs
<http://CPAN.beaucox.com> => CPAN
== thank you ==
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html