Stas Bekman wrote:
Vincent Moneymaker wrote:

Okay, mod_perl 1.99_16 reloading works. So the reloading problem starts with the 1.99_17 version as you suspected.

Perfect. So we most likely know the suspect.

Possibly a problem with clear_stash()

[...]

so both modules are located in the same directory, right? Can you reduce
those module to the very minimum while one still reloads and the other doesn't and post them here, and I'll try to reproduce it here. Also please past the relevant bits from httpd.conf. Thanks.

I'd like to have look at what code you have in Apache/Menus.pm if that's possible.

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

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to