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.21.5-285-gdb6e00b breaks TRIDDLE/Parse-MediaWikiDump-1.0.6.tar.gz #14345

Closed
p5pRT opened this issue Dec 20, 2014 · 10 comments
Closed

Comments

@p5pRT
Copy link

p5pRT commented Dec 20, 2014

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

Searchable as RT123462$

@p5pRT
Copy link
Author

p5pRT commented Dec 20, 2014

From @andk

bisect


commit db6e00b
Author​: Daniel Dragan <bulk88@​hotmail.com>
Date​: Sat Nov 8 00​:20​:52 2014 -0500

  add xs_handshake API

limitations


This BBC only breaks unthreaded perls. CPAN shell needs manual help​:
CGI.pm must be installed beforehand, otherwise Test​::Memory​::Cycle fails
to install (bug is already reported).

sample fail report


http​://www.cpantesters.org/cpan/report/92a80e72-6a67-11e4-a216-fb642fe5cfa2

stacktrace


Core was generated by `/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.5-285-gdb6e00b/127e/bi'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 get_closed_over (cv=0x8, cv@​entry=0x29415c8, hash=hash@​entry=0x2b008a0,
  indices=0x25e78a0, indices@​entry=0x0) at PadWalker.xs​:406
406 PadWalker.xs​: No such file or directory.
(gdb) bt
#0 get_closed_over (cv=0x8, cv@​entry=0x29415c8, hash=hash@​entry=0x2b008a0,
  indices=0x25e78a0, indices@​entry=0x0) at PadWalker.xs​:406
#1 0x00007fd91d85b8a8 in XS_PadWalker_closed_over (cv=<optimized out>)
  at PadWalker.xs​:608
#2 0x00000000004ade07 in Perl_pp_entersub () at pp_hot.c​:2835
#3 0x00000000004a6bb3 in Perl_runops_standard () at run.c​:41
#4 0x0000000000440b86 in S_run_body (oldscope=1) at perl.c​:2417
#5 perl_run (my_perl=<optimized out>) at perl.c​:2340
#6 0x000000000041efb5 in main (argc=2, argv=0x7fff18743bd8,
  env=0x7fff18743bf0) at perlmain.c​:116

perl -V


Summary of my perl5 (revision 5 version 21 subversion 6) configuration​:
  Commit id​: db6e00b
  Platform​:
  osname=linux, osvers=3.16.0-4-amd64, archname=x86_64-linux-ld
  uname='linux k83 3.16.0-4-amd64 #1 smp debian 3.16.7-2 (2014-11-06) x86_64 gnulinux '
  config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.5-285-gdb6e00b/127e -Dmyhostname=k83 -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Uuseithreads -Duselongdouble -DDEBUGGING=-g'
  hint=recommended, useposix=true, d_sigaction=define
  useithreads=undef, usemultiplicity=undef
  use64bitint=define, use64bitall=define, uselongdouble=define
  usemymalloc=n, bincompat5005=undef
  Compiler​:
  cc='cc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2',
  optimize='-O2 -g',
  cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
  ccversion='', gccversion='4.9.2', gccosandvers=''
  intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
  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-strong -L/usr/local/lib'
  libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
  libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
  perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
  libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a
  gnulibc_version='2.19'
  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-strong'

Characteristics of this binary (from libperl)​:
  Compile-time options​: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
  PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
  PERL_NEW_COPY_ON_WRITE 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_LOCALE_TIME
  USE_LONG_DOUBLE USE_PERLIO USE_PERL_ATOF
  Built under linux
  Compiled at Dec 20 2014 11​:24​:36
  @​INC​:
  /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.5-285-gdb6e00b/127e/lib/site_perl/5.21.6/x86_64-linux-ld
  /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.5-285-gdb6e00b/127e/lib/site_perl/5.21.6
  /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.5-285-gdb6e00b/127e/lib/5.21.6/x86_64-linux-ld
  /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.5-285-gdb6e00b/127e/lib/5.21.6
  .

--
andreas

@p5pRT
Copy link
Author

p5pRT commented Dec 20, 2014

From @cpansprout

On Sat Dec 20 03​:14​:38 2014, andreas.koenig.7os6VVqR@​franz.ak.mind.de wrote​:

bisect
------
commit db6e00b
Author​: Daniel Dragan <bulk88@​hotmail.com>
Date​: Sat Nov 8 00​:20​:52 2014 -0500

add xs_handshake API

limitations
-----------
This BBC only breaks unthreaded perls. CPAN shell needs manual help​:
CGI.pm must be installed beforehand, otherwise Test​::Memory​::Cycle
fails
to install (bug is already reported).

sample fail report
------------------
http​://www.cpantesters.org/cpan/report/92a80e72-6a67-11e4-a216-
fb642fe5cfa2

Patch against PadWalker at <https://rt.cpan.org/Ticket/Display.html?id=101037>.

--

Father Chrysostomos

@p5pRT
Copy link
Author

p5pRT commented Dec 20, 2014

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Dec 20, 2014

From @bulk88

On Sat Dec 20 03​:14​:38 2014, andreas.koenig.7os6VVqR@​franz.ak.mind.de wrote​:

bisect
------
commit db6e00b
Author​: Daniel Dragan <bulk88@​hotmail.com>
Date​: Sat Nov 8 00​:20​:52 2014 -0500

add xs_handshake API

limitations
-----------
This BBC only breaks unthreaded perls. CPAN shell needs manual help​:
CGI.pm must be installed beforehand, otherwise Test​::Memory​::Cycle
fails
to install (bug is already reported).

sample fail report
------------------
http​://www.cpantesters.org/cpan/report/92a80e72-6a67-11e4-a216-
fb642fe5cfa2

stacktrace
----------
Core was generated by `/home/sand/src/perl/repoperls/installed-
perls/perl/v5.21.5-285-gdb6e00b/127e/bi'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 get_closed_over (cv=0x8, cv@​entry=0x29415c8,
hash=hash@​entry=0x2b008a0,
indices=0x25e78a0, indices@​entry=0x0) at PadWalker.xs​:406
406 PadWalker.xs​: No such file or directory.
(gdb) bt
#0 get_closed_over (cv=0x8, cv@​entry=0x29415c8,
hash=hash@​entry=0x2b008a0,
indices=0x25e78a0, indices@​entry=0x0) at PadWalker.xs​:406
#1 0x00007fd91d85b8a8 in XS_PadWalker_closed_over (cv=<optimized
out>)
at PadWalker.xs​:608
#2 0x00000000004ade07 in Perl_pp_entersub () at pp_hot.c​:2835
#3 0x00000000004a6bb3 in Perl_runops_standard () at run.c​:41
#4 0x0000000000440b86 in S_run_body (oldscope=1) at perl.c​:2417
#5 perl_run (my_perl=<optimized out>) at perl.c​:2340
#6 0x000000000041efb5 in main (argc=2, argv=0x7fff18743bd8,
env=0x7fff18743bf0) at perlmain.c​:116

