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

[perl #123103] Bleadperl breaks SREZIC/Tk-804.032.tar.gz

Thread Previous
slaven @ rezic . de
November 2, 2014 18:52
[perl #123103] Bleadperl breaks SREZIC/Tk-804.032.tar.gz
Message ID:
# New Ticket Created by 
# Please include the string:  [perl #123103]
# 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.21.5.

Almost all Tk tests fail. A simple test case is

    $ perl5.21.5 -Mblib -MTk -MTk::ColorEditor -e 'tkinit->ColorEditor()'
    Modification of a read-only value attempted at /home/e/eserte/src/CPAN.local/Tk/blib/lib/Tk/ line 1219.
     at /home/e/eserte/src/CPAN.local/Tk/blib/lib/Tk/ line 203.

Bisect says:

a623f8939cbcaa58a069807591675c0ebcd4135b is the first bad commit
commit a623f8939cbcaa58a069807591675c0ebcd4135b
Author: Father Chrysostomos <>
Date:   Fri Sep 19 23:12:48 2014 -0700

    Implement the bipolar read-only system
    This fixes bugs related to Hash::Util::unlock accidentally unlocking
    internal scalars (e.g., that returned by undef()) and allowing them to
    be modified.
    Internal read-only values are now marked by two flags, the regular
    read-only flag, and the new ‘protected’ flag.
    Before this SvREADONLY served two purposes:
    1) The code would use it to protect things that must not be modi-
       fied, ever (except when the core sees fit to do so).
    2) Hash::Util and everybody else would use it to make this unmodifia-
       ble temporarily when requested by the user.
    Internals::SvREADONLY serves the latter purpose and only flips the
    read-only flag, so things that need to stay read-only will remain so,
    because of the ‘other’ read-only flag, that CPAN doesn’t know about.
    (If you are a CPAN author, do not read this.)

Another possible victim: TOBYINK/Acme-Futuristic-Perl-0.001.tar.gz
A sample fail report here: (which
also has a "Modification of a read-only value attempted" error)


Site configuration information for perl 5.21.5:

Configured by eserte at Sun Oct 26 13:16:39 CET 2014.

Summary of my perl5 (revision 5 version 21 subversion 5) configuration:
    osname=freebsd, osvers=9.2-release, archname=amd64-freebsd
    uname='freebsd 9.2-release freebsd 9.2-release #0 r255898: thu sep 26 22:50:31 utc 2013 amd64 '
    config_args='-D useshrplib=true -Dprefix=/usr/perl5.21.5p -Dusemymalloc=n -D cc=ccache cc -D usedevel=define -Dgccansipedantic -de'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='ccache cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2',
    optimize='-O2 -pipe',
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.2.1 20070831 patched [FreeBSD]', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ccache cc', ldflags ='-pthread -Wl,-E  -fstack-protector -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib /usr/include/gcc/4.2 /usr/lib
    libs=-lgdbm -lm -lcrypt -lutil -lc
    perllibs=-lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -Wl,-R/usr/perl5.21.5p/lib/5.21.5/amd64-freebsd/CORE'
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib -fstack-protector'

@INC for perl 5.21.5:

Environment for perl 5.21.5:
    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