Subject: | Out of memory during array extend |
The code:
warnings/register.pm:
sub import {
shift;
my @categories = @_;
produces a condition where the variables:
pp_hot.c:
SV **lastlelem = PL_stack_sp;
SV **lastrelem = PL_stack_base + POPMARK;
SV **firstrelem = PL_stack_base + POPMARK + 1;
SV **firstlelem = lastrelem + 1;
sometimes have the relation -1 == lastrelem - firstrelem. This snippet
is repeated inside Trace.xs when it tries to read the arguments for a
aassign. Trace.xs tries to allocate an array of length -1 which is
actually a very large array.