Bug#700624: creating and destroying threads with perl results in memory leak
Dominic Hargreaves
dom at earth.li
Sat Feb 16 18:46:03 UTC 2013
tags 700624 +confirmed
forwarded 700624 https://rt.perl.org/rt3/Public/Bug/Display.html?id=69598
fixed 700624 5.14.0-1
thanks
On Fri, Feb 15, 2013 at 12:34:54PM +0100, Stefan Priebe wrote:
> Package: perl
> Version: 5.10.1-17squeeze4
> Severity: important
>
>
> creating and destroying threads in perl results in a memory leak.
>
> Mini Testscript which works fine under Ubuntu 12.04 perl 5.14:
>
> use threads;
>
> sub ThreadRoutine {}
>
> while (1) {
> $thread = threads->new(\&ThreadRoutine);
> $thread->join;
> }
>
> This results in heavy memory leaks on Debian Squeeze.
I can reproduce this with Debian squeeze, and agree that it's a bug.
I am tentatively going to suggest that this is the same bug discussed
(briefly) in [perl #69598]. In my reading around the subject of memory
leaks in threads, I was unable to conclude anything definite about this
bug, so I doubt that we will be possible to fix it in Debian squeeze
unless something more specific comes to light.
Thanks,
Dominic.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
More information about the Perl-maintainers
mailing list