develooper Front page | perl.perl5.porters | Postings from October 2013

[perl #120314] t/re/fold_grind.t spews tons of "Attempt to free temp prematurely" warnings on DEBUGGING but ultimately passes

Thread Previous
From:
bulk88
Date:
October 22, 2013 22:03
Subject:
[perl #120314] t/re/fold_grind.t spews tons of "Attempt to free temp prematurely" warnings on DEBUGGING but ultimately passes
Message ID:
rt-3.6.HEAD-26210-1382479370-84.120314-75-0@perl.org
# New Ticket Created by  bulk88 
# Please include the string:  [perl #120314]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=120314 >


This is a bug report for perl from bulk88@hotmail.com,
generated with the help of perlbug 1.39 running under perl 5.19.6.


-----------------------------------------------------------------
[Please describe your issue here]

I dont think I've ever seen this before, but I almost never make 
DEBUGGING builds. I am also using a compiler I haven't used before, VC6. 
I made a DEBUGGING build with blead today. Did a nmake test. The nmake 
test, ultimately passed, but at one point I noticed something strange in 
the console.
t/re/fold_grind.t spews warnings about "Attempt to free temp 
prematurely" and "Attempt to free unreferenced scalar" when it runs but 
the TAP output passes. I've attached a manual run 
("C:\perl519\src\t>..\perl.exe -I..\lib re/fold_grind.t > 
re-fold_grind.t-free-temp-warnings.txt 2>&1") of the file. The 
interleaving of STDERR and STDOUT is *NOT* the way it is when printed to 
console. They are much more mixed in the console than the attached file. 
File is zipped since its 3 MB of repetitive text.

The bug is also seen on the George Greer smoker at 
http://m-l.org/~perl/smoke/perl/win32/blead/log46879fadd034dcb5d6f720076845767f8ccf152d.log.gz 


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=low
---
Site configuration information for perl 5.19.6:

Configured by Owner at Tue Oct 22 16:20:33 2013.

Summary of my perl5 (revision 5 version 19 subversion 6) configuration:
  Derived from: 082f4888e1e059512e8a6f9abb3c230090974236
  Ancestor: 363338367009f8156f4d49f6a24226eaf02db24c
  Platform:
    osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=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='cl', ccflags ='-nologo -GF -W3 -O1 -MD -Zi -DDEBUGGING -DWIN32 
-D_CONSOLE -DNO_STRICT  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT 
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T',
    optimize='-O1 -MD -Zi -DDEBUGGING',
    cppflags='-DWIN32'
    ccversion='12.00.8168', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', 
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf  
-libpath:"c:\perl519\lib\CORE"  -machine:x86'
    libpth=C:\PROGRA~1\MIAF9D~1\VC98\lib
    libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  
netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib  version.lib 
odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib
    perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib 
winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib 
oleaut32.lib  netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib  
version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl519.lib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug 
-opt:ref,icf  -libpath:"c:\perl519\lib\CORE"  -machine:x86'

Locally applied patches:
    uncommitted-changes
    082f4888e1e059512e8a6f9abb3c230090974236

---
@INC for perl 5.19.6:
    ..\lib
    C:/perl519/src/lib
    .

---
Environment for perl 5.19.6:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=*removed*
    PERL_BADLANG (unset)
    PERL_JSON_BACKEND=JSON::XS
    PERL_YAML_BACKEND=YAML
    SHELL (unset)


Thread Previous


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