Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bleadperl v5.15.4-465-g676a678 breaks IDOPEREL/MorboDB-0.001001.tar.gz #11849

Closed
p5pRT opened this issue Jan 6, 2012 · 4 comments
Closed

Bleadperl v5.15.4-465-g676a678 breaks IDOPEREL/MorboDB-0.001001.tar.gz #11849

p5pRT opened this issue Jan 6, 2012 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Jan 6, 2012

Migrated from rt.perl.org#107656 (status was 'resolved')

Searchable as RT107656$

@p5pRT
Copy link
Author

p5pRT commented Jan 6, 2012

From @andk

git bisect


commit 676a678
Author​: Zefram <zefram@​fysh.org>
Date​: Sat Nov 19 16​:00​:32 2011 +0000

  narrower localisation of PL_compcv around eval

diagnostics


http​://www.cpantesters.org/cpan/report/33fbfe5a-37ee-11e1-a47a-e24d9aeef8c6

stack trace from gdb​:
Core was generated by `/home/sand/src/perl/repoperls/installed-perls/perl/v5.15.4-465-g676a678/165a/bi'.
Program terminated with signal 11, Segmentation fault.
#0 Perl_varname (gv=0x0, gvtype=64 '@​', targ=2, keyname=0x0,
  aindex=<value optimized out>, subscript_type=1) at sv.c​:13819

warning​: Source file is more recent than executable.
13819 }
(gdb) bt
#0 Perl_varname (gv=0x0, gvtype=64 '@​', targ=2, keyname=0x0,
  aindex=<value optimized out>, subscript_type=1) at sv.c​:13819
#1 0x000000000042e450 in Perl_ck_length (o=0x2af2280) at op.c​:9699
#2 0x0000000000429045 in Perl_newUNOP (type=112, flags=1, first=0x2af2250)
  at op.c​:3687
#3 0x000000000045ea17 in Perl_yyparse (gramtype=<value optimized out>)
  at perly.y​:1255
#4 0x00000000004c8a77 in S_doeval (gimme=<value optimized out>, startop=0x0,
  outside=0x0, seq=<value optimized out>, hh=<value optimized out>)
  at pp_ctl.c​:3578
#5 0x00000000004ca781 in Perl_pp_require () at pp_ctl.c​:4135
#6 0x0000000000497183 in Perl_runops_standard () at run.c​:41
#7 0x0000000000436228 in Perl_call_sv (sv=0x231dd20, flags=14) at perl.c​:2686
#8 0x00000000004366d8 in Perl_call_list (oldscope=<value optimized out>,
  paramList=<value optimized out>) at perl.c​:4749
#9 0x0000000000421fc6 in S_process_special_blocks (
  fullname=<value optimized out>, gv=0x2322c98, cv=0x231dd20) at op.c​:6834
#10 0x00000000004315f0 in Perl_newATTRSUB (floor=<value optimized out>,
  o=0x23194c8, proto=<value optimized out>, attrs=<value optimized out>,
  block=<value optimized out>) at op.c​:6804
#11 0x0000000000431c68 in Perl_utilize (aver=<value optimized out>, floor=445,
  version=<value optimized out>, idop=0x22f5970, arg=0x0) at op.c​:4659
#12 0x000000000045ddf2 in Perl_yyparse (gramtype=<value optimized out>)
  at perly.y​:361
#13 0x00000000004c8a77 in S_doeval (gimme=<value optimized out>, startop=0x0,
  outside=0x0, seq=<value optimized out>, hh=<value optimized out>)
  at pp_ctl.c​:3578
#14 0x00000000004ca781 in Perl_pp_require () at pp_ctl.c​:4135
#15 0x0000000000497183 in Perl_runops_standard () at run.c​:41
#16 0x0000000000436228 in Perl_call_sv (sv=0x231db58, flags=14) at perl.c​:2686
#17 0x00000000004366d8 in Perl_call_list (oldscope=<value optimized out>,
  paramList=<value optimized out>) at perl.c​:4749
#18 0x0000000000421fc6 in S_process_special_blocks (
  fullname=<value optimized out>, gv=0x231da08, cv=0x231db58) at op.c​:6834
#19 0x00000000004315f0 in Perl_newATTRSUB (floor=<value optimized out>,
  o=0x2319328, proto=<value optimized out>, attrs=<value optimized out>,
  block=<value optimized out>) at op.c​:6804
#20 0x0000000000431c68 in Perl_utilize (aver=<value optimized out>, floor=309,
  version=<value optimized out>, idop=0x21f3ad0, arg=0x0) at op.c​:4659
#21 0x000000000045ddf2 in Perl_yyparse (gramtype=<value optimized out>)
  at perly.y​:361
#22 0x00000000004c8a77 in S_doeval (gimme=<value optimized out>, startop=0x0,
  outside=0x0, seq=<value optimized out>, hh=<value optimized out>)
  at pp_ctl.c​:3578
#23 0x00000000004ca781 in Perl_pp_require () at pp_ctl.c​:4135
#24 0x0000000000497183 in Perl_runops_standard () at run.c​:41
#25 0x0000000000436228 in Perl_call_sv (sv=0x215bcb8, flags=14) at perl.c​:2686
#26 0x00000000004366d8 in Perl_call_list (oldscope=<value optimized out>,
  paramList=<value optimized out>) at perl.c​:4749
#27 0x0000000000421fc6 in S_process_special_blocks (
  fullname=<value optimized out>, gv=0x215bce8, cv=0x215bcb8) at op.c​:6834
#28 0x00000000004315f0 in Perl_newATTRSUB (floor=<value optimized out>,
  o=0x21439e8, proto=<value optimized out>, attrs=<value optimized out>,
  block=<value optimized out>) at op.c​:6804
#29 0x0000000000431c68 in Perl_utilize (aver=<value optimized out>, floor=173,
  version=<value optimized out>, idop=0x2184490, arg=0x0) at op.c​:4659
#30 0x000000000045ddf2 in Perl_yyparse (gramtype=<value optimized out>)
  at perly.y​:361
#31 0x00000000004c8a77 in S_doeval (gimme=<value optimized out>, startop=0x0,
  outside=0x0, seq=<value optimized out>, hh=<value optimized out>)
  at pp_ctl.c​:3578
#32 0x00000000004ca781 in Perl_pp_require () at pp_ctl.c​:4135
#33 0x0000000000497183 in Perl_runops_standard () at run.c​:41
#34 0x0000000000436228 in Perl_call_sv (sv=0x2144fa0, flags=14) at perl.c​:2686
#35 0x00000000004366d8 in Perl_call_list (oldscope=<value optimized out>,
  paramList=<value optimized out>) at perl.c​:4749
#36 0x0000000000421fc6 in S_process_special_blocks (
  fullname=<value optimized out>, gv=0x2144fb8, cv=0x2144fa0) at op.c​:6834
#37 0x00000000004315f0 in Perl_newATTRSUB (floor=<value optimized out>,
  o=0x2143028, proto=<value optimized out>, attrs=<value optimized out>,
  block=<value optimized out>) at op.c​:6804
#38 0x0000000000431c68 in Perl_utilize (aver=<value optimized out>, floor=37,
  version=<value optimized out>, idop=0x214f6e0, arg=0x0) at op.c​:4659
#39 0x000000000045ddf2 in Perl_yyparse (gramtype=<value optimized out>)
  at perly.y​:361
---Type <return> to continue, or q <return> to quit---
#40 0x0000000000437e83 in S_parse_body (env=<value optimized out>,
  xsinit=<value optimized out>) at perl.c​:2227
#41 0x0000000000438e7d in perl_parse (my_perl=<value optimized out>,
  xsinit=<value optimized out>, argc=<value optimized out>,
  argv=0x7fff780b6ae8, env=<value optimized out>) at perl.c​:1634
#42 0x0000000000420540 in main (argc=3, argv=0x7fff780b6ae8,
  env=0x7fff780b6b08) at perlmain.c​:118
(gdb)

perl -V


Summary of my perl5 (revision 5 version 15 subversion 4) configuration​:
  Commit id​: 676a678
  Platform​:
  osname=linux, osvers=2.6.32-5-amd64, archname=x86_64-linux
  uname='linux k83 2.6.32-5-amd64 #1 smp thu nov 3 03​:41​:26 utc 2011 x86_64 gnulinux '
  config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.15.4-465-g676a678/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.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 -lc
  perllibs=-lnsl -ldl -lm -lcrypt -lutil -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 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 Dec 20 2011 23​:42​:21
  @​INC​:
  /home/src/perl/repoperls/installed-perls/perl/v5.15.4-465-g676a678/165a/lib/site_perl/5.15.4/x86_64-linux
  /home/src/perl/repoperls/installed-perls/perl/v5.15.4-465-g676a678/165a/lib/site_perl/5.15.4
  /home/src/perl/repoperls/installed-perls/perl/v5.15.4-465-g676a678/165a/lib/5.15.4/x86_64-linux
  /home/src/perl/repoperls/installed-perls/perl/v5.15.4-465-g676a678/165a/lib/5.15.4
  .

--
andreas

@p5pRT
Copy link
Author

p5pRT commented Jan 15, 2012

From @andk

also affected


SILASMONK/Test-Copyright-0.0_1.tar.gz

diagnostics


Note​: tests are failing anyway. The interesting case with bleadperl is
when it produces a segfault, as in​:

http​://www.cpantesters.org/cpan/report/d2d58d26-3f09-11e1-9f04-95179aeef8c6

SEGV is slightly different from MorboDB.

(gdb) bt
#0 Perl_varname (gv=0x0, gvtype=64 '@​', targ=3, keyname=0x0,
  aindex=<value optimized out>, subscript_type=1) at sv.c​:13819
#1 0x000000000042e450 in Perl_ck_length (o=0x24e84d0) at op.c​:9699
#2 0x0000000000429045 in Perl_newUNOP (type=112, flags=1, first=0x24e84a0)
  at op.c​:3687
#3 0x000000000045da7e in Perl_yyparse (gramtype=<value optimized out>)
  at perly.y​:1209
#4 0x00000000004c8a77 in S_doeval (gimme=<value optimized out>, startop=0x0,
  outside=0x0, seq=<value optimized out>, hh=<value optimized out>)
  at pp_ctl.c​:3578
#5 0x00000000004ca781 in Perl_pp_require () at pp_ctl.c​:4135
#6 0x0000000000497183 in Perl_runops_standard () at run.c​:41
#7 0x0000000000436228 in Perl_call_sv (sv=0x2027310, flags=14) at perl.c​:2686
#8 0x00000000004366d8 in Perl_call_list (oldscope=<value optimized out>,
  paramList=<value optimized out>) at perl.c​:4749
#9 0x0000000000421fc6 in S_process_special_blocks (
  fullname=<value optimized out>, gv=0x1eca0d8, cv=0x2027310) at op.c​:6834
#10 0x00000000004315f0 in Perl_newATTRSUB (floor=<value optimized out>,
  o=0x2000178, proto=<value optimized out>, attrs=<value optimized out>,
  block=<value optimized out>) at op.c​:6804
#11 0x0000000000431c68 in Perl_utilize (aver=<value optimized out>, floor=216,
  version=<value optimized out>, idop=0x1fbeed0, arg=0x2007c40) at op.c​:4659
#12 0x000000000045ddf2 in Perl_yyparse (gramtype=<value optimized out>)
  at perly.y​:361
#13 0x00000000004c8a77 in S_doeval (gimme=<value optimized out>, startop=0x0,
  outside=0x1fc8190, seq=<value optimized out>, hh=<value optimized out>)
  at pp_ctl.c​:3578
#14 0x00000000004c9798 in Perl_pp_entereval () at pp_ctl.c​:4263
#15 0x0000000000497183 in Perl_runops_standard () at run.c​:41
#16 0x0000000000436228 in Perl_call_sv (sv=0x2027670, flags=14) at perl.c​:2686
#17 0x00000000004366d8 in Perl_call_list (oldscope=<value optimized out>,
  paramList=<value optimized out>) at perl.c​:4749
#18 0x0000000000421fc6 in S_process_special_blocks (
  fullname=<value optimized out>, gv=0x1eca0d8, cv=0x2027670) at op.c​:6834
#19 0x00000000004315f0 in Perl_newATTRSUB (floor=<value optimized out>,
  o=0x20000a8, proto=<value optimized out>, attrs=<value optimized out>,
  block=<value optimized out>) at op.c​:6804
#20 0x000000000045de9f in Perl_yyparse (gramtype=<value optimized out>)
  at perly.y​:317
#21 0x0000000000437e83 in S_parse_body (env=<value optimized out>,
  xsinit=<value optimized out>) at perl.c​:2227
#22 0x0000000000438e7d in perl_parse (my_perl=<value optimized out>,
  xsinit=<value optimized out>, argc=<value optimized out>,
  argv=0x7fffe4443508, env=<value optimized out>) at perl.c​:1634
#23 0x0000000000420540 in main (argc=3, argv=0x7fffe4443508,
  env=0x7fffe4443528) at perlmain.c​:118

perl -V


Summary of my perl5 (revision 5 version 15 subversion 4) configuration​:
  Commit id​: 676a678
  Platform​:
  osname=linux, osvers=2.6.32-5-amd64, archname=x86_64-linux
  uname='linux k83 2.6.32-5-amd64 #1 smp thu nov 3 03​:41​:26 utc 2011 x86_64 gnulinux '
  config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.15.4-465-g676a678/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.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 -lc
  perllibs=-lnsl -ldl -lm -lcrypt -lutil -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 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 Dec 20 2011 23​:42​:21
  %ENV​:
  PERL5LIB=""
  PERL5OPT=""
  PERL5_CPANPLUS_IS_RUNNING="18177"
  PERL5_CPAN_IS_RUNNING="18177"
  @​INC​:
  /home/src/perl/repoperls/installed-perls/perl/v5.15.4-465-g676a678/165a/lib/site_perl/5.15.4/x86_64-linux
  /home/src/perl/repoperls/installed-perls/perl/v5.15.4-465-g676a678/165a/lib/site_perl/5.15.4
  /home/src/perl/repoperls/installed-perls/perl/v5.15.4-465-g676a678/165a/lib/5.15.4/x86_64-linux
  /home/src/perl/repoperls/installed-perls/perl/v5.15.4-465-g676a678/165a/lib/5.15.4
  .

--
andreas

@p5pRT
Copy link
Author

p5pRT commented Jan 18, 2012

From @cpansprout

Fixed by c6fb3f6.

@p5pRT
Copy link
Author

p5pRT commented Jan 18, 2012

@cpansprout - Status changed from 'new' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant