On Wed, Jul 13, 2005 at 07:31:36AM -0700, Steve Peters via RT wrote: > > This program displays a severe memory leak: > > > > $x = "0123456789"; > > for (1..10) { > > my @s; > > $x =~ /.*(.+?)(?{push @s, $1})(?!)/; > > } > > > > END { print STDERR "Global destruction\n" } > > > > (Probably related to the bug report I just filed.) > > > > While investigating it, I ran: > > > > /src/bleadperl-build/perl -DXst /tmp/mem.pl > > > > Perl died from a segmentation fault partway through the run. However, [snip] > This core dump is still around in [EMAIL PROTECTED] Below is the backtrace.
yep, this comes under the category of "re_eval isn't safe accessing outer lexical vars". Yes another problem that will vanish when I finish my my mythical rewrite of the re_eval code. -- The optimist believes that he lives in the best of all possible worlds. As does the pessimist.