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

Strange segfault on MMD / pair / named parameter ambiguity #3421

Closed
p6rt opened this issue Jul 2, 2014 · 7 comments
Closed

Strange segfault on MMD / pair / named parameter ambiguity #3421

p6rt opened this issue Jul 2, 2014 · 7 comments

Comments

@p6rt
Copy link

p6rt commented Jul 2, 2014

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

Searchable as RT122218$

@p6rt
Copy link
Author

p6rt commented Jul 2, 2014

From @lizmat

23​:00​:03] <lizmat> m​: multi a(​:$a!) { "named" }; multi a($a) { "positional" }; my $a = "a"; say a(a => 1); say a("a" => 1); say a(|($a=>1))
[23​:00​:04] <+camelia> rakudo-moar 7bd297​: OUTPUT«(signal )named␤positional␤»
[23​:00​:30] <lizmat> seems to segfault on the last one, but only if the positional is before it
[23​:00​:45] <lizmat> m​: multi a(​:$a!) { "named" }; multi a($a) { "positional" }; my $a = "a"; say a(a => 1); say a(|($a=>1)) # doesn't segfault
[23​:00​:46] <+camelia> rakudo-moar 7bd297​: OUTPUT«named␤named␤»
[23​:00​:57] <FROGGS> eww
[23​:01​:09] <jnthn> r​: multi a(​:$a!) { "named" }; multi a($a) { "positional" }; my $a = "a"; say a(a => 1); say a("a" => 1); say a(|($a=>1))
[23​:01​:24] <+camelia> rakudo-jvm 7bd297​: OUTPUT«(timeout)»
[23​:01​:24] <+camelia> ..rakudo-{parrot,moar} 7bd297​: OUTPUT«(signal )named␤positional␤»
[23​:01​:35] <lizmat> even on parrot, wow
[23​:01​:37] <jnthn> At least they're consistent :P
[23​:01​:50] <lizmat> I guess I'll rakudobug this...
[23​:01​:51] <jnthn> But yeah, wtf.
[23​:01​:54] <jnthn> Plesae do.
[23​:01​:58] <jnthn> *please

@p6rt
Copy link
Author

p6rt commented Oct 20, 2014

From @usev6

FWIW I don't get segfaults for Moar anymore.

For parrot it's flapping​: sometimes I get a segfault, sometimes I don't. The command segfaults more often than it does not​:

$ for i in $(seq 1 100); do perl6-p -e 'multi a(​:$a!) { "named" }; multi a($a) { "positional" }; my $a = "a"; a(a => 1); a("a" => 1); say a(|($a=>1)); say "alive"' ; done | grep -c alive
7

1 similar comment
@p6rt
Copy link
Author

p6rt commented Oct 20, 2014

From @usev6

FWIW I don't get segfaults for Moar anymore.

For parrot it's flapping​: sometimes I get a segfault, sometimes I don't. The command segfaults more often than it does not​:

$ for i in $(seq 1 100); do perl6-p -e 'multi a(​:$a!) { "named" }; multi a($a) { "positional" }; my $a = "a"; a(a => 1); a("a" => 1); say a(|($a=>1)); say "alive"' ; done | grep -c alive
7

@p6rt
Copy link
Author

p6rt commented Oct 20, 2014

@usev6 - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Mar 3, 2015

From @usev6

As mentioned earlier this didn't segfault on Moar for a while.

Even though the code still segfaults on Parrot most of the time, I had difficulties to reproduce the segfault in a test file. Therefore I regard this ticket as resolved without having a test in roast.

WRT the flapping segfault on Parrot​: Since support for Parrot was suspended with Rakudo Star Release 2015.02, I'm going to close this ticket.

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.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Mar 3, 2015

From @usev6

As mentioned earlier this didn't segfault on Moar for a while.

Even though the code still segfaults on Parrot most of the time, I had difficulties to reproduce the segfault in a test file. Therefore I regard this ticket as resolved without having a test in roast.

WRT the flapping segfault on Parrot​: Since support for Parrot was suspended with Rakudo Star Release 2015.02, I'm going to close this ticket.

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.

@p6rt
Copy link
Author

p6rt commented Mar 3, 2015

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

@p6rt p6rt closed this as completed Mar 3, 2015
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