You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Fred Moyer <fr...@taperfriendlymusic.org> on 2004/08/25 09:41:06 UTC
[mp2] 1.99_16 test failure
Greetings,
I encountered a test failure for t/lookup_uri.t on 1.99_16 under perl
5.8.5 and httpd 2.0.50. Same test failure occurs under cvs head. I dug
into the code but don't understand enough about it to provide a patch
right now.
-------------8<---------- Start Bug Report ------------8<---------- 1.
Problem Description:
During 'make test'
[Mon Aug 23 20:07:59 2004] [error] [client 127.0.0.1] Use of uninitialized
value in string eq at
/home/fred/dev/cvs/modperl-2.0/t/response/TestAPI/lookup_uri.pm line 30.
2. Used Components and their Configuration:
*** mod_perl version 1.9916
*** using /home/fred/dev/cvs/modperl-2.0/lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_APR_LIB => aprext
MP_APXS => /home/fred/dev/httpd2/bin/apxs
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
MP_USE_STATIC => 1
*** /home/fred/dev/httpd2/bin/httpd -V
Server version: Apache/2.0.50
Server built: Aug 5 2004 01:46:05
Server's Module Magic Number: 20020903:8
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 (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/fred/dev/httpd2"
-D SUEXEC_BIN="/home/fred/dev/httpd2/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/home/fred/dev/httpd2/lib -lapr-0 -lrt -lm -lcrypt -lnsl -lpthread
-ldl
-L/home/fred/dev/httpd2/lib -laprutil-0 -lgdbm -ldb-4.2 -lexpat
*** /home/fred/dev/perl/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=linux, osvers=2.6.7-gentoo-r8, archname=i686-linux
uname='linux fishman 2.6.7-gentoo-r8 #4 sat jul 24 12:49:28 edt 2004
i686 intel(r) pentium(r) m processor 1600mhz genuineintel gnulinux '
config_args='-Dprefix=/home/fred/dev/perl'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe'
ccversion='', gccversion='3.3.4 20040623 (Gentoo Linux 3.3.4-r1,
ssp-3.3.2-2, pie-8.7.6)', 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 -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Aug 4 2004 23:49:58
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/home/fred/dev/perl/lib/5.8.5/i686-linux
/home/fred/dev/perl/lib/5.8.5
/home/fred/dev/perl/lib/site_perl/5.8.5/i686-linux
/home/fred/dev/perl/lib/site_perl/5.8.5
/home/fred/dev/perl/lib/site_perl
.
*** Packages of interest status:
Apache::Request: 2.04-dev
CGI : 3.05
LWP : 5.800
mod_perl : 1.9915
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 Aug 24 01:45:39 2004 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.
--
TaperFriendlyMusic.org
Where the music never stops...
http://www.taperfriendlymusic.org
--
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
Re: [mp2] 1.99_16 test failure
Posted by Stas Bekman <st...@stason.org>.
Fred Moyer wrote:
>>>During 'make test'
>>>
>>>[Mon Aug 23 20:07:59 2004] [error] [client 127.0.0.1] Use of
>>>uninitialized
>>>value in string eq at
>>>/home/fred/dev/cvs/modperl-2.0/t/response/TestAPI/lookup_uri.pm line 30.
>>
>>Fred, please read:
>>http://perl.apache.org/docs/2.0/user/help/help.html#_C_make_test___Failures
>>
>
>
> Got the same error first time around with verbose test settings but runs
> fine now after the second verbose run. Strange because I was able to
> replicate it a couple times from scratch yesterday. Sorry for the false
> alarm - computer probably needs a break.
In any case, I've changed the test to make sure that this uninitialized
warning won't happen.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
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
Re: [mp2] 1.99_16 test failure
Posted by Fred Moyer <fr...@taperfriendlymusic.org>.
>> During 'make test'
>>
>> [Mon Aug 23 20:07:59 2004] [error] [client 127.0.0.1] Use of
>> uninitialized
>> value in string eq at
>> /home/fred/dev/cvs/modperl-2.0/t/response/TestAPI/lookup_uri.pm line 30.
>
> Fred, please read:
> http://perl.apache.org/docs/2.0/user/help/help.html#_C_make_test___Failures
>
Got the same error first time around with verbose test settings but runs
fine now after the second verbose run. Strange because I was able to
replicate it a couple times from scratch yesterday. Sorry for the false
alarm - computer probably needs a break.
--
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
Re: [mp2] 1.99_16 test failure
Posted by Stas Bekman <st...@stason.org>.
Fred Moyer wrote:
> Greetings,
>
> I encountered a test failure for t/lookup_uri.t on 1.99_16 under perl
> 5.8.5 and httpd 2.0.50. Same test failure occurs under cvs head. I dug
> into the code but don't understand enough about it to provide a patch
> right now.
>
>
> -------------8<---------- Start Bug Report ------------8<---------- 1.
> Problem Description:
>
> During 'make test'
>
> [Mon Aug 23 20:07:59 2004] [error] [client 127.0.0.1] Use of uninitialized
> value in string eq at
> /home/fred/dev/cvs/modperl-2.0/t/response/TestAPI/lookup_uri.pm line 30.
Fred, please read:
http://perl.apache.org/docs/2.0/user/help/help.html#_C_make_test___Failures
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
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