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 in .perl when traversing Array with deleted element in Rakudo #1130

Closed
p6rt opened this issue Jul 11, 2009 · 5 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 11, 2009

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

Searchable as RT67446$

@p6rt
Copy link
Author

p6rt commented Jul 11, 2009

From @masak

<masak> rakudo​: my @​a = 0..1; @​a.delete(0); say @​a.perl
<p6eval> rakudo 02d0ed​: OUTPUT«Null PMC access in isa()␤in method
Any​::map [...]␤called from method List​::perl [...]
* masak submits rakudobug
<masak> rakudo​: my @​a = 0..1; @​a[0] = undef; say @​a.perl
<p6eval> rakudo 02d0ed​: OUTPUT«[undef, 1]␤»
<masak> my bet is that .delete does something naughty.

@p6rt
Copy link
Author

p6rt commented Jul 12, 2009

From @kyleha

This is an automatically generated mail to inform you that tests are now available in b/t/spec/S32-array/delete.t

@p6rt
Copy link
Author

p6rt commented Jul 12, 2009

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

@p6rt
Copy link
Author

p6rt commented Oct 5, 2009

From @masak

On Sat Jul 11 03​:58​:53 2009, masak wrote​:

<masak> rakudo​: my @​a = 0..1; @​a.delete(0); say @​a.perl
<p6eval> rakudo 02d0ed​: OUTPUT«Null PMC access in isa()␤in method
Any​::map [...]␤called from method List​::perl [...]
* masak submits rakudobug
<masak> rakudo​: my @​a = 0..1; @​a[0] = undef; say @​a.perl
<p6eval> rakudo 02d0ed​: OUTPUT«[undef, 1]␤»
<masak> my bet is that .delete does something naughty.

This now works​:

<masak> rakudo​: my @​a = 0..1; @​a.delete(0); say @​a.perl
<p6eval> rakudo d91717​: OUTPUT«[undef, 1]␤»
* masak closes ticket

@p6rt
Copy link
Author

p6rt commented Oct 5, 2009

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

@p6rt p6rt closed this as completed Oct 5, 2009
@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