Re: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1
[prev]
[thread]
[next]
[Date index for 2005/01/04]
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7DEC972F3D9A06B489B23A79
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Jean-François Nadeau wrote:
> Thanks for the quick reply.
>
> I cleaned up my installation and reinstalled.
> See attached bug report and BuildConfig.pm.
>
> Configured with:
> perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=/usr/local/apache-2.0.52/
> make && make install
>
> The leak persist after reinstall.
Could you also try applying this small debugging patch and try again? Posting
the "[clear_stash]" log lines from your error_log back ?
Index: src/modules/perl/modperl_util.c
===================================================================
--- src/modules/perl/modperl_util.c (revision 124130)
+++ src/modules/perl/modperl_util.c (working copy)
@@ -781,7 +781,13 @@
if (strcmp(this_stash, package) == 0) {
hv_delete(stash, key, len, G_DISCARD);
}
+ else {
+ fprintf(stderr, "[clear_stash] skip foreign entry %s[%s](%s)\n", package, this_stash, key);
+ }
}
+ else {
+ fprintf(stderr, "[clear_stash] skip unsafe entry %s(%s)\n", package, key);
+ }
}
}
}
--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
--------------enig7DEC972F3D9A06B489B23A79
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB2ueIyzKhB4jDpaURAiXPAKCJfSZe7wycZCZHsbYK28B9QeLl3wCfZO3H
ujyoDfKN7sN8GuiraRQq4Wo=
=qP7y
-----END PGP SIGNATURE-----
--------------enig7DEC972F3D9A06B489B23A79--