Skip Menu |

This queue is for tickets about the HTTP-Daemon-SSL CPAN distribution.

Report information
The Basics
Id: 15470
Status: resolved
Priority: 0/
Queue: HTTP-Daemon-SSL

People
Owner: Nobody in particular
Requestors: Denis.Stancer [...] public.srce.hr
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.02
Fixed in: 1.03_02



Subject: make test fails on SunOS 5.9 (solaris 2.9) with 1.02
Summary of my perl5 (revision 5 version 8 subversion 5) configuration: Platform: osname=solaris, osvers=2.9, archname=sun4-solaris uname='sunos 5.9 generic sun4u sparc sunw,ultra-5_10 solaris ' config_args='-Dcc=gcc -B/usr/ccs/bin/' 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='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-fno-strict-aliasing -pipe -I/usr/local/include -I/opt/gnu/include' ccversion='', gccversion='3.3.2', gccosandvers='solaris2.9' 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, prototype=define Linker and Libraries: ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib -L/opt/gnu/lib ' libpth=/usr/local/lib /opt/gnu/lib /usr/lib /usr/ccs/lib libs=-lsocket -lbind -lnsl -lgdbm -ldb -ldl -lm -lc perllibs=-lsocket -lbind -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /usr/local/lib/perl5/5.8.5/sun4-solaris/CORE' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib' ============================================== make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/loadmodule....ok t/testmodule....ok 6/8 ============================================== Fails on test 6, i.e. hangs
Subject: make test fails on test 6/8 (Solaris, Fedora Core, RHEL, FreeBSD)
Show quoted text
> ============================================== > make test > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/loadmodule....ok > t/testmodule....ok 6/8 > ============================================== > Fails on test 6, i.e. hangs
I have the same problem, under multiple platforms (Fedora core 4/5, RedHat Enterprise Linux 4 AS, FreeBSD). All hang on testmodule test 6 of 8. If you bypass the 'make test' and install, the module is still partially usable, so long as you never make a get_request. Once you do that, it looks like the program goes into an endless loop in HTTP::Daemon::_need_more() - not sure if this is a bug /w this module or HTTP::Daemon, but the example code for HTTP::Daemon works fine, whereas the code for HTTP::Daemon::SSL does not.
From: ees2y [at] virginia.edu
Show quoted text
> If you bypass the 'make test' and install, the module is still partially > usable, so long as you never make a get_request. Once you do that, it > looks like the program goes into an endless loop in > HTTP::Daemon::_need_more() - not sure if this is a bug /w this module or > HTTP::Daemon, but the example code for HTTP::Daemon works fine, whereas > the code for HTTP::Daemon::SSL does not.
Correction: the loop occurs in HTTP::Daemon::SSL::_need_more(), which exhonerates HTTP::Daemon from any wrong doing. The _need_more() sub in HTTP::Daemon::SSL gets hung up in a while(1) loop.
From: norman.azadian [...] swisscom.com
Mine hangs on test 4/8. I'm using Perl 5.8.7 on Solaris 5.9.
Turns out there is no need to subclass _need_more at all. Resolved in 1.03_02