On Mon, 24 Apr 2017 16:01:19 -0700, alex.jakime...@gmail.com wrote:
> This is actually a regression. The code makes sense (more or less), I
> can't see
> why would it error out like this.
> 
> Bisectable points to (2017-01-31)
> https://github.com/rakudo/rakudo/commit/9ed4449db57cab39a115c5347387d5978bd56057
> 
If it worked before, then it was by luck. The extra sanity check added in 
MoarVM that produces this message prevented a mis-generated NFA from causing 
the VM to read junk memory. In some cases, that led to a SEGV.

Anyway, the fix will be to figure out where in the NFA generator we are 
mis-generating things. That ain't the easiest thing to debug, but I will try 
and take a look at it soon, if I'm not beaten to it. The relevant code is in 
the NQP repository, under src/QRegex/NFA.nqp.

/jnthn

Reply via email to