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
BBC: commit 2a56a87f causes hang in Syntax-Keyword-Try t/11loop.t #17076
Comments
From @jkeenanThis breakage was mentioned in The problem is that this distro's t/11loop.t now hangs indefinitely and I explored a subset of the range denoted by this command: ##### Manually bisecting -- because Porting/bisect.pl doesn't, AFAIK, handle ##### scalarvoid(): remove anti-recursion deferring Perl_scalarvoid() used to recursively work its way down an Around 5.22.0 the code was changed to avoid recursion, and use warnings FATAL => qw(void); $a = "abc"; length $a ; The fatal warning causes scalarvoid() to leak the deferred This commit removes the deferred mechanism, and instead Thank you very much. ##### Characteristics of this binary (from libperl): /home/jkeenan/testing/2a56a87fe357165c2bf7fc0d0f54565fef60bb9a/lib/perl5/site_perl/5.31.2/amd64-freebsd-thread-multi /home/jkeenan/testing/2a56a87fe357165c2bf7fc0d0f54565fef60bb9a/lib/perl5/site_perl/5.31.2 /home/jkeenan/testing/2a56a87fe357165c2bf7fc0d0f54565fef60bb9a/lib/perl5/5.31.2/amd64-freebsd-thread-multi /home/jkeenan/testing/2a56a87fe357165c2bf7fc0d0f54565fef60bb9a/lib/perl5/5.31.2 |
From @leonerdOn Tue, 02 Jul 2019 11:01:42 -0700
...
Ah. I wonder then, whether this might be something that https://metacpan.org/source/PEVANS/Syntax-Keyword-Try-0.10/lib/Syntax/Keyword/Try.xs#L257 https://metacpan.org/source/PEVANS/Syntax-Keyword-Try-0.10/lib/Syntax/Keyword/Try.xs#L283 -- leonerd@leonerd.org.uk | https://metacpan.org/author/PEVANS |
The RT System itself - Status changed from 'new' to 'open' |
From @jkeenanOn Wed, 03 Jul 2019 11:16:03 GMT, leonerd@leonerd.org.uk wrote:
That's quite possible. If a distro touches op codes in its XS, then it's sensitive to changes in blead. (Unfortunately, this type of perlguts code is beyone me, so I myself don't have any useful suggestions.)
-- |
From @leonerdOn Wed, 03 Jul 2019 04:37:25 -0700
Imagining that this may be the case I've opened an rt.cpan.org ticket https://rt.cpan.org/Ticket/Display.html?id=129975 I'll investigate there. Hopefully it's a fix on my side and if so p5p I'll let you know what I find out. -- leonerd@leonerd.org.uk | https://metacpan.org/author/PEVANS |
From @leonerdWhile looking it over, I believe the relevant field is op->op_sibparent which is defined at: https://perl5.git.perl.org/perl.git/blob/82651abe60a8c1ca1f9eb6aae0202ecfd34bfecf:/op.h#l46 but doesn't have any documentation at https://perl5.git.perl.org/perl.git/blob/82651abe60a8c1ca1f9eb6aae0202ecfd34bfecf:/op.h#l12 While I'm looking at this, does someone who knows what that field is `git blame` on the field's addition has 0f9a623 Tony Cook 2019-01-25 10:32:42 +1100 -- leonerd@leonerd.org.uk | https://metacpan.org/author/PEVANS |
From @ilmari"Paul \"LeoNerd\" Evans" <leonerd@leonerd.org.uk> writes:
That's not when the field was added, that's when PERL_OP_PARENT was made The macros and functions to manipulate the optree are documented in Specifically the Op*SIB* macros and the op_*_(elem|list) and See also https://perldoc.pl/perl5220delta#Internal-Changes for an - ilmari |
From @leonerdOn Wed, 3 Jul 2019 12:49:50 +0100
In summary: there were actually two separate problems here, both of These have now both been fixed and a new version uploaded to CPAN: https://metacpan.org/release/PEVANS/Syntax-Keyword-Try-0.11 Passes for my local bleadperl and a test 5.31.3 on my server, so -- leonerd@leonerd.org.uk | https://metacpan.org/author/PEVANS |
From @jkeenanOn Sat, 07 Sep 2019 00:54:51 GMT, leonerd@leonerd.org.uk wrote:
Works for me on Linux, FreeBSD-11 and FreeBSD-12. Thank you very much for your investigation. |
@jkeenan - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#134258 (status was 'resolved')
Searchable as RT134258$
The text was updated successfully, but these errors were encountered: