develooper Front page | perl.perl5.porters | Postings from April 2014

[perl #121676] Memory leak in backticks and system

Thread Previous
Tony Cook via RT
April 22, 2014 06:33
[perl #121676] Memory leak in backticks and system
Message ID:
On Wed Apr 16 23:37:39 2014, bulk88 wrote:
> There is a mem leak in system and `` on Win32 on 5.19 and 5.18 (tested
> by me and others), see
> and
> . This ticket is so the issue doesnt get lost.

I tried to fudge the build (and added some extra code) to build perl with MSVCRT's debug version memory leak reporting[1], which reported only a single leak, which appears with perl -e0 or perl -e "`dir` for 1..100`".

I don't see a leak if I build perl with PERL_MALLOC defined (which requires disabling USE_IMP_SYS).

I don't see a leak with all of PERL_MALLOC, USE_MULTI, USE_ITHREADS, USE_IMP_SYS undefined.

No leak with just USE_MULTI re-enabled out of those.

Right now I suspect something in the USE_IMP_SYS layer.



via perlbug:  queue: perl5 status: new

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About