[plt-scheme] bus error on exit

Matthew Flatt mflatt at cs.utah.edu
Wed Nov 7 07:39:54 EST 2007


At Sun, 4 Nov 2007 15:13:00 -0500, Robert Nikander wrote:
> I've embedded mzscheme, and my main program calls exit() from a non- 
> scheme thread, which leads to a bus error in  
> 'scheme_do_close_managed' in thread.c.  Is there a recommended way to  
> shutdown the embedded mzscheme in this situation?

I don't yet have any good ideas for this.

MzScheme could provide a way to let you disable the work it does via
atexit(), which is mostly just to flush output ports. Would that be
enough?

Matthew




More information about the plt-scheme mailing list