|
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description: Following your suggestion I added the signal handler for USR2 and found that any test containing the following line hangs:
my $mtime = (stat __FILE__)[9];
This same snippet of code works fine in regular perl programs. I put in a print statement to verify that __FILE__ has the value you would expect (which is does namely the pm for the currently running test). Any more thoughts?
2. Used Components and their Configuration:
*** mod_perl version 1.9913
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options: MP_APXS => /usr/opt/httpd-2.0.49/bin/apxs MP_COMPAT_1X => 1 MP_DEBUG => 1 MP_GENERATE_XS => 1 MP_LIBNAME => mod_perl MP_TRACE => 1 MP_USE_DSO => 1 MP_USE_STATIC => 1 *** /usr/opt/httpd-2.0.49/bin/httpd -V Server version: Apache/2.0.49 Server built: Mar 21 2004 11:04:25 Server's Module Magic Number: 20020903:7 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -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/opt/httpd-2.0.49" -D SUEXEC_BIN="/usr/opt/httpd-2.0.49/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/opt/perl-5.6.2/bin/perl -V Summary of my perl5 (revision 5.0 version 6 subversion 2) configuration: Platform: osname=hpux, osvers=11.00, archname=PA-RISC2.0 uname='hp-ux cars-l b.11.00 u 9000800 134921527 unlimited-user license ' config_args='-Accflags=+Z -Accflags=-DPERL_POLLUTE -Dprefix=/usr/opt/perl-5.6.2 -Doptimize=-g -Dloclibpth=/usr/opt/perl-5.6.2/lib /lib /usr/lib /usr/ccs/lib /usr/opt/libiconv-1.9.1/lib /usr/opt/readline-4.3/lib /usr/opt/openssl-0.9.7d/lib /usr/opt/ncurses-5.3/lib /usr/opt/gettext-0.12.1/lib /usr/opt/jpeg.v6b/lib /opt/informix/lib /usr/opt/zlib-1.1.4/lib /usr/opt/db-4.1.25/lib /usr/opt/expat-1.95.6/lib /usr/opt/gzip-1.2.4/lib /usr/opt/freetds-0.61/lib /usr/opt/libpng-1.2.5/lib /usr/opt/bzip2-1.0.2/lib /usr/opt/gdbm-1.8.3/lib /usr/opt/freetype-2.1.5/lib /usr/opt/gd-2.0.15/lib /usr/opt/tiff-v3.5.7/lib /opt/default/lib -Dlocincpth=/usr/opt/perl-5.6.2/include /include /usr/include /usr/ccs/include /usr/opt/libiconv-1.9.1/include /usr/opt/readline-4.3/include /usr/opt/openssl-0.9.7d/include /usr/opt/ncurses-5.3/include /usr/opt/gettext-0.12.1/include /usr/opt/jpeg.v6b/include /opt/informix/incl /usr/opt/zlib-1.1.4/include /usr/opt/db-4.1.25/include /usr/opt/expat-1.95.6/include /usr/opt/gzip-1.2.4/include /usr/opt/freetds-0.61/include /usr/opt/libpng-1.2.5/include /usr/opt/bzip2-1.0.2/include /usr/opt/gdbm-1.8.3/include /usr/opt/freetype-2.1.5/include /usr/opt/gd-2.0.15/include /usr/opt/tiff-v3.5.7/include /opt/default/include -Dcc=/opt/ansic/bin/cc -Dlibs=-lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lcrypt -lsec -lpthread -lc -lcl -Ubincompat5005 -d -e' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='/opt/ansic/bin/cc', ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +Z -DPERL_POLLUTE -DDEBUGGING -I/usr/opt/perl-5.6.2/include -I/usr/opt/libiconv-1.9.1/include -I/usr/opt/readline-4.3/include -I/usr/opt/openssl-0.9.7d/include -I/usr/opt/ncurses-5.3/include -I/usr/opt/gettext-0.12.1/include -I/usr/opt/jpeg.v6b/include -I/opt/informix/incl -I/usr/opt/zlib-1.1.4/include -I/usr/opt/db-4.1.25/include -I/usr/opt/expat-1.95.6/include -I/usr/opt/freetds-0.61/include -I/usr/opt/libpng-1.2.5/include -I/usr/opt/bzip2-1.0.2/include -I/usr/opt/gdbm-1.8.3/include -I/usr/opt/freetype-2.1.5/include -I/usr/opt/gd-2.0.15/include -I/usr/opt/tiff-v3.5.7/include -I/opt/default/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ', optimize='-g', cppflags='-Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +Z -DPERL_POLLUTE -DDEBUGGING -I/usr/opt/perl-5.6.2/include -I/usr/opt/libiconv-1.9.1/include -I/usr/opt/readline-4.3/include -I/usr/opt/openssl-0.9.7d/include -I/usr/opt/ncurses-5.3/include -I/usr/opt/gettext-0.12.1/include -I/usr/opt/jpeg.v6b/include -I/opt/informix/incl -I/usr/opt/zlib-1.1.4/include -I/usr/opt/db-4.1.25/include -I/usr/opt/expat-1.95.6/include -I/usr/opt/freetds-0.61/include -I/usr/opt/libpng-1.2.5/include -I/usr/opt/bzip2-1.0.2/include -I/usr/opt/gdbm-1.8.3/include -I/usr/opt/freetype-2.1.5/include -I/usr/opt/gd-2.0.15/include -I/usr/opt/tiff-v3.5.7/include -I/opt/default/include' ccversion='A.11.01.25171.GP', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='/usr/bin/ld', ldflags =' -L/usr/opt/perl-5.6.2/lib -L/lib -L/usr/lib -L/usr/ccs/lib -L/usr/opt/libiconv-1.9.1/lib -L/usr/opt/readline-4.3/lib -L/usr/opt/openssl-0.9.7d/lib -L/usr/opt/ncurses-5.3/lib -L/usr/opt/gettext-0.12.1/lib -L/usr/opt/jpeg.v6b/lib -L/opt/informix/lib -L/usr/opt/zlib-1.1.4/lib -L/usr/opt/db-4.1.25/lib -L/usr/opt/expat-1.95.6/lib -L/usr/opt/gzip-1.2.4/lib -L/usr/opt/freetds-0.61/lib -L/usr/opt/libpng-1.2.5/lib -L/usr/opt/bzip2-1.0.2/lib -L/usr/opt/gdbm-1.8.3/lib -L/usr/opt/freetype-2.1.5/lib -L/usr/opt/gd-2.0.15/lib -L/usr/opt/tiff-v3.5.7/lib -L/opt/default/lib' libpth=/usr/opt/perl-5.6.2/lib /lib /usr/lib /usr/ccs/lib /usr/opt/libiconv-1.9.1/lib /usr/opt/readline-4.3/lib /usr/opt/openssl-0.9.7d/lib /usr/opt/ncurses-5.3/lib /usr/opt/gettext-0.12.1/lib /usr/opt/jpeg.v6b/lib /opt/informix/lib /usr/opt/zlib-1.1.4/lib /usr/opt/db-4.1.25/lib /usr/opt/expat-1.95.6/lib /usr/opt/gzip-1.2.4/lib /usr/opt/freetds-0.61/lib /usr/opt/libpng-1.2.5/lib /usr/opt/bzip2-1.0.2/lib /usr/opt/gdbm-1.8.3/lib /usr/opt/freetype-2.1.5/lib /usr/opt/gd-2.0.15/lib /usr/opt/tiff-v3.5.7/lib /opt/default/lib libs=-lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lcrypt -lsec -lpthread -lc -lcl perllibs=-lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec -lpthread -lc -lcl libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred ' cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/opt/perl-5.6.2/lib -L/lib -L/usr/lib -L/usr/ccs/lib -L/usr/opt/libiconv-1.9.1/lib -L/usr/opt/readline-4.3/lib -L/usr/opt/openssl-0.9.7d/lib -L/usr/opt/ncurses-5.3/lib -L/usr/opt/gettext-0.12.1/lib -L/usr/opt/jpeg.v6b/lib -L/opt/informix/lib -L/usr/opt/zlib-1.1.4/lib -L/usr/opt/db-4.1.25/lib -L/usr/opt/expat-1.95.6/lib -L/usr/opt/gzip-1.2.4/lib -L/usr/opt/freetds-0.61/lib -L/usr/opt/libpng-1.2.5/lib -L/usr/opt/bzip2-1.0.2/lib -L/usr/opt/gdbm-1.8.3/lib -L/usr/opt/freetype-2.1.5/lib -L/usr/opt/gd-2.0.15/lib -L/usr/opt/tiff-v3.5.7/lib -L/opt/default/lib' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING USE_LARGE_FILES Built under hpux Compiled at Apr 30 2004 15:59:24 %ENV: PERL_LWP_USE_HTTP_10="1" @INC: /usr/opt/perl-5.6.2/lib/5.6.2/PA-RISC2.0 /usr/opt/perl-5.6.2/lib/5.6.2 /usr/opt/perl-5.6.2/lib/site_perl/5.6.2/PA-RISC2.0 /usr/opt/perl-5.6.2/lib/site_perl/5.6.2 /usr/opt/perl-5.6.2/lib/site_perl . *** Packages of interest status:
Apache::Request: -
CGI : 3.05 LWP : 5.79 mod_perl : - 3. This is the core dump trace: (if you get a core dump): no core dump created
This report was generated by t/REPORT on Tue May 4 21:17:52 2004 GMT.
-------------8<---------- End Bug Report --------------8<----------
---
Will Fulmer Database Administrator Northampton Community College Bethlehem, PA >>> Stas Bekman <[EMAIL PROTECTED]> 5/4/2004 1:46:42 PM >>> William Fulmer wrote: > Hi, > > I'm trying to get mod_perl-1.99_13 to compile with apache 2.0.49 and > perl 5.6.2 That's insufficient, William. Please see: http://perl.apache.org/bugs/ [...] > It hangs on api/request_rec. Try to figure out which sub-test is it hanging on. Try this trick: http://perl.apache.org/docs/1.0/guide/debug.html#Using_the_Perl_Trace > tusc of the httpd process gives the folloing over and over again: > > select(0, NULL, NULL, NULL, 0x7f7f0b10) > ................................. [entry] > select(0, NULL, NULL, NULL, 0x7f7f0b10) > ................................. = 0 > waitpid(4294967295, WIFEXITED(0), WNOHANG|WUNTRACED) > .................... [entry] > waitpid(-1, WIFEXITED(0), WNOHANG|WUNTRACED) > ............................ = 0 which httpd process are you tracing? There is more than one. Looks like you are tracing the parent process. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] 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 |
- make test hangs William Fulmer
- Re: make test hangs Stas Bekman
- Re: make test hangs William Fulmer
- Re: make test hangs Stas Bekman
- Re: make test hangs Stas Bekman
- Re: make test hangs William Fulmer
- Re: make test hangs Stas Bekman
- Re: make test hangs William Fulmer
- Re: make test hangs Stas Bekman
- Re: make test hangs William Fulmer
- Re: make test hangs William Fulmer
- Re: make test hangs Stas Bekman
- Re: make test hangs William Fulmer
