develooper Front page | perl.perl5.porters | Postings from December 2010

[perl #81230] With a -T switch: untie attempted while 1 inner references still exist

Thread Next
Mark Martinec
December 24, 2010 01:55
[perl #81230] With a -T switch: untie attempted while 1 inner references still exist
Message ID:
# New Ticket Created by  Mark Martinec 
# Please include the string:  [perl #81230]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This is a bug report for perl from,
generated with the help of perlbug 1.39 running under perl 5.13.8.

[Please describe your issue here]

Switching from perl 5.12.2 to 5.13.8 I noticed SpamAssassin's
self-test producing warnings. A test case distills down to:

$ perl -Twe 'use DB_File; my %db;
  tie(%db,"DB_File","0.dat") or die $!;
  $db{"k"}="x"; untie %db if $db{"k"}'


  untie attempted while 1 inner references still exist at -e line 1.

Leaving out the -T switch avoids the problem!

I'm not sure whether this is an issue with a module DB_File
or with core tie handling. I don't see an error in usage.
Everything else seems to be running fine.

[Please do not change anything below this line]
Site configuration information for perl 5.13.8:

Configured by mark at Thu Dec 23 19:15:09 CET 2010.

Summary of my perl5 (revision 5 version 13 subversion 8) configuration:
    osname=freebsd, osvers=7.2-release-p2, archname=amd64-freebsd
    uname='freebsd 7.2-release-p2 freebsd 7.2-release-p2 #0: wed jul 15 15:45:26 cest 2009 amd64 '
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.2.1 20070719  [FreeBSD]', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-Wl,-E  -fstack-protector -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lgdbm -lm -lcrypt -lutil -lc
    perllibs=-lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib -fstack-protector'

Locally applied patches:

@INC for perl 5.13.8:

Environment for perl 5.13.8:
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About