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

Null PMC access when executing '0 but last' in Rakudo #1647

Closed
p6rt opened this issue Apr 2, 2010 · 8 comments
Closed

Null PMC access when executing '0 but last' in Rakudo #1647

p6rt opened this issue Apr 2, 2010 · 8 comments

Comments

@p6rt
Copy link

p6rt commented Apr 2, 2010

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

Searchable as RT73990$

@p6rt
Copy link
Author

p6rt commented Apr 2, 2010

From @masak

<masak> rakudo​: 0 but last
<p6eval> rakudo 63ff06​: OUTPUT«Warning␤Null PMC access in can() [...]
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jul 24, 2010

From @coke

On Fri Apr 02 04​:47​:19 2010, masak wrote​:

<masak> rakudo​: 0 but last
<p6eval> rakudo 63ff06​: OUTPUT«Warning␤Null PMC access in can() [...]
* masak submits rakudobug

This now behaves just like 'last'​:

$ ./perl6

last
$ ./perl6
0 but last
$

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 24, 2010

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

@p6rt
Copy link
Author

p6rt commented Oct 14, 2011

From @coke

On Sat Jul 24 14​:09​:01 2010, coke wrote​:

On Fri Apr 02 04​:47​:19 2010, masak wrote​:

<masak> rakudo​: 0 but last
<p6eval> rakudo 63ff06​: OUTPUT«Warning␤Null PMC access in can()
[...]
* masak submits rakudobug

This now behaves just like 'last'​:

$ ./perl6

last
$ ./perl6
0 but last
$

This is now different again, but still [WEIRD].

15​:37 < [Coke]> nom​: 0 but last;
15​:37 <+p6eval> nom ce15be​: OUTPUT«Warning␤»
15​:37 < [Coke]> ... what warning?
15​:37 < [Coke]> ah. no warning. weird.
15​:37 < [Coke]> nom​: last;
15​:37 <+p6eval> nom ce15be​: OUTPUT«Warning␤»

There really is no text after the literal "Warning" message.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 15, 2011

From @masak

If you ask me, the essense of the ticket -- the Null PMC access -- has
been fixed already.

On Fri, Oct 14, 2011 at 9​:38 PM, Will Coleda via RT
<perl6-bugs-followup@​perl.org> wrote​:

On Sat Jul 24 14​:09​:01 2010, coke wrote​:

On Fri Apr 02 04​:47​:19 2010, masak wrote​:

<masak> rakudo​: 0 but last
<p6eval> rakudo 63ff06​: OUTPUT«Warning␤Null PMC access in can()
[...]
* masak submits rakudobug

This now behaves just like 'last'​:

$ ./perl6

last
$ ./perl6
0 but last
$

This is now different again, but still [WEIRD].

15​:37 < [Coke]> nom​: 0 but last;
15​:37 <+p6eval> nom ce15be​: OUTPUT«Warning␤»
15​:37 < [Coke]> ... what warning?
15​:37 < [Coke]> ah. no warning. weird.
15​:37 < [Coke]> nom​: last;
15​:37 <+p6eval> nom ce15be​: OUTPUT«Warning␤»

There really is no text after the literal "Warning" message.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented May 29, 2012

From @diakopter

On Sat Oct 15 03​:16​:55 2011, masak wrote​:

If you ask me, the essense of the ticket -- the Null PMC access -- has
been fixed already.

On Fri, Oct 14, 2011 at 9​:38 PM, Will Coleda via RT
<perl6-bugs-followup@​perl.org> wrote​:

On Sat Jul 24 14​:09​:01 2010, coke wrote​:

On Fri Apr 02 04​:47​:19 2010, masak wrote​:

<masak> rakudo​: 0 but last
<p6eval> rakudo 63ff06​: OUTPUT«Warning␤Null PMC access in can()
[...]
* masak submits rakudobug

This now behaves just like 'last'​:

$ ./perl6

last
$ ./perl6
0 but last
$

This is now different again, but still [WEIRD].

15​:37 < [Coke]> nom​: 0 but last;
15​:37 <+p6eval> nom ce15be​: OUTPUT«Warning␤»
15​:37 < [Coke]> ... what warning?
15​:37 < [Coke]> ah. no warning. weird.
15​:37 < [Coke]> nom​: last;
15​:37 <+p6eval> nom ce15be​: OUTPUT«Warning␤»

There really is no text after the literal "Warning" message.

--
Will "Coke" Coleda

behavior changed for the *fourth* time, this time much better. marking
testneeded.

15​:32 <diakopter> rakudo​: 0 but last
15​:32 <p6eval> rakudo 3b1596​: OUTPUT«last without loop construct␤ in
block <anon> at
  src/gen/CORE.setting​:327␤ in block <anon> at
src/gen/CORE.setting​:383␤ in
  block <anon> at /tmp/9ZJtHcOvWm​:1␤␤»

@p6rt
Copy link
Author

p6rt commented Aug 7, 2012

From @moritz

After it had changed a fifth time, it is finally fixed and now wors as
expected. Tested in S14-roles/mixin.t.

@p6rt
Copy link
Author

p6rt commented Aug 13, 2012

@moritz - 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