perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greger" <b...@gregerhaga.net>
Subject Fw: test suite fails, mp2.02, apache 2.2.3
Date Wed, 06 Sep 2006 23:33:27 GMT

---------- Forwarded Message -----------
From: "Greger" <boss@gregerhaga.net>
To: modperl-help@perl.apache.org
Sent: Thu, 7 Sep 2006 02:32:36 +0300
Subject: test suite fails, mp2.02, apache 2.2.3

-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

  [DESCRIBE THE PROBLEM HERE]
Test suite failes at the end, trying to start apache obviously, but bails out.
Obviously tries to free a variable, which is not there.( see below error_log ).

2. Used Components and their Configuration:

*** mod_perl version 2.000002

*** using /home/oobi/Desktop/mod_perl-2.0.2/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_APXS        => /usr/local/apache2/bin/apxs
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1

*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.2.3
Server built:   Sep  7 2006 02:40:35
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -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 DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/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"

*** /usr/bin/ldd /usr/local/apache2/bin/httpd
	libm.so.6 => /lib/i686/libm.so.6 (0x40029000)
	libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0 (0x4004c000)
	libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40061000)
	libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0x40081000)
	librt.so.1 => /lib/librt.so.1 (0x400a3000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0x400b7000)
	libpthread.so.0 => /lib/i686/libpthread.so.0 (0x400e9000)
	libdl.so.2 => /lib/libdl.so.2 (0x4013a000)
	libc.so.6 => /lib/i686/libc.so.6 (0x4013d000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

*** (apr|apu)-config linking info

 -L/usr/local/apache2/lib -laprutil-1 -lexpat
 -L/usr/local/apache2/lib -lapr-1 -lrt -lcrypt  -lpthread -ldl

*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.6.0-test3, archname=i586-linux-thread-multi
    uname='linux oldwotan 2.6.0-test3 #1 smp tue may 20 08:20:31 utc 2003 i686
i686 i386 gnulinux '
    config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl
-Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=true -Doptimize=-O2
-march=i586 -mcpu=i686 -fmessage-length=0 -Wall -pipe'
    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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -pipe',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing'
    ccversion='', gccversion='3.3.1 (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 -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    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.1/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
  Locally applied patches:
  	RC5
  Built under linux
  Compiled at Sep 23 2003 15:42:44
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/lib/perl5/5.8.1/i586-linux-thread-multi
    /usr/lib/perl5/5.8.1
    /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.1
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.1
    /usr/lib/perl5/vendor_perl
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.23
ExtUtils::MakeMaker: 6.17
LWP                : 5.805
mod_perl           : -
mod_perl2          : -

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 Thu Sep  7 02:08:54 2006 GMT.

----------------t/log/error_log---begin-------------------------
END in modperl_extra.pl, pid=8057
Attempt to free unreferenced scalar at /usr/lib/perl5/5.8.1/Test/Harness.pm
line 54.
[Thu Sep 07 04:24:19 2006] [notice] Apache/2.2.3 (Unix) world domination
series/2.0 mod_perl/2.0.2 Perl/v5.8.1 configured -- resuming normal operations
[Thu Sep 07 04:24:19 2006] [info] Server built: Sep  7 2006 02:40:35
[Thu Sep 07 04:24:19 2006] [debug] prefork.c(991): AcceptMutex: sysvsem
(default: sysvsem)

*** The following warn entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [info] [client 127.0.0.1] TestAPI::aplog test in
progress

*** The following warn entry is expected and harmless ***
This log message comes with no header

*** The following warn entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [debug] aplog.pm(71): log_serror test 1

*** The following warn entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [debug] aplog.pm(83): (20014)Internal error:
log_serror test 2

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [crit] [client 127.0.0.1] (20007)No time was
provided and one was required.: log_rerror test

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [error] $r->log_error test

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [error] $s->log_error test

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [error] access to /TestAPI__aplog failed for
127.0.0.1, reason: $r->log_reason test

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [error] access to filename failed for 127.0.0.1,
reason: $r->log_reason filename test

*** The following warn entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [debug] aplog.pm(144): TestAPI::aplog test done
[Thu Sep 07 04:24:48 2006] [notice] [client 127.0.0.1] This message should
appear with LogLevel=error!

*** The following warn entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [warn] $s->warn test

*** The following warn entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [warn] Apache2::ServerRec::warn test

*** The following warn entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [warn] Apache2::ServerRec::warn test

*** The following warn entry is expected and harmless ***
[Thu Sep 07 04:24:48 2006] [warn] warn test

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:25:14 2006] [error] Process 8100 terminates itself\n

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:26:24 2006] [error] Apache::log_error test ok

