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

[perl #101430] Bleadperl v5.15.3-244-gaa33328 breaks ASG/List-Gen-0.973.tar.gz

Thread Previous | Thread Next
From:
perlbug-followup
Date:
October 16, 2011 00:57
Subject:
[perl #101430] Bleadperl v5.15.3-244-gaa33328 breaks ASG/List-Gen-0.973.tar.gz
Message ID:
rt-3.6.HEAD-31297-1318751817-1290.101430-75-0@perl.org
# New Ticket Created by  (Andreas J. Koenig) 
# Please include the string:  [perl #101430]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=101430 >


git bisect
----------
commit aa33328e822d3a36d7448488403f30a991f148b2
Author: Brian Fraser <fraserbn@gmail.com>
Date:   Sat Jul 23 18:48:51 2011 -0300

    util.c for threads: stashpv_hvname_match UTF8 cleanup.

diagnostics
-----------
When run with a threaded perl, the test t/listgenerator.t of
ASG/List-Gen-0.973.tar.gz dumps core for all bleadperls >=
v5.15.3-244-gaa33328. The stacktrace looks like this:
(gdb) bt
#0  0x00002b08212954ea in ?? () from /lib/libc.so.6
#1  0x00000000004807e4 in Perl_stashpv_hvname_match (my_perl=0x14f8010,
    c=<value optimized out>, hv=0x16f53a8) at util.c:5853
#2  0x00000000004d7ddf in S_doeval (my_perl=0x14f8010,
    gimme=<value optimized out>, startop=0x0, outside=<value optimized out>,
    seq=<value optimized out>) at pp_ctl.c:3503
#3  0x00000000004d9c1e in Perl_pp_require (my_perl=0x14f8010) at pp_ctl.c:4102
#4  0x000000000049dd26 in Perl_runops_standard (my_perl=0x14f8010) at run.c:41
#5  0x00000000004344cc in Perl_call_sv (my_perl=<value optimized out>,
    sv=0x16f53d8, flags=14) at perl.c:2680
#6  0x000000000043499d in Perl_call_list (my_perl=<value optimized out>,
    oldscope=<value optimized out>, paramList=<value optimized out>)
    at perl.c:4742
#7  0x000000000041e907 in S_process_special_blocks (my_perl=0x14f8010,
    fullname=<value optimized out>, gv=0x16f5450, cv=0x16f53d8) at op.c:6786
#8  0x000000000042ec7c in Perl_newATTRSUB (my_perl=0x14f8010,
    floor=<value optimized out>, o=<value optimized out>,
    proto=<value optimized out>, attrs=<value optimized out>,
    block=<value optimized out>) at op.c:6757
#9  0x000000000045de4b in Perl_yyparse (my_perl=0x14f8010,
    gramtype=<value optimized out>) at perly.y:317
#10 0x00000000004d7f6e in S_doeval (my_perl=0x14f8010,
    gimme=<value optimized out>, startop=0x0, outside=<value optimized out>,
    seq=<value optimized out>) at pp_ctl.c:3534
#11 0x00000000004d9c1e in Perl_pp_require (my_perl=0x14f8010) at pp_ctl.c:4102
#12 0x000000000049dd26 in Perl_runops_standard (my_perl=0x14f8010) at run.c:41
#13 0x00000000004344cc in Perl_call_sv (my_perl=<value optimized out>,
    sv=0x16c51d0, flags=14) at perl.c:2680
#14 0x000000000043499d in Perl_call_list (my_perl=<value optimized out>,
    oldscope=<value optimized out>, paramList=<value optimized out>)
    at perl.c:4742
#15 0x000000000041e907 in S_process_special_blocks (my_perl=0x14f8010,
    fullname=<value optimized out>, gv=0x15196d8, cv=0x16c51d0) at op.c:6786
