Re: Seg fault with HTML::Parser
Kenneth Pronovici <pronovic@debian.org> writes:
>> The test case is now down to:
>>
>> use HTML::Parser;
>> my $x = HTML::Parser->new(api_version => 3);
>> $x->handler(end => sub { push(@row, (1) x 505); 1 }, "");
>> $x->parse("</TD>");
>
>I get the same behavior. It works with 504 bytes and fails with 505.
Which smells of XS code calling back into perl, perl growing the stack
(for the 505 element list), returning to XS code and XS not noticing
stack has moved (SPAGIN et. al.) and doing something else with memory
that used to be stack AV but has now been re-used for something else.
Can I/we see the code that calls the handler?
>
>KEN
Reply to: