develooper Front page | perl.perl5.porters | Postings from November 2004

[perl #32624] [BUG] Freeing unreferenced scalar on cygwin perl 5.8.5 (on top of win2003 server)

From:
Jos I. Boumans
Date:
November 25, 2004 07:33
Subject:
[perl #32624] [BUG] Freeing unreferenced scalar on cygwin perl 5.8.5 (on top of win2003 server)
Message ID:
rt-3.0.11-32624-101003.2.07609602345741@perl.org
# New Ticket Created by  "Jos I. Boumans" 
# Please include the string:  [perl #32624]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=32624 >


Hi,

at the end of one of the test files for the development version of  
CPANPLUS, perl does this:

	Attempt to free unreferenced scalar: SV 0x1078aa38, Perl interpreter:
  	0x10110210 during global destruction.

Which doesn't seem something it ought to be doing. This is a stock  
perl5.8.5
as supplied by cygwin, running on top of windows 2003 server (standard).

The complete uname -a, perl -V and test output are below the sig.

As far as i can tell, there are no XS parts working here, so it should  
all
be pure perl, and the problem can be recreated reliably, but only on  
cygwin.

As i'm not really a 'windows person', i may have left out some  
information
necessary to deduce this problem. If so, feel free to ask and i'll  
attempt
to provide it.

--
	Jos Boumans

	'Real programmers use "cat > a.out"'

	CPANPLUS	http://cpanplus.sf.net


[root@wintendo ...cpanplus/devel]$ /usr/bin/perl.exe -Ilib  
t/20_CPANPLUS-Dist-MM
.t
ok 1 - Rebuilding trees
ok 2 - Enabling signature checks
ok 3 - Format is available
ok 4 -    Making format unavailable
ok 5 -    Format failure logged
ok 6 - Fetching module
ok 7 - Extracting module
ok 8 - Testing module
ok 9 -    Test success registered as status
ok 10 - Building distribution
ok 11 -    Dist registered as status
ok 12 - The object isa CPANPLUS::Dist::MM
#
# Sorry, installing into your real perl dir, rather than our test area
# since ExtUtils::Installed does not probe for .packlists in other dirs
# than those in %Config. See bug #6871 on rt.cpan.org for details
ok 13 # skip Probably no permissions to install, skipping
ok 14 # skip Probably no permissions to install, skipping
ok 15 # skip Probably no permissions to install, skipping
ok 16 # skip Probably no permissions to install, skipping
ok 17 # skip Probably no permissions to install, skipping
ok 18 # skip Probably no permissions to install, skipping
ok 19 # skip Probably no permissions to install, skipping
ok 20 # skip Probably no permissions to install, skipping
ok 21 # skip Probably no permissions to install, skipping
ok 22 # skip Probably no permissions to install, skipping
ok 23 - Old status info flushed
ok 24 - New dist object made
ok 25 -    Dist->create failed
ok 26 -    Failure logged
ok 27 -    Dist->create failed
ok 28 -    Failure logged
ok 29 - Old status info flushed
ok 30 - Module fetched again
ok 31 - Module extracted again
ok 32 - Dist object built
ok 33 -    Makefile.PL present
ok 34 -    Makefile.PL written
ok 35 -    Prior existance noted
ok 36 - Deleting Makefile.PL
ok 37 -    Makefile.PL deleted
ok 38 -    Makefile.PL written
ok 39 - Makefile.PL open for read
ok 40 -    Autogeneration noted
ok 41 -    Contains module name
ok 42 -    Contains version
ok 43 -    Contains author
ok 44 -    Contains prereqs
ok 45 -    Contains prereqs
ok 46 -    Contains prereqs
ok 47 - Deleting Makefile.PL
ok 48 -    Makefile.PL deleted
ok 49 - Dist status flushed
ok 50 -    Dist->create run again
ok 51 -    Makefile.PL present
ok 52 -    Makefile.PL generation attempt logged
ok 53 - Makefile.PL deleted
ok 54 - Dist status flushed
ok 55 -    Dist->create failed
ok 56 -    Missing Makefile.PL noted
ok 57 -    Did not manage to create Makefile
ok 58 - Makefile.PL deleted
ok 59 - Dist status flushed
ok 60 -    Dist->create failed
ok 61 -    Logged failed 'perl Makefile.PL'
ok 62 -    Did not manage to create Makefile
ok 63 - Deleting Makefile.PL
1..63
Attempt to free unreferenced scalar: SV 0x1078aa38, Perl interpreter:  
0x10110210
  during global destruction.
[root@wintendo ...cpanplus/devel]$

[root@wintendo ...cpanplus/devel]$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
   Platform:
     osname=cygwin, osvers=1.5.10(0.11642),  
archname=cygwin-thread-multi-64int
     uname='cygwin_nt-5.1 inspiron 1.5.10(0.11642) 2004-05-25 22:07 i686  
unknown
unknown cygwin '
     config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads  
-Doptimize=-O2 -Dma
n3ext=3pm'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=define use5005threads=undef useithreads=define  
usemultiplicity=de
fine
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=define use64bitall=undef uselongdouble=undef
     usemymalloc=y, bincompat5005=undef
   Compiler:
     cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing  
-pipe -I/usr
/local/include',
     optimize='-O2',
     cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe  
-I/usr/local/inc
lude'
     ccversion='', gccversion='3.3.3 (cygwin special)', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
     ivtype='long long', ivsize=8, nvtype='double', nvsize=8,  
Off_t='off_t', lsee
ksize=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='ld2', ldflags =' -s -L/usr/local/lib'
     libpth=/usr/local/lib /usr/lib /lib
     libs=-lgdbm -ldb -lcrypt -lgdbm_compat
     perllibs=-lcrypt -lgdbm_compat
     libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
     cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT  
USE_LARGE_FILES
  PERL_IMPLICIT_CONTEXT
   Built under cygwin
   Compiled at Aug 19 2004 19:48:56
   %ENV:
      
PERL5LIB="/cygdrive/d/sources/p4/other/archive-extract/lib:/cygdrive/d/ 
sourc
es/p4/other/file-fetch/lib:/cygdrive/d/sources/p4/other/archive-tar- 
new/lib:/cyg
drive/d/sources/p4/other/carp-trace/lib:/cygdrive/d/sources/p4/other/ 
log-message
/lib:/cygdrive/d/sources/p4/other/module-load/lib:/cygdrive/d/sources/ 
p4/other/p
arams-check/lib:/cygdrive/d/sources/p4/other/qmail-checkpassword/lib:/ 
cygdrive/d
/sources/p4/other/module-load-conditional/lib:/cygdrive/d/sources/p4/ 
other/term-
ui/lib:/cygdrive/d/sources/p4/other/ipc-cmd/lib:/cygdrive/d/sources/p4/ 
other/con
fig-auto/lib:/cygdrive/d/sources/NSA:/cygdrive/d/sources/NSA/misc:/ 
cygdrive/d/so
urces/NSA/test:/cygdrive/d/sources/beheer/perl"
     CYGWIN=""
   @INC:
     /cygdrive/d/sources/p4/other/archive-extract/lib
     /cygdrive/d/sources/p4/other/file-fetch/lib
     /cygdrive/d/sources/p4/other/archive-tar-new/lib
     /cygdrive/d/sources/p4/other/carp-trace/lib
     /cygdrive/d/sources/p4/other/log-message/lib
     /cygdrive/d/sources/p4/other/module-load/lib
     /cygdrive/d/sources/p4/other/params-check/lib
     /cygdrive/d/sources/p4/other/qmail-checkpassword/lib
     /cygdrive/d/sources/p4/other/module-load-conditional/lib
     /cygdrive/d/sources/p4/other/term-ui/lib
     /cygdrive/d/sources/p4/other/ipc-cmd/lib
     /cygdrive/d/sources/p4/other/config-auto/lib
     /cygdrive/d/sources/NSA
     /cygdrive/d/sources/NSA/misc
     /cygdrive/d/sources/NSA/test
     /cygdrive/d/sources/beheer/perl
     /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int
     /usr/lib/perl5/5.8.5
     /usr/lib/perl5/site_perl/5.8.5/cygwin-thread-multi-64int
     /usr/lib/perl5/site_perl/5.8.5
     /usr/lib/perl5/site_perl
     /usr/lib/perl5/vendor_perl/5.8.5/cygwin-thread-multi-64int
     /usr/lib/perl5/vendor_perl/5.8.5
     /usr/lib/perl5/vendor_perl
     .

[root@wintendo ...cpanplus/devel]$ uname -a
CYGWIN_NT-5.2 wintendo 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown  
unknown C
ygwin




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About