I thought I put in enough asserts to stop this from SEGVing or nobody CPANTesters with DEBUGGING on?


/* these CvPADLIST/CvRESERVED asserts can be reverted one day, once stabilized */
#define CvPADLIST(sv) (*(assert_(!CvISXSUB((CV*)(sv))) \
  &(((XPVCV*)MUTABLE_PTR(SvANY(sv)))->xcv_padlist_u.xcv_padlist)))
/* CvPADLIST_set is not public API, it can be removed one day, once stabilized */
#ifdef DEBUGGING
# define CvPADLIST_set(sv, padlist) Perl_set_padlist((CV*)sv, padlist)
#else
# define CvPADLIST_set(sv, padlist) (CvPADLIST(sv) = (padlist))
#endif


--
bulk88 ~ bulk88 at hotmail.com

@p5pRT
Copy link
Author

p5pRT commented Apr 21, 2015

From @jkeenan

On Sat Dec 20 03​:14​:38 2014, andreas.koenig.7os6VVqR@​franz.ak.mind.de wrote​:

bisect
------
commit db6e00b
Author​: Daniel Dragan <bulk88@​hotmail.com>
Date​: Sat Nov 8 00​:20​:52 2014 -0500

add xs_handshake API

limitations
-----------
This BBC only breaks unthreaded perls. CPAN shell needs manual help​:
CGI.pm must be installed beforehand, otherwise Test​::Memory​::Cycle
fails
to install (bug is already reported).

sample fail report
------------------
http​://www.cpantesters.org/cpan/report/92a80e72-6a67-11e4-a216-
fb642fe5cfa2

stacktrace
----------
Core was generated by `/home/sand/src/perl/repoperls/installed-
perls/perl/v5.21.5-285-gdb6e00b/127e/bi'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 get_closed_over (cv=0x8, cv@​entry=0x29415c8,
hash=hash@​entry=0x2b008a0,
indices=0x25e78a0, indices@​entry=0x0) at PadWalker.xs​:406
406 PadWalker.xs​: No such file or directory.
(gdb) bt
#0 get_closed_over (cv=0x8, cv@​entry=0x29415c8,
hash=hash@​entry=0x2b008a0,
indices=0x25e78a0, indices@​entry=0x0) at PadWalker.xs​:406
#1 0x00007fd91d85b8a8 in XS_PadWalker_closed_over (cv=<optimized
out>)
at PadWalker.xs​:608
#2 0x00000000004ade07 in Perl_pp_entersub () at pp_hot.c​:2835
#3 0x00000000004a6bb3 in Perl_runops_standard () at run.c​:41
#4 0x0000000000440b86 in S_run_body (oldscope=1) at perl.c​:2417
#5 perl_run (my_perl=<optimized out>) at perl.c​:2340
#6 0x000000000041efb5 in main (argc=2, argv=0x7fff18743bd8,
env=0x7fff18743bf0) at perlmain.c​:116

Does anyone know why Parse-MediaWikiDump is not showing any results post-perl-5.10.1 at​:

http​://matrix.cpantesters.org/?dist=Parse-MediaWikiDump

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Apr 21, 2015

From @andk

On Mon, 20 Apr 2015 19​:03​:05 -0700, "James E Keenan via RT" <perlbug-followup@​perl.org> said​:

  > Does anyone know why Parse-MediaWikiDump is not showing any results post-perl-5.10.1 at​:

  > http​://matrix.cpantesters.org/?dist=Parse-MediaWikiDump

Some sorting problem. Take a pick among the other versions below "Other
versions".

--
andreas

@p5pRT
Copy link
Author

p5pRT commented Apr 23, 2015

From @rjbs

I sent a (hopefully friendly) email to ROBIN about the outstanding patches.

--
rjbs

@p5pRT
Copy link
Author

p5pRT commented Apr 23, 2015

From [Unknown Contact. See original ticket]

I sent a (hopefully friendly) email to ROBIN about the outstanding patches.

--
rjbs

@p5pRT
Copy link
Author

p5pRT commented Apr 24, 2015

From @rjbs

My email must've been friendly enough. New PadWalker is released, resolving the problem.

--
rjbs

@p5pRT p5pRT closed this as completed Apr 24, 2015
@p5pRT
Copy link
Author

p5pRT commented Apr 24, 2015

@rjbs - Status changed from 'open' to 'resolved'

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

No branches or pull requests

1 participant