Front page | perl.perl5.porters |
Postings from April 2014
[perl #121767] Bleadperl v5.19.3-96-ge8eb279 breaks MLEHMANN/Coro-6.37.tar.gz
Thread Next
From:
perlbug-followup
Date:
April 30, 2014 03:34
Subject:
[perl #121767] Bleadperl v5.19.3-96-ge8eb279 breaks MLEHMANN/Coro-6.37.tar.gz
Message ID:
rt-4.0.18-23284-1398828869-1435.121767-75-0@perl.org
# New Ticket Created by (Andreas J. Koenig)
# Please include the string: [perl #121767]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=121767 >
git bisect
----------
e8eb279cb8d8b30256eb8b1957e1dabed28fc4eb is the first bad commit
commit e8eb279cb8d8b30256eb8b1957e1dabed28fc4eb
Author: Father Chrysostomos <sprout@cpan.org>
Date: Sat Aug 24 18:02:09 2013 -0700
Use SSize_t for tmps stack offsets
This is a partial fix for #119161.
On 64-bit platforms, I32 is too small to hold offsets into a stack
that can grow larger than I32_MAX. What happens is the offsets can
wrap so we end up referencing and modifying elements with negative
indices, corrupting memory, and causing crashes.
With this commit, ()=1..1000000000000 stops crashing immediately.
Instead, it gobbles up all your memory first, and then, if your com-
puter still survives, crashes. The second crash happesn bcause of
a similar bug with the argument stack, which the next commit will
take care of.
diagnostics
-----------
http://www.cpantesters.org/cpan/report/f43d6962-cf48-11e3-a383-9294310f0ce5
perl -V
-------
Summary of my perl5 (revision 5 version 19 subversion 4) configuration:
Commit id: 388a7a89010010e899c2e3a9707478167adad606
Platform:
osname=linux, osvers=3.13-1-amd64, archname=x86_64-linux-thread-multi
uname='linux k83 3.13-1-amd64 #1 smp debian 3.13.7-1 (2014-03-25) x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/perl/v5.19.4/9980 -Dmyhostname=k83 -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Duseithreads -Uuselongdouble -DDEBUGGING=-g'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.8.2', 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 =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.18'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Built under linux
Compiled at Apr 29 2014 04:19:55
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="28938"
PERL5_CPAN_IS_RUNNING="28938"
@INC:
/home/sand/src/perl/repoperls/installed-perls/perl/v5.19.4/9980/lib/site_perl/5.19.4/x86_64-linux-thread-multi
/home/sand/src/perl/repoperls/installed-perls/perl/v5.19.4/9980/lib/site_perl/5.19.4
/home/sand/src/perl/repoperls/installed-perls/perl/v5.19.4/9980/lib/5.19.4/x86_64-linux-thread-multi
/home/sand/src/perl/repoperls/installed-perls/perl/v5.19.4/9980/lib/5.19.4
.
--
andreas
Thread Next
-
[perl #121767] Bleadperl v5.19.3-96-ge8eb279 breaks MLEHMANN/Coro-6.37.tar.gz
by perlbug-followup