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

after count-only iterator opt #5365

Open
p6rt opened this issue Jun 9, 2016 · 3 comments
Open

after count-only iterator opt #5365

p6rt opened this issue Jun 9, 2016 · 3 comments
Labels
SEGV Segmentation fault, bus error, etc.

Comments

@p6rt
Copy link

p6rt commented Jun 9, 2016

Migrated from rt.perl.org#128357 (status was 'open')

Searchable as RT128357$

@p6rt
Copy link
Author

p6rt commented Jun 9, 2016

From @lizmat

Commit rakudo/rakudo@65e1b54 causes the following code to segfault​:

my $sum = 10082800;for (4601...4900) -> $term { $sum += $term; my $sq = floor(sqrt($sum)); my $factors = (1..$sq).grep(-> $x { $sum % $x == 0} ).elems * 2; }; say ‘hi’

This seems to be related to the use of nqp​::eqaddr instead of =​:= in count-only.

See discussion starting at http://irclog.perlgeek.de/perl6/2016-06-09#i_12637583

@p6rt
Copy link
Author

p6rt commented Jun 9, 2016

From @AlexDaniel

A workaround has been added in rakudo/rakudo@41736009bf , so if somebody want to reproduce it you'll have to go back a little bit.

The underlying moarvm issue still has to be fixed.

@p6rt
Copy link
Author

p6rt commented Jun 9, 2016

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

@p6rt p6rt added the SEGV Segmentation fault, bus error, etc. label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SEGV Segmentation fault, bus error, etc.
Projects
None yet
Development

No branches or pull requests

1 participant