develooper Front page | perl.perl5.porters | Postings from January 2014

[perl #121068] blead broke HTML-FormHandler

Thread Previous
January 23, 2014 15:34
[perl #121068] blead broke HTML-FormHandler
Message ID:
# New Ticket Created by  Zefram 
# Please include the string:  [perl #121068]
# 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.40 running under perl 5.19.8.

[Please describe your issue here]

On Perl 5.19.7 and 5.19.8, HTML-FormHandler-0.40055 is failing its tests
for me, with memory-related problems.  I've seen this on 5.19.7:

t/fields/repeatable.t ................... 1/? perl: malloc.c:4538: _int_malloc: Assertion `victim->fd_nextsize->bk_nextsize == victim' failed.
t/fields/repeatable.t ................... All 3 subtests passed 

And these two failure modes on 5.19.8:

t/fields/repeatable.t ................... 1/? perl: malloc.c:4636: _int_malloc: Assertion `victim->fd_nextsize->bk_nextsize == victim' failed.
t/fields/repeatable.t ................... All 2 subtests passed 

panic: attempt to copy freed scalar 9a07b7c to 9bc935c at /opt/perl-5.19.8/lib/site_perl/5.19.8/i686-linux-64int-ld/Class/MOP/Method/ line 163.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 2.
Attempt to free unreferenced scalar: SV 0x9a07b7c during global destruction.
t/fields/repeatable.t ................... 
Dubious, test returned 255 (wstat 65280, 0xff00)
All 2 subtests passed 

5.19.7 introduced a memory bug, which was noted to affect
Test-Without-Module [perl #120657].  I initially thought HTML-FormHandler
was a victim of the same bug.  But that bug was supposedly fixed in
5.19.8, and Test-Without-Module duly works again, but HTML-FormHandler
is still broken.  It could be a bug in HTML-FormHandler, a different
core bug, or the same core bug having not been properly fixed.

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

Configured by root at Tue Jan 21 11:35:11 UTC 2014.

Summary of my perl5 (revision 5 version 19 subversion 8) configuration:
    osname=linux, osvers=2.6.32-5-686, archname=i686-linux-64int-ld
    uname='linux beryllium.photobox.priv 2.6.32-5-686 #1 smp fri may 10 08:33:48 utc 2013 i686 gnulinux '
    config_args='-des -Dusedevel -Uversiononly -Duseshrplib -Duse64bitint -Duselongdouble -Uusethreads -Uusemultiplicity -Dprefix=/opt/perl-5.19.8 -Dsiteprefix=/opt/perl-5.19.8 -Dvendorprefix=/opt/perl-5.19.8/vendor -Doptimize=-ggdb -O2 -Dcccdlflags=-fPIC -O2 -pipe'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    use64bitint=define, use64bitall=undef, uselongdouble=define
    usemymalloc=n, bincompat5005=undef
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-ggdb -O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.7.2', 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='long double', nvsize=12, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/i486-linux-gnu/4.7/include-fixed /usr/include/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib/../lib /usr/lib/i386-linux-gnu /usr/lib/../lib /lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/opt/perl-5.19.8/lib/5.19.8/i686-linux-64int-ld/CORE'
    cccdlflags='-fPIC -O2 -pipe', lddlflags='-shared -ggdb -O2 -L/usr/local/lib -fstack-protector'

@INC for perl 5.19.8:

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

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