Skip Menu |
 

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 94138
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: jjp [...] siteimprove.com
Cc: CHORNY [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Memory leak in backticks and system
Date: Mon, 24 Mar 2014 11:31:58 +0100
To: "bug-Perl-Dist-Strawberry [...] rt.cpan.org" <bug-Perl-Dist-Strawberry [...] rt.cpan.org>
From: Jesper Jørgen Persson <jjp [...] siteimprove.com>
Download (untitled) / with headers
text/plain 315b
Hi, Platform: Windows 7 64 bit osname=MSWin32, osvers=6.2, archname=MSWin32-x64-multi-thread uname='Win32 strawberry-perl 5.18.2.1 #1 Tue Jan 7 22:32:35 2014 x64' This little piece of perl code eats memory very fast: while(1){ `dir c:\\`; } Can anyone else reproduce this? Best Regards Jesper Persson
Download (untitled) / with headers
text/plain 580b
On Mon Mar 24 06:40:41 2014, jjp@siteimprove.com wrote: Show quoted text
> Hi, > > Platform: > Windows 7 64 bit > osname=MSWin32, osvers=6.2, archname=MSWin32-x64-multi-thread > uname='Win32 strawberry-perl 5.18.2.1 #1 Tue Jan 7 22:32:35 2014 x64' > > This little piece of perl code eats memory very fast: > while(1){ > `dir c:\\`; > } > > Can anyone else reproduce this?
Tries on 5.14.0 (32-bit) and 5.18.2 (32-bit, 64-bit int). Do not leak. Please check again and if it still leaks memory, report it with perlbug utility to perl5 porters. -- Alexandr Ciornii, http://chorny.net
Download (untitled) / with headers
text/plain 888b
On Tue Apr 08 07:51:45 2014, CHORNY wrote: Show quoted text
> On Mon Mar 24 06:40:41 2014, jjp@siteimprove.com wrote:
> > Hi, > > > > Platform: > > Windows 7 64 bit > > osname=MSWin32, osvers=6.2, archname=MSWin32-x64-multi-thread > > uname='Win32 strawberry-perl 5.18.2.1 #1 Tue Jan 7 22:32:35 2014 > > x64' > > > > This little piece of perl code eats memory very fast: > > while(1){ > > `dir c:\\`; > > } > > > > Can anyone else reproduce this?
> > Tries on 5.14.0 (32-bit) and 5.18.2 (32-bit, 64-bit int). Do not > leak. Please check again and if it still leaks memory, report it with > perlbug utility to perl5 porters.
It was originally reported on 5.18.2, and I'm surprised you didn't see the leak there. The bug was introduced in 5.17.1 and is now fixed in blead (ready for 5.20.0) and backported to maint-5.18 (ready for 5.18.3). See https://rt.perl.org/Ticket/Display.html?id=121676


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.