> > 3. On win32, I can consistently crash FreeSCI with the following test > > case: > > a) start lsl2 > > b) save the game, then quit > > c) start lsl2, load the game, then quit > > > > This results in a crash (depending upon OS) because the pointer for > > gamestate is invalid somehow when it's free'd in main.c > > > > You may notice some weird messages about restoring invalid handles and > > things. Let me know if you don't -- that might mean it's win32-specific > > (though I have no idea why that would be -- sigh).
Trying a different tool (boundschecker) has shed some light on things. This is just starting lsl2 and quitting. 1) when free(s->execution_stack) is called @ game.c:597, it's an invalid pointer. This is probably due to heap corruption, not that it's an invalid pointer. 2) menubar.c:103: same thing. -- http://www.clock.org/~matt
