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

The program '() .= ()' segfaults in Rakudo #2124

Closed
p6rt opened this issue Aug 31, 2010 · 6 comments
Closed

The program '() .= ()' segfaults in Rakudo #2124

p6rt opened this issue Aug 31, 2010 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Aug 31, 2010

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

Searchable as RT77590$

@p6rt
Copy link
Author

p6rt commented Aug 31, 2010

From @masak

<alksentrs> rakudo​: () .= ()
<p6eval> rakudo f8e959​: ( no output )
<alksentrs> segfaults
* masak checks locally
<masak> alksentrs​: so it does. good catch.
* masak submits rakudobug
<TimToady> () isn't mutable
<TimToady> though it shouldn't dump
<masak> alksentrs++

@p6rt
Copy link
Author

p6rt commented May 2, 2011

From @tadzik

On Tue Aug 31 16​:23​:43 2010, masak wrote​:

<alksentrs> rakudo​: () .= ()
<p6eval> rakudo f8e959​: ( no output )
<alksentrs> segfaults
* masak checks locally
<masak> alksentrs​: so it does. good catch.

$ perl6 -e '() .= ()'
Null PMC access in get_string()
  in main program body at line 1

It doesn't segfault now, but is still LTA

@p6rt
Copy link
Author

p6rt commented May 2, 2011

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

@p6rt
Copy link
Author

p6rt commented May 29, 2012

From @moritz

Now dies LTA during compilation​:

===SORRY!===
Method 'isa' not found for invocant of class 'Undef'

@p6rt
Copy link
Author

p6rt commented Jan 3, 2013

From @moritz

rakudo now parses it as ().=''() and dies with

Method '' not found for invocant of class 'Parcel'

which looks good to me.
Closing without tests, because I'm not sure what exactly the desired
behavior is.

@p6rt
Copy link
Author

p6rt commented Jan 3, 2013

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

@p6rt p6rt closed this as completed Jan 3, 2013
@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