Skip Menu |
Report information
Id: 128357
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: elizabeth <liz [at]>

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Date: Thu, 9 Jun 2016 23:04:20 +0200
From: Elizabeth Mattijsen <liz [...]>
Subject: Segfault after count-only iterator opt
To: rakudobug [...]
Download (untitled) / with headers
text/plain 436b
Commit 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
Download (untitled) / with headers
text/plain 208b
A workaround has been added in , 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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at