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

[perl #116094] Re: Bleadperl breaks GFUJI/Text-Xslate-1.6001.tar.gz

From:
Goro Fuji
Date:
December 16, 2012 07:14
Subject:
[perl #116094] Re: Bleadperl breaks GFUJI/Text-Xslate-1.6001.tar.gz
Message ID:
rt-3.6.HEAD-17500-1355472234-1314.116094-75-0@perl.org
# New Ticket Created by  "Goro Fuji" 
# Please include the string:  [perl #116094]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=116094 >


OMG!


On Fri, Dec 14, 2012 at 4:09 PM, Andreas Koenig <
andreas.koenig.7os6VVqR@franz.ak.mind.de> wrote:

> I have no bisect for this one because the test result is random:
> sometimes OK, sometimes SEGV. I saw it the first time happen with
> v5.17.6-281-g01f4497. The test script that triggered it was
> t/010_internals/100_threads.t. I just ran the test with v5.17.6 a
> hundred times without crash, so I suppose the problem stems from some
> commit after that.
>
> The stack trace:
>
> 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
> /home/sand/src/perl/repoperls/installed-perls/perl/v5.17.6-281-g01f4497/a2da/bin/perl...done.
> [New LWP 15044]
>
> 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
> `/home/sand/src/perl/repoperls/installed-perls/perl/v5.17.6-281-g01f4497/a2da/bi'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00000000004a08f7 in S_hv_delete_common (hash=3467783080, d_flags=68,
>     k_flags=0, klen=8, key=0x7fff26e1c7e8 "\b=\322\001", keysv=0x0,
>     hv=0x1dc2050, my_perl=0x1c90010) at hv.c:964
> 964         oentry = &(HvARRAY(hv))[hash & (I32) HvMAX(hv)];
> (gdb) bt
> #0  0x00000000004a08f7 in S_hv_delete_common (hash=3467783080, d_flags=68,
>     k_flags=0, klen=8, key=0x7fff26e1c7e8 "\b=\322\001", keysv=0x0,
>     hv=0x1dc2050, my_perl=0x1c90010) at hv.c:964
> #1  Perl_hv_common (my_perl=0x1c90010, hv=0x1dc2050, keysv=keysv@entry
> =0x0,
>     key=<optimized out>, key@entry=0x7fff26e1c7e8 "\b=\322\001", klen=8,
>     flags=<optimized out>, action=action@entry=68, val=val@entry=0x0,
>     hash=<optimized out>, hash@entry=0) at hv.c:398
> #2  0x00000000004a1f9e in Perl_hv_common_key_len (
>     my_perl=my_perl@entry=0x1c90010, hv=<optimized out>,
>     key=key@entry=0x7fff26e1c7e8 "\b=\322\001", klen_i32=klen_i32@entry=8,
>     action=action@entry=68, val=val@entry=0x0, hash=hash@entry=0) at
> hv.c:335
> #3  0x00002ac5cfeb1582 in glob_ophook (my_perl=0x1c90010, o=0x1d23d08)
>     at Glob.xs:323
> #4  0x0000000000420f64 in Perl_op_free (my_perl=0x1c90010, o=0x1d23d08)
>     at op.c:703
> #5  0x0000000000420f84 in Perl_op_free (my_perl=0x1c90010, o=0x1d23910)
>     at op.c:709
> #6  0x0000000000420f84 in Perl_op_free (my_perl=0x1c90010, o=0x1d23c60)
>     at op.c:709
> #7  0x0000000000465bad in Perl_cv_undef (my_perl=my_perl@entry=0x1c90010,
>     cv=cv@entry=0x1cdcd40) at pad.c:363
> #8  0x00000000004b7738 in Perl_sv_clear (my_perl=my_perl@entry=0x1c90010,
>     orig_sv=orig_sv@entry=0x1cdcd40) at sv.c:6165
> #9  0x00000000004b7b01 in Perl_sv_free2 (my_perl=my_perl@entry=0x1c90010,
>     sv=sv@entry=0x1cdcd40, rc=<optimized out>) at sv.c:6583
> #10 0x000000000043f5c5 in S_SvREFCNT_dec (sv=0x1cdcd40, my_perl=0x1c90010)
>     at inline.h:62
> #11 Perl_gp_free (my_perl=my_perl@entry=0x1c90010, gv=gv@entry=0x1cdccb0)
>     at gv.c:2196
> #12 0x00000000004b7870 in Perl_sv_clear (my_perl=my_perl@entry=0x1c90010,
>     orig_sv=orig_sv@entry=0x1cdccb0) at sv.c:6243
> #13 0x00000000004b7b01 in Perl_sv_free2 (my_perl=0x1c90010, sv=0x1cdccb0,
>     rc=<optimized out>) at sv.c:6583
> #14 0x00000000004ae387 in S_visit (my_perl=my_perl@entry=0x1c90010,
>     f=f@entry=0x4b7d10 <do_clean_all>, flags=flags@entry=0,
> mask=mask@entry=0)
>     at sv.c:422
> #15 0x00000000004ae7d5 in Perl_sv_clean_all (my_perl=my_perl@entry
> =0x1c90010)
>     at sv.c:629
> #16 0x000000000043a752 in perl_destruct (my_perl=0x1c90010) at perl.c:1078
> #17 0x000000000041e9d3 in main (argc=2, argv=0x7fff26e1cd68,
>     env=0x7fff26e1cd80) at perlmain.c:125
>
>
> perl -V
> -------
> Summary of my perl5 (revision 5 version 17 subversion 7) configuration:
>   Commit id: 01f449739adb09a21772a83e939e5c96152d636c
>   Platform:
>     osname=linux, osvers=3.2.0-4-amd64,
> archname=x86_64-linux-thread-multi-ld
>     uname='linux k83 3.2.0-4-amd64 #1 smp debian 3.2.32-1 x86_64 gnulinux '
>
> config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.17.6-281-g01f4497/a2da
> -Dmyhostname=k83 -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db
> -Duseithreads -Duselongdouble -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=define
>     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.7.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='long double', nvsize=16,
> Off_t='off_t', lseeksize=8
>     alignbytes=16, 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 -lpthread -lc
>     perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -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 MULTIPLICITY PERLIO_LAYERS
>                         PERL_DONT_CREATE_GVSV 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_LONG_DOUBLE USE_PERLIO
>                         USE_PERL_ATOF USE_REENTRANT_API
>   Built under linux
>   Compiled at Dec 10 2012 18:11:15
>   @INC:
>
> /home/src/perl/repoperls/installed-perls/perl/v5.17.6-281-g01f4497/a2da/lib/site_perl/5.17.7/x86_64-linux-thread-multi-ld
>
> /home/src/perl/repoperls/installed-perls/perl/v5.17.6-281-g01f4497/a2da/lib/site_perl/5.17.7
>
> /home/src/perl/repoperls/installed-perls/perl/v5.17.6-281-g01f4497/a2da/lib/5.17.7/x86_64-linux-thread-multi-ld
>
> /home/src/perl/repoperls/installed-perls/perl/v5.17.6-281-g01f4497/a2da/lib/5.17.7
>     .
>
>
> --
> andreas
>



-- 
Fuji, Goro (藤 吾郎)



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