# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #57226]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57226 >


Writing

$ perl6 -e '.say for =$*IN'
hi
hi
there
there

works fine, but writing

$ perl6 -e '.say while =$*IN'

eventually produces a segfault.

<masak> it works better with `for =$*IN` :)
<masak> but I'm still thinking of submitting a rakudo bug
<jonathan> masak: If you make it segfault, file a bug report. That is
never the right thing.
<masak> jonathan: oki
* masak files

As far as I can tell, the segfault occurs a noticeable while after I
typed in my first line of input.

Actually, using '.print' provides less output, while still exhibiting
the same bug:

$ perl6 -e '.print while =$*IN'
hi
Segmentation fault
$

Reply via email to