Front page | perl.perl5.porters |
Postings from October 2011
Bleadperl segv in arybase and elsewhere
From:
andreas.koenig.7os6VVqR
Date:
October 26, 2011 00:24
Subject:
Bleadperl segv in arybase and elsewhere
Message ID:
87aa8oqkq0.fsf@franz.ak.mind.de
Since my smoker started running with v5.15.4-25-g3b8d3bd it has produced
650 SEGV of which there were 290 in arybase.so. I can produce them quite
reliably by running
perl -MCPAN -eshell
cpan> m CPAN
But there were plenty processes running with the CPAN shell that
somehow survived.
I append an example stacktrace. Let me know if I can provide more
insight.
(gdb) bt
#0 ab_ck_sassign (my_perl=0x1a58010, o=<value optimized out>)
at arybase.xs:171
#1 0x0000000000423451 in Perl_newBINOP (my_perl=0x1a58010, type=37, flags=2,
first=0x9cb1050, last=0x9cb1020) at op.c:3709
#2 0x000000000042fcf0 in Perl_newASSIGNOP (my_perl=0x1a58010, flags=64,
left=0x9cb1020, optype=<value optimized out>, right=0x9cb1050) at op.c:5144
#3 0x000000000045e055 in Perl_yyparse (my_perl=0x1a58010,
gramtype=<value optimized out>) at perly.y:897
#4 0x00000000004d7cae in S_doeval (my_perl=0x1a58010,
gimme=<value optimized out>, startop=0x0, outside=<value optimized out>,
seq=<value optimized out>) at pp_ctl.c:3534
#5 0x00000000004d99be in Perl_pp_require (my_perl=0x1a58010) at pp_ctl.c:4102
#6 0x000000000049e436 in Perl_runops_standard (my_perl=0x1a58010) at run.c:41
#7 0x0000000000434a34 in Perl_call_sv (my_perl=<value optimized out>,
sv=0x9b735d0, flags=14) at perl.c:2686
#8 0x0000000000434f8d in Perl_call_list (my_perl=<value optimized out>,
oldscope=<value optimized out>, paramList=<value optimized out>)
at perl.c:4749
#9 0x000000000041ea07 in S_process_special_blocks (my_perl=0x1a58010,
fullname=<value optimized out>, gv=0x9b73510, cv=0x9b735d0) at op.c:6807
#10 0x000000000042f010 in Perl_newATTRSUB (my_perl=0x1a58010,
floor=<value optimized out>, o=0x2c4f5f0, proto=<value optimized out>,
attrs=<value optimized out>, block=<value optimized out>) at op.c:6778
#11 0x000000000042dba9 in Perl_utilize (my_perl=0x1a58010,
aver=<value optimized out>, floor=<value optimized out>,
version=<value optimized out>, idop=0x9b7dbc0, arg=<value optimized out>)
at op.c:4633
#12 0x000000000045e8ba in Perl_yyparse (my_perl=0x1a58010,
gramtype=<value optimized out>) at perly.y:361
#13 0x00000000004d7cae in S_doeval (my_perl=0x1a58010,
gimme=<value optimized out>, startop=0x0, outside=<value optimized out>,
seq=<value optimized out>) at pp_ctl.c:3534
#14 0x00000000004d99be in Perl_pp_require (my_perl=0x1a58010) at pp_ctl.c:4102
#15 0x000000000049e436 in Perl_runops_standard (my_perl=0x1a58010) at run.c:41
#16 0x00000000004354f2 in S_run_body (my_perl=<value optimized out>)
at perl.c:2378
#17 perl_run (my_perl=<value optimized out>) at perl.c:2301
#18 0x000000000041cecc in main (argc=4, argv=0x7fff159b3638,
env=0x7fff159b3660) at perlmain.c:120
perl -V
-------
Summary of my perl5 (revision 5 version 15 subversion 4) configuration:
Commit id: c73c07e4506ef659dc543d7755cba281bfd78e6d
Platform:
osname=linux, osvers=2.6.32-5-amd64, archname=x86_64-linux-thread-multi-ld
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.4-33-gc73c07e/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.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='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/../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_LONG_DOUBLE
USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
Built under linux
Compiled at Oct 26 2011 06:22:38
@INC:
/home/src/perl/repoperls/installed-perls/perl/v5.15.4-33-gc73c07e/a2da/lib/site_perl/5.15.4/x86_64-linux-thread-multi-ld
/home/src/perl/repoperls/installed-perls/perl/v5.15.4-33-gc73c07e/a2da/lib/site_perl/5.15.4
/home/src/perl/repoperls/installed-perls/perl/v5.15.4-33-gc73c07e/a2da/lib/5.15.4/x86_64-linux-thread-multi-ld
/home/src/perl/repoperls/installed-perls/perl/v5.15.4-33-gc73c07e/a2da/lib/5.15.4
.
--
andreas
-
Bleadperl segv in arybase and elsewhere
by andreas.koenig.7os6VVqR