develooper Front page | perl.perl5.porters | Postings from July 2012

[perl #114004] Bleadperl v5.17.1-280-ge6cee8c breaks ROKR/String-Comments-Extract-0.023.tar.gz

From:
perlbug-followup
Date:
July 5, 2012 19:42
Subject:
[perl #114004] Bleadperl v5.17.1-280-ge6cee8c breaks ROKR/String-Comments-Extract-0.023.tar.gz
Message ID:
rt-3.6.HEAD-28836-1341542508-345.114004-75-0@perl.org
# New Ticket Created by  (Andreas J. Koenig) 
# Please include the string:  [perl #114004]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114004 >


git bisect
----------
commit e6cee8c0491df869a38a97c153e5013ccd05f6bd
Author: Father Chrysostomos <sprout@cpan.org>
Date:   Sat Jun 30 17:37:25 2012 -0700

    Put a cap on op slab sizes

sample fail report
------------------
http://www.cpantesters.org/cpan/report/4541ad40-c56f-11e1-9fa3-3c8181a2c3a6

What muddies the waters is that String::Comments::Extract has had FAILs
on OpenBSD and MirBSD and some Linux environments before.

The stacktrace now on my Linux is:


perl -V
-------
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/mnt/k75/homesand/src/perl/repoperls/installed-perls/perl/v5.17.1-280-ge6cee8c/165a/bin/perl...done.
[New LWP 3973]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by
`/mnt/k75/homesand/src/perl/repoperls/installed-perls/perl/v5.17.1-280-ge6cee8c/'.
Program terminated with signal 11, Segmentation fault.
#0  _slash_star_extract_regexp (document=document@entry=0x7fffba8cbe20, 
    node=node@entry=0x201ec90) at Extract.xs:287
287         while ( buffer[ offset ] != '/' || in_character_class ) {
(gdb) bt
#0  _slash_star_extract_regexp (document=document@entry=0x7fffba8cbe20, 
    node=node@entry=0x201ec90) at Extract.xs:287
#1  0x00002ac6b072504b in slash_star_tokenize_string (
    string=string@entry=0x2ac6b0980010 "/*!\n * jQuery JavaScript
    Library v1.4.4\n * http://jquery.com/\n *\n * Copyright 2010, John
    Resig\n * Dual licensed under the MIT or GPL Version 2 licenses.\n *
    http://jquery.org/license\n *\n * Includes Siz"...) at
    Extract.xs:340
#2  0x00002ac6b0725162 in slash_star_extract_comments (
    string=0x2ac6b0980010 "/*!\n * jQuery JavaScript Library v1.4.4\n *
    http://jquery.com/\n *\n * Copyright 2010, John Resig\n * Dual
    licensed under the MIT or GPL Version 2 licenses.\n *
    http://jquery.org/license\n *\n * Includes Siz"...) at
    Extract.xs:430
#3  0x00002ac6b0725256 in
XS_String__Comments__Extract__slash_star_extract_comments (cv=<optimized
out>) at Extract.xs:463
#4  0x00000000004a0b7c in Perl_pp_entersub () at pp_hot.c:2775
#5  0x0000000000499583 in Perl_runops_standard () at run.c:41
#6  0x000000000043f135 in S_run_body (oldscope=1) at perl.c:2414
#7  perl_run (my_perl=<optimized out>) at perl.c:2332
#8  0x00000000004239e5 in main (argc=2, argv=0x7fffba8cc1a8, 
    env=0x7fffba8cc1c0) at perlmain.c:120

perl -V
-------
Summary of my perl5 (revision 5 version 17 subversion 2) configuration:
  Commit id: e6cee8c0491df869a38a97c153e5013ccd05f6bd
  Platform:
    osname=linux, osvers=3.2.0-3-amd64, archname=x86_64-linux
    uname='linux k83 3.2.0-3-amd64 #1 smp thu jun 28 09:07:26 utc 2012
  x86_64 gnulinux '
    config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.17.1-280-ge6cee8c/165a
  -Dmyhostname=k83 -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des
  -Ui_db -Uuseithreads -Uuselongdouble -DDEBUGGING=-g'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector
  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector
  -I/usr/local/include'
    ccversion='', gccversion='4.7.1', 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 -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.13'
  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 PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV
  PERL_USE_DEVEL
                        USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
                        USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
  Built under linux
  Compiled at Jul  5 2012 22:36:39
  @INC:
    /home/src/perl/repoperls/installed-perls/perl/v5.17.1-280-ge6cee8c/165a/lib/site_perl/5.17.2/x86_64-linux
    /home/src/perl/repoperls/installed-perls/perl/v5.17.1-280-ge6cee8c/165a/lib/site_perl/5.17.2
    /home/src/perl/repoperls/installed-perls/perl/v5.17.1-280-ge6cee8c/165a/lib/5.17.2/x86_64-linux
    /home/src/perl/repoperls/installed-perls/perl/v5.17.1-280-ge6cee8c/165a/lib/5.17.2
    .

-- 
andreas




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