Re: scheme closures: crash during garbage collection

2006-10-27 Thread Andy Wingo
Hi, I'm just now getting around to taking care of this oldie. On Sat, 2006-07-08 at 18:06 +0300, Marius Vollmer wrote: > Neil Jerram <[EMAIL PROTECTED]> writes: > > (See > > http://lists.gnu.org/archive/html/guile-gtk-general/2006-06/msg00013.html > > if you didn't see the whole description on gu

Re: scheme closures: crash during garbage collection

2006-07-12 Thread Neil Jerram
Marius Vollmer <[EMAIL PROTECTED]> writes: > Neil Jerram <[EMAIL PROTECTED]> writes: > >>> Guile wants you to integrate your objects with its mark/sweep >>> approach, by providing appropriate smob marking functions, for >>> example. >> >> If I've understood correctly, this isn't possible in Gregor

Re: scheme closures: crash during garbage collection

2006-07-08 Thread Marius Vollmer
Neil Jerram <[EMAIL PROTECTED]> writes: >> Guile wants you to integrate your objects with its mark/sweep >> approach, by providing appropriate smob marking functions, for >> example. > > If I've understood correctly, this isn't possible in Gregory's > scenario. > > (See > http://lists.gnu.org/arch

Re: scheme closures: crash during garbage collection

2006-06-12 Thread Neil Jerram
[EMAIL PROTECTED] (Han-Wen Nienhuys) writes: > In article <[EMAIL PROTECTED]>, > Neil Jerram <[EMAIL PROTECTED]> wrote: >>If I've understood correctly, this isn't possible in Gregory's >>scenario. >> >>(See >>http://lists.gnu.org/archive/html/guile-gtk-general/2006-06/msg00013.html >>if you didn'

Re: scheme closures: crash during garbage collection

2006-06-12 Thread Han-Wen Nienhuys
In article <[EMAIL PROTECTED]>, Neil Jerram <[EMAIL PROTECTED]> wrote: >If I've understood correctly, this isn't possible in Gregory's >scenario. > >(See >http://lists.gnu.org/archive/html/guile-gtk-general/2006-06/msg00013.html >if you didn't see the whole description on guile-gtk-general already

Re: scheme closures: crash during garbage collection

2006-06-12 Thread Neil Jerram
Marius Vollmer <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (Han-Wen Nienhuys) writes: > >> No, MV thinks it's a bad idea, and I agree with him. >> >> See >> >> http://thread.gmane.org/gmane.lisp.guile.devel/4117/focus=4160 > > Yep, and let me elaborate a bit: > > The pair scm_gc_protect_ob

Re: scheme closures: crash during garbage collection

2006-06-10 Thread Marius Vollmer
[EMAIL PROTECTED] (Han-Wen Nienhuys) writes: > In article <[EMAIL PROTECTED]>, > Neil Jerram <[EMAIL PROTECTED]> wrote: > >>[...] >>It seems to me, though, that the same kind of situation, leading to >>wanting to call scm_gc_unprotect_object during GC, is likely to arise >>in any sufficiently com

Re: scheme closures: crash during garbage collection

2006-06-09 Thread Han-Wen Nienhuys
In article <[EMAIL PROTECTED]>, Neil Jerram <[EMAIL PROTECTED]> wrote: >> guile-gnome (up to v. 2.7.98, most recent as of this writing) can >> call scm_gc_unprotect_object() during a scheme garbage collector >> sweep, which is a fatal error in guile-1.8. In earlier versions >> of guile, it is not

Re: scheme closures: crash during garbage collection

2006-06-09 Thread Neil Jerram
[added crosspost to guile-devel] "gregory benison" <[EMAIL PROTECTED]> writes: > guile-gnome (up to v. 2.7.98, most recent as of this writing) can > call scm_gc_unprotect_object() during a scheme garbage collector > sweep, which is a fatal error in guile-1.8. In earlier versions > of guile, it i