Red Hat Bugzilla – Bug 453646
Compile perl with -DPERL_USE_SAFE_PUTENV
Last modified: 2008-07-06 02:17:28 EDT
Description of problem:
Perl by default manages to take care of environment with its custom memory
management routines, to work around leaky putenv() implementations. However,
once a module modifies environment, perl loses track and panics upon deallocation.
For an example of a problem caused by this, see perlbug RT ticket #56500 ,
where Term::ReadLine::Gnu is the module that modifies environment. It is very
likely that there are other such modules.
According to putenv(3) manual it is not necessary for perl to deal with possible
putenv() leaks in Fedora 9, since glibc correctly implements it as of 2.1.2.
According to perl's INSTALL file, the problematic behavior can be disabled with
Version-Release number of selected component (if applicable):
This will hit also rawhide soon.
Thanks a lot. Just for the record -- apart from Term::ReadLine::Gnu this also
reportedly fixed issues with wxPerl and Class::MethodMaker; in case you are
aware of any bugs open that might relate to this.
perl-5.10.0-30.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.