[plt-scheme] optimizer crash in embedded mzscheme

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Sep 7 09:12:39 EDT 2008

At Sat, 6 Sep 2008 11:46:43 -0600, Matthew Flatt wrote:
> At Fri, 05 Sep 2008 22:45:36 +0100, Dave Griffiths wrote:
> > I've upgraded from 3.99 to 4.1 and I've started getting crashes in my
> > mzscheme embedded app. They're coming from errors in my scheme module
> > code, which are being correctly reported by the optimiser, but crashes
> > in scheme_log_message. 
> > 
> > This only seems to be happening after I've reset my interpreter by
> > calling scheme_basic_env() a second time - which may or may not be
> > related.
> 
> I think the reset behavior of scheme_basic_env() is likely broken. It's
> fragile and not properly tested, so I'll look into that.

As expected, when I added logging support, I didn't make sure that the
`current-logger' parameter was reset correctly. This is fixed in SVN.


Matthew



Posted on the users mailing list.