New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak when assigning to %ENV #10242
Comments
From andrew.speer@isolutions.com.auCreated by andrew.speer@isolutions.com.auPerl 5.10.0 on Fedora 12 leaks memory when assigning to %ENV. The following command line will reproduce the problem. perl -e '$ENV{foo}=1 while 1' Perl Info
|
From @iabynOn Fri, Mar 19, 2010 at 11:31:39PM -0700, andrew.speer@isolutions.com.au wrote:
[snip] The fedora Perl is built with the following:
and from INSTALL: =head3 Environment access Perl often needs to write to the program's environment, such as when C<%ENV> Basically Fedora have chosen to build their perl using the OS's leaky For the curious, the problem with the putenv() library function on many while (1) { putenv(s); -- |
The RT System itself - Status changed from 'new' to 'open' |
@iabyn - Status changed from 'open' to 'rejected' |
From andrew.speer@isolutions.com.auOn Sun Mar 21 05:33:06 2010, davem wrote:
Thanks, I'll report to Fedora Bugzilla and see if anyone is motivated to change it. It causes issues for me because the FCGI (FastCGI) module uses %ENV as a Thanks again for your quick response. Regards, Andrew Speer |
From [Unknown Contact. See original ticket]On Sun Mar 21 05:33:06 2010, davem wrote:
Thanks, I'll report to Fedora Bugzilla and see if anyone is motivated to change it. It causes issues for me because the FCGI (FastCGI) module uses %ENV as a Thanks again for your quick response. Regards, Andrew Speer |
From @ppisarDne ne 21.bře.2010 05:33:06, davem napsal(a):
For curious, the putenv(3) has never been intended to provide such The right functions to manipulate environment is setenv(3) and Funny thing is perl's util.c code offers the {un,}seteenv() approach, # if defined(__CYGWIN__) || defined(EPOC) || defined(__SYMBIAN32__) || According my opinion, the ifdefed branch should be made default one and |
Migrated from rt.perl.org#73672 (status was 'rejected')
Searchable as RT73672$
The text was updated successfully, but these errors were encountered: