Skip Menu |

This queue is for tickets about the Thread-Conveyor CPAN distribution.

Report information
The Basics
Id: 1574
Status: resolved
Priority: 0/
Queue: Thread-Conveyor

People
Owner: Nobody in particular
Requestors: ABH [...] cpan.org
ask [...] develooper.com
submit [...] bilteks.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Avoid warning about undefined $Apache::ServerStarting in Apache::DBI.pm 0.89
# $Id: DBI.pm,v 1.2 2002/06/18 05:50:19 ask Exp $ require_version DBI 1.00; $Apache::DBI::VERSION = '0.89'; Perl 5.6.1/5.8.0 FreeBSD 4.4
DBI.pm 2002 Jun 18 08:50 size 14017 81c81 < if (defined($Apache::ServerStarting) && $Apache::ServerStarting == 1) { --- > if ($Apache::ServerStarting == 1) {
[ask@one bin]$ ~perl/bin/perl -MThread::Conveyor -e '' Scalars leaked: 1 [ask@one bin]$ ~perl/bin/perl -w -MThread::Conveyor -e 'Thread::Conveyor->new()' Use of uninitialized value in string eq at /home/perl/5.8.0/lib/site_perl/5.8.0/Thread/Conveyor/Throttled.pm line 38. Use of uninitialized value in numeric eq (==) at blib/lib/Thread/Serialize.pm (autosplit into blib/lib/auto/Thread/Serialize/thaw.al) line 76. Use of uninitialized value in numeric eq (==) at blib/lib/Thread/Serialize.pm (autosplit into blib/lib/auto/Thread/Serialize/thaw.al) line 76. Scalars leaked: 1 $ ~perl/bin/perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.18-4smp, archname=i686-linux-thread-multi uname='linux x1.develooper.com 2.4.18-4smp #1 smp thu may 2 18:32:34 edt 2002 i686 unknown ' config_args='-des -Dprefix=/home/perl/5.8.0 -Dusethreads -Duseithreads -Doptimize=-O9' 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='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O9', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.3 2.96-112)', 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='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldl -lm -lpthread -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' 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 Jul 30 2002 19:04:38 @INC: /home/perl/5.8.0/lib/5.8.0/i686-linux-thread-multi /home/perl/5.8.0/lib/5.8.0 /home/perl/5.8.0/lib/site_perl/5.8.0/i686-linux-thread-multi /home/perl/5.8.0/lib/site_perl/5.8.0 /home/perl/5.8.0/lib/site_perl .
Date: Thu, 26 Sep 2002 10:56:00 +0200
To: bug-Thread-Conveyor [...] rt.cpan.org, "'AdminCc [...] dijkmat.nl of cpan Ticket #1574'": ;
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
Subject: Re: [cpan #1574]
Cc: ask [...] develooper.com
At 12:38 AM 9/26/02 -0400, Guest via RT wrote: Show quoted text
>This message about Thread-Conveyor was sent to you by guest via rt.cpan.org >[ask@one bin]$ ~perl/bin/perl -MThread::Conveyor -e '' >Scalars leaked: 1
This is a bug in threaded 5.8.0 that was already reported by me earlier. It's related to starting a thread in BEGIN {}, so anything that (implicitely) uses Thread::Tie, suffers from this. Show quoted text
>[ask@one bin]$ ~perl/bin/perl -w -MThread::Conveyor -e >'Thread::Conveyor->new()' >Use of uninitialized value in string eq at >/home/perl/5.8.0/lib/site_perl/5.8.0/Thread/Conveyor/Throttled.pm line 38.
Fixed with 0.11 of Thread::Conveyor, just uploaded to CPAN. Show quoted text
>Use of uninitialized value in numeric eq (==) at >blib/lib/Thread/Serialize.pm (autosplit into >blib/lib/auto/Thread/Serialize/thaw.al) line 76. >Use of uninitialized value in numeric eq (==) at >blib/lib/Thread/Serialize.pm (autosplit into >blib/lib/auto/Thread/Serialize/thaw.al) line 76.
Fixed with Thread::Serialize 0.04, uploaded a few days ago... Show quoted text
>Scalars leaked: 1
Again, bug in 5.8.0... Thanks for the report! Liz