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

The statement '.say while =$*IN' makes parrot segfault #180

Closed
p6rt opened this issue Jul 23, 2008 · 6 comments
Closed

The statement '.say while =$*IN' makes parrot segfault #180

p6rt opened this issue Jul 23, 2008 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Jul 23, 2008

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

Searchable as RT57226$

@p6rt
Copy link
Author

p6rt commented Jul 23, 2008

From @masak

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
$

@p6rt
Copy link
Author

p6rt commented Jul 27, 2008

From @pmichaud

This has to do with 'while' not being recognized as a <stdstopper> in
Rakudo yet. See #​57352.

Pm

@p6rt
Copy link
Author

p6rt commented Jul 27, 2008

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

@p6rt
Copy link
Author

p6rt commented Aug 19, 2008

From @masak

This apparently works now.

@p6rt
Copy link
Author

p6rt commented Oct 16, 2008

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

@p6rt p6rt closed this as completed Oct 16, 2008
@p6rt
Copy link
Author

p6rt commented Oct 16, 2008

From @masak

No, this one still crashes on my box. It crashes so hard it takes the
terminal window with it.

// Carl

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