Segfault while indexing with infinite Seq #2120
Labels
BLOCKER
Preventing the next release of rakudo, or just needing attention before the release
QAST
issues that require working with QAST to fix
regression
Issue did not exist previously
The Problem
The following code segfaults using rakudo-moar HEAD via camelia [^1]:
Interestingly, removing the
map
(which should produce constant 1) or inlining thewith 1
leads to a timeout [^2,3].On my personal machine with Rakudo-moar 2018.06, it just hangs in all three cases.
Expected Behavior
It should hang as the
polymod(1 xx *)
produces an infinite list.Actual Behavior
SIGSEGV, but only when the seemingly useless
map
andwith 1
are left intact.Environment
Rakudo version 2018.06 built on MoarVM version 2018.06
,rakudo-moar c47e3681c
.References
[^1] http://colabti.org/irclogger/irclogger_log/perl6?date=2018-07-23#l486
[^2] http://colabti.org/irclogger/irclogger_log/perl6?date=2018-07-23#l504
[^3] http://colabti.org/irclogger/irclogger_log/perl6?date=2018-07-23#l506
The text was updated successfully, but these errors were encountered: