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

When raking through Int guts #6538

Closed
p6rt opened this issue Sep 19, 2017 · 3 comments
Closed

When raking through Int guts #6538

p6rt opened this issue Sep 19, 2017 · 3 comments
Labels
SEGV Segmentation fault, bus error, etc.

Comments

@p6rt
Copy link

p6rt commented Sep 19, 2017

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

Searchable as RT132126$

@p6rt
Copy link
Author

p6rt commented Sep 19, 2017

From @zoffixznet

m​: use nqp; class Foo is Int { method new ($v) { nqp​::p6bindattrinvres(self.bless, Int, q|$!value|, nqp​::getattr(nqp​::decont($v), Int, q|$!value|)) } }; my Foo $x .= new​: 42; say $x; say $x.WHAT;
rakudo-moar bb4579​: OUTPUT​: «(signal SEGV)»

@p6rt
Copy link
Author

p6rt commented Sep 19, 2017

From @zoffixznet

On Tue, 19 Sep 2017 08​:15​:15 -0700, cpan@​zoffix.com wrote​:

m​: use nqp; class Foo is Int { method new ($v) {
nqp​::p6bindattrinvres(self.bless, Int, q|$!value|,
nqp​::getattr(nqp​::decont($v), Int, q|$!value|)) } }; my Foo $x .=
new​: 42; say $x; say $x.WHAT;
rakudo-moar bb4579​: OUTPUT​: «(signal SEGV)»

timotimo++ fixed this.

  Rakudo fix​: rakudo/rakudo@dff7d9b28a
  NQP fix​: Raku/nqp@4bc6050d6e
  MoarVM fix​: MoarVM/MoarVM@3b4b032984
  Tests​: rakudo/rakudo@0d2ca0d7e1

@p6rt
Copy link
Author

p6rt commented Sep 19, 2017

@zoffixznet - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Sep 19, 2017
@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