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 infix:<...>-array-slicing an infix:<...>-list in Rakudo #1837

Closed
p6rt opened this issue Jun 15, 2010 · 4 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 15, 2010

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

Searchable as RT75768$

@p6rt
Copy link
Author

p6rt commented Jun 15, 2010

From @masak

<colomon> rakudo​: say (1...10)[2...4]
<p6eval> rakudo cfbeb5​: OUTPUT«Null PMC access in getprop() [...]
* masak submits rakudobug
<colomon> ooooo, it's a closure bug, I'll bet.
<colomon> rakudo​: my @​a = 1...10; say @​a[0...4]
<p6eval> rakudo cfbeb5​: OUTPUT«12345␤»
<colomon> closure bug, nothing to see here.
<masak> the closure bug usually doesn't result in a Null PMC access.
<masak> rakudo​: my @​a = 1...10; say @​a[2...4]
<p6eval> rakudo cfbeb5​: OUTPUT«345␤»
<masak> but yes, seems like it's parallel gather blocks interfering
that's the underlying cause.
<colomon> I will be unspeakably happy when that bug is eliminated.

@p6rt
Copy link
Author

p6rt commented Aug 11, 2010

From @coke

On Tue Jun 15 04​:49​:35 2010, masak wrote​:

<colomon> rakudo​: say (1...10)[2...4]
<p6eval> rakudo cfbeb5​: OUTPUT«Null PMC access in getprop() [...]
* masak submits rakudobug
<colomon> ooooo, it's a closure bug, I'll bet.
<colomon> rakudo​: my @​a = 1...10; say @​a[0...4]
<p6eval> rakudo cfbeb5​: OUTPUT«12345␤»
<colomon> closure bug, nothing to see here.
<masak> the closure bug usually doesn't result in a Null PMC access.
<masak> rakudo​: my @​a = 1...10; say @​a[2...4]
<p6eval> rakudo cfbeb5​: OUTPUT«345␤»
<masak> but yes, seems like it's parallel gather blocks interfering
that's the underlying cause.
<colomon> I will be unspeakably happy when that bug is eliminated.

Today's your lucky day!

The first line above now outputs "345" - assigning to moritz for tests.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Aug 11, 2010

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

@p6rt
Copy link
Author

p6rt commented Aug 19, 2010

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

@p6rt p6rt closed this as completed Aug 19, 2010
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant