Hello,

I encountered this with apache 2.49, perl 5.8.4 and mod_perl 1.99_14
and now with apache 2.50, perl 5.8.5 and mod_perl 1.99_15. It must
be something stupid but I cannot figure out what is going on:

viele Gruesse
Thomas Berger

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

Failed Test         Stat Wstat Total Fail  Failed  List of Failed
-----------------------------------------------------------------
t/modules/include.t                6    2  33.33%  4-5

t/TEST -verbose modules/include yields:

...
# testing : /Hello World/
# expected: (?-xism:Hello World)
# received: <html>
# <head>
# <title>mod_perl mod_include test</title>
# <meta http-equiv="Content-Type" content="text/html">
# </head>
#
# <h1>mod_perl mod_include test</h1>
#
#
# [an error occurred while processing this directive]
#
# [an error occurred while processing this directive]
#
# <p align=right>[<a href="../index.html">back</a>]</p>
#
# <hr>
# <h5>footer</h5>
not ok 4
...

t/logs/error.log:

[Sat Aug 21 17:28:30 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin /suexec2)
END in modperl_extra.pl, pid=27616
[Sat Aug 21 17:28:36 2004] [notice] Digest: generating secret for digest authentication ...
[Sat Aug 21 17:28:37 2004] [notice] Digest: done
[Sat Aug 21 17:28:37 2004] [notice] Apache/2.0.50 (Unix) mod_perl/1.99_15 Perl/v5.8.5 world domination series/2.0 DAV/2 PHP/4.3.1 configured -- resuming normal operations
[Sat Aug 21 17:28:37 2004] [info] Server built: Aug 20 2004 17:32:12
[Sat Aug 21 17:28:37 2004] [debug] prefork.c(955): AcceptMutex: sysvsem (default: sysvsem)


[Sat Aug 21 17:28:46 2004] [error] [client 127.0.0.1] unable to include potential exec "/includes-registry/test.pl" in parsed file /home/thomas/builds/mod_perl-1.99_15/t/htdocs/includes/test.shtml
[Sat Aug 21 17:28:46 2004] [error] [client 127.0.0.1] unable to include potential exec "/includes-registry/cgipm.pl" in parsed file /home/thomas/builds/mod_perl-1.99_15/t/htdocs/includes/test.shtml


[Sat Aug 21 17:28:46 2004] [info] Child process pid=29693 is exiting
END in modperl_extra.pl, pid=29693
[Sat Aug 21 17:28:46 2004] [info] Child process pid=29692 is exiting
END in modperl_extra.pl, pid=29692
[Sat Aug 21 17:28:46 2004] [info] removed PID file /home/thomas/builds/mod_perl-1.99_15/t/logs/httpd.pid (pid=28654)
[Sat Aug 21 17:28:46 2004] [notice] caught SIGTERM, shutting down END in modperl_extra.pl, pid=28654



All tests succeed when I change in extra.conf for <Directory /home/thomas/builds/mod_perl-1.99_15/t/htdocs/includes> the line Options Indexes FollowSymLinks IncludesNoExec into Options Indexes FollowSymLinks Includes


2. Used Components and their Configuration:

*** mod_perl version 1.9915

*** using /home/thomas/builds/mod_perl-1.99_15/lib/Apache/BuildConfig.pm

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


*** /usr/sbin/httpd2-prefork -V Server version: Apache/2.0.50 Server built: Aug 20 2004 17:32:12 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="/srv/www" -D SUEXEC_BIN="/usr/sbin/suexec2" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/apache2/httpd2-prefork.conf"


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

 -L/usr/lib -lapr-0 -lrt -lm -lcrypt -lnsl  -lpthread -ldl
 -L/usr/lib -laprutil-0 -lgdbm -ldb-4.0 -lexpat



*** /usr/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=linux, osvers=2.4.20-4gb, archname=i686-linux-thread-multi
uname='linux b12496-001 2.4.20-4gb #1 tue aug 10 10:44:07 utc 2004 i686 unknown unknown gnulinux '
config_args='-Dusethreads'
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='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include'
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='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
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: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Aug 20 2004 16:46:08
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/lib/perl5/5.8.5/i686-linux-thread-multi
/usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl
/usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4
.


*** Packages of interest status:

Apache::Request: -
CGI            : 3.05
LWP            : 5.800
mod_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 Sat Aug 21 13:17:22 2004 GMT.

-------------8<---------- End Bug Report --------------8<----------




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