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
segfault when calling a Proxy with FETCH being an anonymous sub in Rakudo #3223
Comments
From @softmothRakudo 'nom' branch from today crashes in sub checklastval () is rw { checklastval() = 1; If I change it to STORE => method ($val) { }, it doesn't segfault. |
From @cokeOn Thu Jul 19 14:48:32 2012, softmoth wrote:
Still segfaulting a year later. Here's the backtrace: #0 0xf7e2c775 in fill_params () ... and then I got bored of copying. |
The RT System itself - Status changed from 'new' to 'open' |
From @masak<timotimo> r: class A { has $!a; method a { Proxy.new( FETCH => sub |
From @cokeFailures in S06-routine-modifiers/lvalue-subroutines.t, parrot only: Anything that uses the sub checklastval: sub checklastval ($passwd) is rw { Causes the test file to abort. Fudged all these tests out for now. -- |
From @usev6On Parrot this is still a segfault: $ perl6-p -e 'class A { has $!a; method a { Proxy.new( FETCH => sub ( On Moar and JVM the command runs and returns "(Any)". |
@usev6 - Status changed from 'new' to 'open' |
From @usev6I tried to golf this down and got the following on Parrot (it runs on Moar and JVM): $ perl6-p -e 'Proxy.new( FETCH => sub ($var) { 42 } );' The next three commands are okay: $ perl6-p -e 'Proxy.new( FETCH => sub ($) { 42 } ); say "alive"' |
1 similar comment
From @usev6I tried to golf this down and got the following on Parrot (it runs on Moar and JVM): $ perl6-p -e 'Proxy.new( FETCH => sub ($var) { 42 } );' The next three commands are okay: $ perl6-p -e 'Proxy.new( FETCH => sub ($) { 42 } ); say "alive"' |
@usev6 - Status changed from 'new' to 'open' |
From @usev6All these segfaults when calling a Proxy with FETCH are specific for Parrot. (E.g. the tests in S06-routine-modifiers/lvalue-subroutines.t do pass for MoarVM and JVM). Since support for Parrot was suspended with Rakudo Star Release 2015.02, I'm closing this ticket as 'rejected'. I'll add the ticket to a list of closed ticket living in the mu repository: https://github.com/perl6/mu/blob/master/misc/rt.perl.org/tickets_closed_parrot_only.txt. In case support for Parrot will be restored in some future release the listed tickets can be checked and re-opened as appropriate. |
@usev6 - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#119561 (status was 'rejected')
Searchable as RT119561$
The text was updated successfully, but these errors were encountered: