Re: module GC bug

2005-07-08 Thread Mikael Djurfeldt
On 7/7/05, Marius Vollmer <[EMAIL PROTECTED]> wrote: > > I've fixed this by introducing a new function (eval-closure-module) > > which returns the module of a closure via the eval-closure smob. > > I think the right fix is to change the weak hashtable marking > algorithm to properly cope with circ

Re: module GC bug

2005-07-08 Thread Han-Wen Nienhuys
Marius Vollmer wrote: So the closure is a key in a weak hash-table, pointing to the module as a value (using scm_stand_in_procs), the module is always marked during GC. However, since the module points back to the closure via the 'eval-closure slot, the key is always marked. Consequently, neithe