On Wed, 07 Dec 2016 14:33:54 -0800, jan-olof.hen...@bredband.net wrote:
> # the system, 32 bit Linux vm running under VirtualBox
> dogbert@dogbert-VirtualBox ~ $ cat /etc/os-release 
> NAME="Ubuntu"
> VERSION="14.04.3 LTS, Trusty Tahr"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 14.04.3 LTS"
> VERSION_ID="14.04"
> HOME_URL="http://www.ubuntu.com/";
> SUPPORT_URL="http://help.ubuntu.com/";
> BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/
> 
> dogbert@dogbert-VirtualBox ~ $ perl6 -v
> This is Rakudo version 2016.11-149-g5bacb0573 built on MoarVM version
> 2016.11-36-g2c50886b
> implementing Perl 6.c.
> 
> # the problem
> # run the following script (tried to golf more), I call it scratch.pl6
> # https://gist.github.com/dogbert17/41042137f44394a0094c1cc1c05055bb
> Running the code results in a SEGV
> 
> AlexDaniel did a quick bisect with the bisectbot and uncovered the following
> commit as a likely suspect:
> https://github.com/rakudo/rakudo/commit/172898eb1ee5ea3e47b29cf12b668be71362
> 146d
> 

It managed to look like both a GC bug and an inlining bug in MoarVM, but 
actually ended up being a boring callstack region overflow bug that affected 
some (and only some) heavily recursive code. It's fixed now, and there's a test 
to cover it in integration/deep-recursion-initing-native-array.t.

/jnthn

Reply via email to