Bug#700624: creating and destroying threads with perl results in memory leak
Stefan Priebe
s.priebe at profihost.ag
Fri Feb 15 11:34:54 UTC 2013
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.
-- System Information:
Debian Release: 6.0.6
APT prefers squeeze
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.7.5+4-ph (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages perl depends on:
ii libbz2-1.0 1.0.5-6+squeeze1 high-quality block-sorting file co
ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib
ii libdb4.7 4.7.25-9 Berkeley v4.7 Database Libraries [
ii libgdbm3 1.8.3-9 GNU dbm database routines (runtime
ii perl-base 5.10.1-17squeeze4 minimal Perl system
ii perl-modules 5.10.1-17squeeze4 Core Perl modules
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages perl recommends:
ii netbase 4.45 Basic TCP/IP networking system
Versions of packages perl suggests:
ii libterm-readline-gnu-perl 1.20-1 Perl extension for the GNU ReadLin
ii make 3.81-8 An utility for Directing compilati
pn perl-doc <none> (no description available)
-- no debconf information
More information about the Perl-maintainers
mailing list