perl-5.12.4 exhibits this problem: #!/usr/bin/perl use strict; use warnings; $_ = 'aaa x=${ \$x } bbb a=@a=@{ \@a } ccc'; s{ ([\$\@]) (?| # re-use $1, $2 etc in each alternation ([^\w\s\{]) | ( \{ ( (?> \\. | [^\{\}\\]++ | \{ (?0) \} )* ) \} ) ) } {replacement}xgs; $ rpm -q perl perl-5.12.4-165.fc15.x86_64 $ ./5_12_heap_corruption *** glibc detected *** /usr/bin/perl: free(): invalid next size (fast): 0x0000000000a722d0 *** Neoprávněný přístup do paměti (SIGSEGV) This has been fixed in: commit fd4be6f07df0e6a021290ef721c5d73550e0248c Author: Father Chrysostomos <sprout> Date: Fri Feb 25 20:45:08 2011 -0800 The only affected Fedora release is F15.
Created attachment 584345 [details] Reproducer
Created attachment 584354 [details] Fix ported to 5.12.4
perl-5.12.4-166.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/perl-5.12.4-166.fc15
Package perl-5.12.4-166.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-5.12.4-166.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-7909/perl-5.12.4-166.fc15 then log in and leave karma (feedback).
perl-5.12.4-166.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.