On Wed, 22 May 2002, Dan Wilga wrote: > Oh ho! That's it. Now when I gracefully restart, the memory loss is > only about 29 Kb -- a very reasonable number.
much better. with the modperl test suite, i only see a wee bit of leakage on the first restart, then no leakage on restarts after that. > So if that's the reason for the core dump, is there a bug fix to the > offending module in the works? it is fixed in 5.8.0-tobe with the patch below, which can also be applied to 5.6.1 Index: ext/DynaLoader/DynaLoader_pm.PL =================================================================== RCS file: /usr/local/cvs_repository/perl-current-mirror/ext/DynaLoader/DynaLoader_pm.PL,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 DynaLoader_pm.PL --- ext/DynaLoader/DynaLoader_pm.PL 2001/01/04 01:55:35 1.1.1.1 +++ ext/DynaLoader/DynaLoader_pm.PL 2001/06/19 05:10:22 @@ -80,8 +80,10 @@ @dl_require_symbols = (); # names of symbols we need @dl_resolve_using = (); # names of files to link with @dl_library_path = (); # path to look for files -@dl_librefs = (); # things we have loaded -@dl_modules = (); # Modules we have loaded + +#XSLoader.pm may have added elements before we were required +#@dl_librefs = (); # things we have loaded +#@dl_modules = (); # Modules we have loaded # This is a fix to support DLD's unfortunate desire to relink -lc @dl_resolve_using = dl_findfile('-lc') if $dlsrc eq "dl_dld.xs";