develooper Front page | perl.perl5.porters | Postings from September 1999

[BUG 5.005_03] Data::Dumper underrefs

Thread Previous | Thread Next
From:
Hugo
Date:
September 24, 1999 22:06
Subject:
[BUG 5.005_03] Data::Dumper underrefs
Message ID:
199909250507.GAA11981@crypt.compulink.co.uk
crypt% perl -MData::Dumper -we '$self = bless {}; $self->{a} = []; $self->{a}[1] = 0; $self->{b} = $self; Dumper($self)'
Attempt to free unreferenced scalar during global destruction.
crypt% 

Cannot reproduce with _61 but I'm not sure whether the bug has been fixed
in perl or in Data::Dumper, so I thought it was worth a mention.

Hugo
---
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.2.5-15, archname=i686-linux
    uname='linux work.crypt.org 2.2.5-15 #1 mon apr 19 23:00:46 edt 1999 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O6', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
    cppflags='-Dbool=char -DHAS_BOOL'
    ccflags ='-Dbool=char -DHAS_BOOL'
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  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): 
  Built under linux
  Compiled at May 14 1999 22:53:10
  @INC:
    /opt/perl5.005_03/lib/5.00503/i686-linux
    /opt/perl5.005_03/lib/5.00503
    /opt/perl5.005_03/lib/site_perl/5.005/i686-linux
    /opt/perl5.005_03/lib/site_perl/5.005
    .

Thread Previous | Thread Next


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