Skip Menu |
Report information
Id: 130553
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: fernandocorrea [at]

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)

To: rakudobug [...]
Date: Sat, 14 Jan 2017 00:41:27 -0200
From: Fernando Oliveira <fernandocorrea [...]>
Subject: [BUG] segfault on a use that exports a operator
Download (untitled) / with headers
text/plain 554b
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

Just another Perl Hacker,
Fernando (SmokeMachine)
RT-Send-CC: perl6-compiler [...]
Download (untitled) / with headers
text/plain 123b
One more data point: reversing the load order prevents the segfault (that is, doing use A; use B; instead of use B; use A)

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at