#16 0x000000000042ec7c in Perl_newATTRSUB (my_perl=0x14f8010,
    floor=<value optimized out>, o=<value optimized out>,
    proto=<value optimized out>, attrs=<value optimized out>,
    block=<value optimized out>) at op.c:6757
#17 0x000000000042d869 in Perl_utilize (my_perl=0x14f8010,
    aver=<value optimized out>, floor=<value optimized out>,
    version=<value optimized out>, idop=0x16c36f0, arg=<value optimized out>)
    at op.c:4633
#18 0x000000000045dd9a in Perl_yyparse (my_perl=0x14f8010,
    gramtype=<value optimized out>) at perly.y:361
#19 0x00000000004d7f6e in S_doeval (my_perl=0x14f8010,
    gimme=<value optimized out>, startop=0x0, outside=<value optimized out>,
    seq=<value optimized out>) at pp_ctl.c:3534
#20 0x00000000004d8b3c in Perl_pp_entereval (my_perl=0x14f8010)
    at pp_ctl.c:4227
#21 0x000000000049dd26 in Perl_runops_standard (my_perl=0x14f8010) at run.c:41
#22 0x00000000004344cc in Perl_call_sv (my_perl=<value optimized out>,
    sv=0x16ad138, flags=14) at perl.c:2680
#23 0x000000000043499d in Perl_call_list (my_perl=<value optimized out>,
    oldscope=<value optimized out>, paramList=<value optimized out>)
    at perl.c:4742
#24 0x000000000041e907 in S_process_special_blocks (my_perl=0x14f8010,
    fullname=<value optimized out>, gv=0x15196d8, cv=0x16ad138) at op.c:6786
#25 0x000000000042ec7c in Perl_newATTRSUB (my_perl=0x14f8010,
    floor=<value optimized out>, o=<value optimized out>,
    proto=<value optimized out>, attrs=<value optimized out>,
    block=<value optimized out>) at op.c:6757
#26 0x000000000045de4b in Perl_yyparse (my_perl=0x14f8010,
    gramtype=<value optimized out>) at perly.y:317
#27 0x000000000043665a in S_parse_body (my_perl=0x14f8010,
    env=<value optimized out>, xsinit=<value optimized out>) at perl.c:2221
#28 0x0000000000437439 in perl_parse (my_perl=<value optimized out>,
    xsinit=<value optimized out>, argc=<value optimized out>,
    argv=0x7fff0e742df8, env=<value optimized out>) at perl.c:1628
#29 0x000000000041cd02 in main (argc=3, argv=0x7fff0e742df8,
    env=0x7fff0e742e18) at perlmain.c:118

perl -V
-------
Summary of my perl5 (revision 5 version 15 subversion 3) configuration:
  Commit id: aa33328e822d3a36d7448488403f30a991f148b2
  Platform:
    osname=linux, osvers=2.6.32-5-amd64, archname=x86_64-linux-thread-multi
    uname='linux k83 2.6.32-5-amd64 #1 smp mon oct 3 03:59:20 utc 2011 x86_64 gnulinux '
    config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.15.3-244-gaa33328/ba65 -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.4.5', 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/../lib /usr/lib/../lib /lib /usr/lib /lib64 /usr/lib64
    libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.11.2.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.11.2'
  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_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP 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 Oct 16 2011 09:39:56
  @INC:
    /home/src/perl/repoperls/installed-perls/perl/v5.15.3-244-gaa33328/ba65/lib/site_perl/5.15.3/x86_64-linux-thread-multi
    /home/src/perl/repoperls/installed-perls/perl/v5.15.3-244-gaa33328/ba65/lib/site_perl/5.15.3
    /home/src/perl/repoperls/installed-perls/perl/v5.15.3-244-gaa33328/ba65/lib/5.15.3/x86_64-linux-thread-multi
    /home/src/perl/repoperls/installed-perls/perl/v5.15.3-244-gaa33328/ba65/lib/5.15.3
    .



-- 
andreas


Thread Previous | Thread Next


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