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

Segmentation fault when declaring state variable outside of a routine in Rakudo #2482

Closed
p6rt opened this issue Sep 25, 2011 · 5 comments
Closed

Comments

@p6rt
Copy link

p6rt commented Sep 25, 2011

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

Searchable as RT99938$

@p6rt
Copy link
Author

p6rt commented Sep 25, 2011

From @masak

<felher> nom​: state $blar;
<p6eval> nom 6fd077​: OUTPUT«(signal SEGV)»
<jnthn> epic fel
<felher> :)
* masak submits rakudobug
<masak> nom​: sub foo { state $blar = "OH HAI"; say $blar }; foo
<p6eval> nom 6fd077​: OUTPUT«OH HAI␤»

@p6rt
Copy link
Author

p6rt commented Sep 28, 2011

From @jnthn

On Sun Sep 25 06​:44​:12 2011, masak wrote​:

<felher> nom​: state $blar;
<p6eval> nom 6fd077​: OUTPUT«(signal SEGV)»
<jnthn> epic fel
<felher> :)
* masak submits rakudobug
<masak> nom​: sub foo { state $blar = "OH HAI"; say $blar }; foo
<p6eval> nom 6fd077​: OUTPUT«OH HAI␤»

Fixed now. Needs tests.

/jnthn

@p6rt
Copy link
Author

p6rt commented Sep 28, 2011

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

@p6rt
Copy link
Author

p6rt commented Sep 28, 2011

From @jnthn

Test added by tadzik++.

@p6rt
Copy link
Author

p6rt commented Sep 28, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant