[racket-dev] ffi crash on callback during GC

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Nov 22 18:12:15 EST 2010

At Mon, 22 Nov 2010 15:00:01 -0800, John Clements wrote:
> Taking a look at the crash report, I see that the crash appears to
> happen when the callback is called by a C thread while Racket is
> collecting garbage, [...]
> 
> So: is racket supposed to magically handle this?

Yes. I think this could be a bug in `#:async-apply' support, where I
didn't think through the possibility of a GC during the callback. I'll
work on that soon.



Posted on the dev mailing list.