develooper Front page | perl.perl5.porters | Postings from April 2016

[perl #127981] [PATCH] Deep recursion warning with%Module::CoreList::version

Thread Previous | Thread Next
bulk88 via RT
April 28, 2016 14:06
[perl #127981] [PATCH] Deep recursion warning with%Module::CoreList::version
Message ID:
On Mon Apr 25 00:29:23 2016, davem wrote:
> +1
> Its due to a tied lookup recursively looking up parent perl versions
> (i.e. working its way back through the chain of deltas between perl
> versions), then caching the result.
> In the tests the warning only appears occasionally during smoking due to
> hash key randomisation affecting the order perl versions are scanned.
> Post-5.24 we really ought to fix it properly (iterate rather than
> recursive tie lookups) otherwise at some point we're going to blow the C
> stack.

For the record I already encountered C stack recursion exhaustion bugs before with TieHashDelta and fixed in .

More recursion instead of looping/tailcalling bugs dont surprise me.

bulk88 ~ bulk88 at

via perlbug:  queue: perl5 status: open

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About