*** The following warn entry is expected and harmless ***
[Thu Sep 07 04:26:24 2006] [warn] Apache->warn ok

*** The following warn entry is expected and harmless ***
[Thu Sep 07 04:26:24 2006] [warn] Apache::warn ok

*** The following warn entry is expected and harmless ***
[Thu Sep 07 04:26:24 2006] [warn] Apache::Server->warn ok

*** The following warn entry is expected and harmless ***
[Thu Sep 07 04:26:24 2006] [warn] Apache::Server::warn ok

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:27:04 2006] [error] [client 127.0.0.1] APR::Socket::recv: (11)
Resursen tillf\xe4lligt otillg\xe4nglig at
/home/oobi/Desktop/mod_perl-2.0.2/t/response/TestError/runtime.pm line 156

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:27:04 2006] [error] [client 127.0.0.1] Undefined subroutine
&TestError::runtime::no_such_func called at
/home/oobi/Desktop/mod_perl-2.0.2/t/response/TestError/runtime.pm line 150.\n

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:27:04 2006] [error] [client 127.0.0.1] APR::Socket::recv: (11)
Resursen tillf\xe4lligt otillg\xe4nglig at
/home/oobi/Desktop/mod_perl-2.0.2/t/response/TestError/runtime.pm line
156\n\tTestError::runtime::mp_error('APR::Socket=SCALAR(0x95b9374)') called at
/home/oobi/Desktop/mod_perl-2.0.2/t/response/TestError/runtime.pm line
75\n\tTestError::runtime::die_hook_confess_mp_error('Apache2::RequestRec=SCALAR(0x95b9320)','APR::Socket=SCALAR(0x95b9374)')
called at /home/oobi/Desktop/mod_perl-2.0.2/t/response/TestError/runtime.pm
line
31\n\tTestError::runtime::handler('Apache2::RequestRec=SCALAR(0x95b9320)')
called at -e line 0\n\teval {...} called at -e line 0\n

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:27:04 2006] [error] [client 127.0.0.1] Undefined subroutine
&TestError::runtime::no_such_func called at
/home/oobi/Desktop/mod_perl-2.0.2/t/response/TestError/runtime.pm line
150.\n\tTestError::runtime::non_mp_error('APR::Socket=SCALAR(0x94b5ce0)')
called at /home/oobi/Desktop/mod_perl-2.0.2/t/response/TestError/runtime.pm
line
82\n\tTestError::runtime::die_hook_confess_non_mp_error('Apache2::RequestRec=SCALAR(0x9442d80)','APR::Socket=SCALAR(0x94b5ce0)')
called at /home/oobi/Desktop/mod_perl-2.0.2/t/response/TestError/runtime.pm
line
31\n\tTestError::runtime::handler('Apache2::RequestRec=SCALAR(0x9442d80)')
called at -e line 0\n\teval {...} called at -e line 0\n

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:27:04 2006] [error] [client 127.0.0.1] custom die hook:
APR::Socket::recv: (11) Resursen tillf\xe4lligt otillg\xe4nglig at
/home/oobi/Desktop/mod_perl-2.0.2/t/response/TestError/runtime.pm line 156 at
/home/oobi/Desktop/mod_perl-2.0.2/t/response/TestError/runtime.pm line 87.\n

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:27:04 2006] [error] [client 127.0.0.1] custom die hook:
Undefined subroutine &TestError::runtime::no_such_func called at
/home/oobi/Desktop/mod_perl-2.0.2/t/response/TestError/runtime.pm line 150.\n

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:27:06 2006] [error] [client 127.0.0.1] failed to resolve
handler `TestError::syntax': syntax error at
/home/oobi/Desktop/mod_perl-2.0.2/t/response/TestError/syntax.pm line 17, near
"\\;"\nCompilation failed in require at (eval 163) line 3.\n

*** The following 2 error entries are expected and harmless ***
[Thu Sep 07 04:27:23 2006] [error] [client 127.0.0.1] This filter must die at
/home/oobi/Desktop/mod_perl-2.0.2/t/filter/TestFilter/in_error.pm line 26.\n
[Thu Sep 07 04:27:23 2006] [error] [client 127.0.0.1]
Apache2::RequestIO::read: (120001) filter handler has failed at
/home/oobi/Desktop/mod_perl-2.0.2/t/filter/TestFilter/in_error.pm line 41

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:28:35 2006] [error] [client 127.0.0.1] File does not exist:
/home/oobi/Desktop/mod_perl-2.0.2/t/htdocs/nope

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:29:17 2006] [error] [client 127.0.0.1] need AuthName:
/TestModperl__setauth

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:29:22 2006] [error] [client 127.0.0.1] File does not exist:
/home/oobi/Desktop/mod_perl-2.0.2/t/htdocs/TestModperl__status

*** The following error entry is expected and harmless ***
[Thu Sep 07 04:29:22 2006] [error] [client 127.0.0.1] Died at
/home/oobi/Desktop/mod_perl-2.0.2/t/response/TestModperl/status.pm line 24.\n

*** The following error entry is expected and harmless ***
Argument "foobar" isn't numeric.

*** The following error entry is expected and harmless ***
Argument "foo9bar" isn't numeric.
Constant subroutine Apache2::Reload::Test::const redefined at
/home/oobi/Desktop/mod_perl-2.0.2/blib/lib/ModPerl/Util.pm line 69,
<fh00002perlfunc.pod> line 6652.
Subroutine subpackage redefined at
/home/oobi/Desktop/mod_perl-2.0.2/t/lib/Apache2/Reload/Test.pm line 7,
<fh00002perlfunc.pod> line 6652.
Subroutine run redefined at
/home/oobi/Desktop/mod_perl-2.0.2/t/lib/Apache2/Reload/Test.pm line 9,
<fh00002perlfunc.pod> line 6652.
Subroutine simple redefined at
/home/oobi/Desktop/mod_perl-2.0.2/t/lib/Apache2/Reload/Test.pm line 15,
<fh00002perlfunc.pod> line 6652.
Prototype mismatch: sub Apache2::Reload::Test::const vs () at
/usr/lib/perl5/5.8.1/constant.pm line 108, <fh00002perlfunc.pod> line 6652.
Subroutine prototype redefined at
/home/oobi/Desktop/mod_perl-2.0.2/t/lib/Apache2/Reload/Test.pm line 17,
<fh00002perlfunc.pod> line 6652.
Constant subroutine Apache2::Reload::Test::const redefined at
/home/oobi/Desktop/mod_perl-2.0.2/blib/lib/ModPerl/Util.pm line 69,
<fh00002perlfunc.pod> line 6652.
Subroutine subpackage redefined at
/home/oobi/Desktop/mod_perl-2.0.2/t/lib/Apache2/Reload/Test.pm line 7,
<fh00002perlfunc.pod> line 6652.
Subroutine run redefined at
/home/oobi/Desktop/mod_perl-2.0.2/t/lib/Apache2/Reload/Test.pm line 9,
<fh00002perlfunc.pod> line 6652.
Subroutine simple redefined at
/home/oobi/Desktop/mod_perl-2.0.2/t/lib/Apache2/Reload/Test.pm line 15,
<fh00002perlfunc.pod> line 6652.
Prototype mismatch: sub Apache2::Reload::Test::const vs () at
/usr/lib/perl5/5.8.1/constant.pm line 108, <fh00002perlfunc.pod> line 6652.
Subroutine prototype redefined at
/home/oobi/Desktop/mod_perl-2.0.2/t/lib/Apache2/Reload/Test.pm line 17,
<fh00002perlfunc.pod> line 6652.
Constant subroutine Apache2::Reload::Test::const redefined at
/home/oobi/Desktop/mod_perl-2.0.2/blib/lib/ModPerl/Util.pm line 69,
<fh00002perlfunc.pod> line 6652.
[Thu Sep 07 04:30:15 2006] [info] Child process pid=8066 is exiting
[Thu Sep 07 04:30:15 2006] [info] Child process pid=8066 is exiting - server push
END in modperl_extra.pl, pid=8066
[Thu Sep 07 04:30:15 2006] [info] Child process pid=8327 is exiting
[Thu Sep 07 04:30:15 2006] [info] Child process pid=8327 is exiting - server push
END in modperl_extra.pl, pid=8327
[Thu Sep 07 04:30:15 2006] [info] Child process pid=8065 is exiting
[Thu Sep 07 04:30:15 2006] [info] Child process pid=8065 is exiting - server push
END in TestModperl::print, pid=8065
END in modperl_extra.pl, pid=8065
[Thu Sep 07 04:30:15 2006] [info] removed PID file
/home/oobi/Desktop/mod_perl-2.0.2/t/logs/httpd.pid (pid=8061)
[Thu Sep 07 04:30:15 2006] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=8061
Attempt to free unreferenced scalar at /usr/lib/perl5/5.8.1/Test/Harness.pm
line 54.
--------------------------t/log/error_log-end-------------------

-------------8<---------- End Bug Report --------------8<----------
------- End of Forwarded Message -------


--
QxRSSReader v1.2.6a released (30-06-2006)
PortScanner v1.2.2 ( 09-08-2006 )
http://www.gregerhaga.net/
There are no stupid questions, only stupid answers.


Mime
View raw message