Bug#596105: syncevolution: Memory error syncing calendar

Niko Tyni ntyni at debian.org
Thu Oct 28 21:32:30 UTC 2010


forwarded 596105 http://rt.perl.org/rt3/Ticket/Display.html?id=78674
tag 596105 patch
thanks

On Sun, Oct 24, 2010 at 10:11:32AM +0300, Niko Tyni wrote:
> On Fri, Oct 22, 2010 at 02:29:36PM -0300, David Bremner wrote:

> > I'm reassigning this to perl because perl script in question does not
> > use any external modules (other than 'encoding').
> 
> Thanks. I can reproduce the crash. It's a bit of a heisenbug as changing
> just about anything makes it go away. It's still present in upstream
> development branch, as of 5.13.6 or so.

The same bug can be triggered with

 % perl -Mencoding=utf8 -e 'map { "a" . $a } ((1)x500);'
 Attempt to free non-existent shared string 'original', Perl interpreter: 0x80f010 during global destruction.
 zsh: segmentation fault (core dumped)  perl -Mencoding=utf8 -e 'map { "a" . $a } ((1)x500);'

I've reported this upstream with the attached proposed patch. See the upstream
report for more details.

It should be easy to backport the patch to 5.10.1. Will try to get that
in squeeze.
-- 
Niko Tyni   ntyni at debian.org


More information about the Perl-maintainers mailing list