You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by William Fulmer <WF...@northampton.edu> on 2004/05/04 19:18:30 UTC
make test hangs
Hi,
I'm trying to get mod_perl-1.99_13 to compile with apache 2.0.49 and
perl 5.6.2
-bash-2.05b# /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
@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
.
It hangs on api/request_rec.
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
and the process consumes near 100% of the cpu that it's running on.
Any help would be appreciated.
---
Will Fulmer
Database Administrator
Northampton Community College
Bethlehem, PA
Re: make test hangs
Posted by Stas Bekman <st...@stason.org>.
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: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