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

segfault on a use that exports a operator #6000

Open
p6rt opened this issue Jan 14, 2017 · 3 comments
Open

segfault on a use that exports a operator #6000

p6rt opened this issue Jan 14, 2017 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jan 14, 2017

Migrated from rt.perl.org#130553 (status was 'open')

Searchable as RT130553$

@p6rt
Copy link
Author

p6rt commented Jan 14, 2017

From @FCO

Im receiving a segfault when I try to run this​:

MacBook-Pro-de-Fernando​:segfault fernando$ cat A.pm6
class A {}

multi infix​:<bla>() is export {}
MacBook-Pro-de-Fernando​:segfault fernando$ cat B.pm6
use A;
MacBook-Pro-de-Fernando​:segfault fernando$ cat test.p6
use B;
use A;
MacBook-Pro-de-Fernando​:segfault fernando$ perl6 -I. test.p6
Segmentation fault​: 11
MacBook-Pro-de-Fernando​:segfault fernando$

it was reproduced on 2016.12-244-g3d1d699

https://irclog.perlgeek.de/perl6/2017-01-14#i_13918198

Just another Perl Hacker,
Fernando (SmokeMachine)

@p6rt
Copy link
Author

p6rt commented Jan 17, 2017

From @zoffixznet

One more data point​:

reversing the load order prevents the segfault (that is, doing use A; use B; instead of use B; use A)

@p6rt
Copy link
Author

p6rt commented Jan 17, 2017

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

@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