1. Problem Description:

  When I run make test, the protocol handler tests fail -- all other
  tests up to that point do not fail.

  After digging in a bit, it seems that what is happening is that the
  input bucket brigade is always empty (i.e. is_empty() always returns
  true). This same problem occurs with 1.99_15.

  In the error log, I get the following error:
 
  [Wed Aug 25 15:09:48 2004] [error] APR::Socket::recv: (35) Resource \
    temporarily unavailable at
  /export/src/mod_perl-1.99_16/t/protocol/TestProtocol/echo_block.pm line 34

  Any ideas as to why this might be happening?

  BTW -- a potential strangeness is that I have two Perls on
  this box: 5.8.4 and 5.8.2; 5.8.4's @INC includes the 5.8.2 include
  paths (see below) -- could that be causing the problem?
  
  Here's a transcript of the test failures:
   
   ... (from make test TEST_VERBOSE=1)
   # expected: mod_perl
   # received:
   not ok 2
   # Failed test 2 in t/filter/both_str_con_add.t at line 22
   #  t/filter/both_str_con_add.t line 22 is:     ok t_cmp($reply, $str);
   # expected: 2.0
   # received:
   not ok 3
   # Failed test 3 in t/filter/both_str_con_add.t at line 22 fail #2
   # expected: rules
   # received:
   not ok 4
   # Failed test 4 in t/filter/both_str_con_add.t at line 22 fail #3
   FAILED tests 2-4
           Failed 3/4 tests, 25.00% okay
   ...

   # expected: hello
   # received:
   not ok 2
   # Failed test 2 in t/protocol/echo_block.t at line 19
   #  t/protocol/echo_block.t line 19 is:     ok t_cmp($reply, $_);
   # expected: world
   # received:
   not ok 3
   # Failed test 3 in t/protocol/echo_block.t at line 19 fail #2
   ...

   # expected: HELLO
   # received:
   not ok 2
   # Failed test 2 in t/protocol/echo_filter.t at line 19
   #  t/protocol/echo_filter.t line 19 is:     ok t_cmp($reply, uc($_));
   # expected: WORLD
   # received:
   not ok 3
   # Failed test 3 in t/protocol/echo_filter.t at line 19 fail #2

2. Used Components and their Configuration:

*** mod_perl version 1.9916

*** using /export/src/mod_perl-1.99_16/lib/Apache/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_APXS        => /usr/local/apache2.0.50-modperl1.99_16/bin/apxs
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1
  MP_USE_STATIC  => 1


*** /usr/local/apache2.0.50-modperl1.99_16/bin/httpd -V
Server version: Apache/2.0.50
Server built:   Aug 23 2004 20:08:21
Server's Module Magic Number: 20020903:8
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr/local/apache2.0.50-modperl1.99_16"
 -D SUEXEC_BIN="/usr/local/apache2.0.50-modperl1.99_16/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/usr/local/apache2.0.50-modperl1.99_16/lib -lapr-0 -lm -lresolv  -lpthread
 -L/usr/local/apache2.0.50-modperl1.99_16/lib -laprutil-0 -ldb -lexpat



*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
  Platform:
    osname=openbsd, osvers=3.4, archname=OpenBSD.i386-openbsd
    uname='openbsd malleus.mailchannels.com 3.4 malleus#0 i386 '
    config_args=''
    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 -I/usr/local/include',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.3 20010125 (prerelease, propolice)', 
gccosandvers='openbsd3.4'
    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 ='-Wl,-E  -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-ldb -lm -lutil -lc
    perllibs=-lm -lutil -lc
    libc=/usr/lib/libc.so.30.1, 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 -fPIC  -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under openbsd
  Compiled at May  6 2004 19:19:56
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/local/lib/perl5/5.8.4/OpenBSD.i386-openbsd
    /usr/local/lib/perl5/5.8.4
    /usr/local/lib/perl5/site_perl/5.8.4/OpenBSD.i386-openbsd
    /usr/local/lib/perl5/site_perl/5.8.4
    /usr/local/lib/perl5/site_perl/5.8.2/OpenBSD.i386-openbsd
    /usr/local/lib/perl5/site_perl/5.8.2
    /usr/local/lib/perl5/site_perl
    .

*** Packages of interest status:

Apache::Request: -
CGI            : 3.04
LWP            : 5.76
mod_perl       : 1.9916


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 Wed Aug 25 22:14:03 2004 GMT.

-- 
MailChannels: Control Your Email
http://www.mailchannels.com

Ken Simpson, CEO
+1-604-729-1741

-- 
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

Reply via email to