Week ago Damon hit a recursive call to Rivet_Parse that resulted in a infinite loop over a call to Rivet_Parse. I suspected there was a problem with the cache. Here is a patch that might fix the problem. The patch clearly fixes a problem with the cache key so I will commit it anyway but if Damon could take a look and see if his problem persists...

Index: src/mod_rivet_ng/rivetCore.c
===================================================================
--- src/mod_rivet_ng/rivetCore.c        (revision 1782929)
+++ src/mod_rivet_ng/rivetCore.c        (working copy)
@@ -281,8 +281,7 @@
     /* */

     cache_key =
-        RivetCache_MakeKey( private->pool,
-                            private->r->filename,
+        RivetCache_MakeKey( private->pool,filename,
                             finfo_b.ctime,finfo_b.mtime,
                             IS_USER_CONF(private->running_conf),0);


-- Massimo

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to