Hi, I'm pretty sure this is related to not mutexing / synchronizing around shared resource usage of STDOUT, etc.
In talking with Jonathan before, this seemed to be a likely cause. Adding synchronization primitives around the mutexed usage of the print() command fixed it previously, if memory served. On Wed, Jul 27, 2016 at 11:15 AM, Will Coleda via RT < perl6-bugs-follo...@perl.org> wrote: > On Fri Oct 30 06:54:00 2015, coke wrote: > > On Mon Dec 15 03:50:26 2014, r...@bastic.net wrote: > > > Hi, > > > > > > please see github.com/rbastic/CounterMutexSingleton > > > > > > This code crashes consistently on the latest MoarVM on Mac OS X > > > 10.9.5 > > > > > > It does not crash with the JVM. > > > > > > ab5tract has also helped to work on this and reproduce it FWIW. We > > > can > > > probably provide more details if needed. > > > > What kind of crash? Please attach the test script here, along with the > > expected results, and the actual results. > > > > It would be nice if you could reduce the amount of code from 87 lines, > > but I understand this isn't always possible. > > Verified, segfault: > > $ git clone https://github.com/rbastic/CounterMutexSingleton > ... > $ perl6 -v > This is Rakudo version 2016.07.1 built on MoarVM version 2016.07 > implementing Perl 6.c. > $ perl6 CounterMutexSingleton.pl6 > Segmentation fault: 11 > > -- > Will "Coke" Coleda >