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

using WHO on the instance of a parametric role causes segfault/internal error #3619

Open
p6rt opened this issue Dec 23, 2014 · 4 comments
Open
Labels
SEGV Segmentation fault, bus error, etc.

Comments

@p6rt
Copy link

p6rt commented Dec 23, 2014

Migrated from rt.perl.org#123488 (status was 'open')

Searchable as RT123488$

@p6rt
Copy link
Author

p6rt commented Dec 23, 2014

From @moritz

<moritz> r​: role Foo[$x] { }; Foo[42].WHO.^name
<camelia> rakudo-parrot d45c53​: OUTPUT«Can only use get_how on a
SixModelObject␤ in block <unit> at /tmp/tmpfile​:1␤␤»
<camelia> ..rakudo-moar d45c53​: OUTPUT«(signal SEGV)»

@p6rt
Copy link
Author

p6rt commented Jan 8, 2015

From @jnthn

On Tue Dec 23 07​:11​:55 2014, moritz.lenz@​gmail.com wrote​:

<moritz> r​: role Foo[$x] { }; Foo[42].WHO.^name
<camelia> rakudo-parrot d45c53​: OUTPUT«Can only use get_how on a
SixModelObject␤ in block <unit> at /tmp/tmpfile​:1␤␤»
<camelia> ..rakudo-moar d45c53​: OUTPUT«(signal SEGV)»

The SEGV is now gone in MoarVM HEAD, but the lack of a sensible .WHO to return still needs resolving.

@p6rt
Copy link
Author

p6rt commented Jan 8, 2015

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

@p6rt
Copy link
Author

p6rt commented Apr 8, 2015

From @FROGGS

The behaviour has changed, and I am wondering what the desired behaviour is​:

m​: role Foo[$x] { }; say Foo[42].WHO.^name
rakudo-moar 730db2​: OUTPUT«VMNull␤»

@p6rt p6rt added the SEGV Segmentation fault, bus error, etc. label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SEGV Segmentation fault, bus error, etc.
Projects
None yet
Development

No branches or pull requests

1 participant