develooper Front page | perl.perl5.porters | Postings from December 2015

Re: [perl #126182] /(.(?2))((?<=(?=(?1)).))/ hangs and eats allavailable RAM

Thread Next
From:
Karl Williamson
Date:
December 26, 2015 05:24
Subject:
Re: [perl #126182] /(.(?2))((?<=(?=(?1)).))/ hangs and eats allavailable RAM
Message ID:
567E247D.4090102@khwilliamson.com
On 10/14/2015 11:09 AM, demerphq wrote:
> On 14 October 2015 at 18:01, Karl Williamson <public@khwilliamson.com> wrote:
>> On 10/14/2015 03:11 AM, Victor ADAM wrote:
>>>
>>> Yes, it *should* trigger an infinite recursion error, but it actually
>>> doesn’t.
>>>
>>
>> Thanks for the ulimit hint.
>>
>> This is an area of the engine that I have never looked at, so it would take
>> me a while to get up to speed to figure out how to fix it.
>
> I have a fix. (Bit vector of visited nodes).
>
>> Here's the first
>> bit of the output of -Dr execution.  I see why the current check doesn't
>> work in this situation, but am unsure of how one might fix it without
>> breaking other things
>
> Exactly. I am still investigating. Might take me a few days, but ill get there.
>
> Yves
>

How is this coming?

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About