<div dir="ltr">Hi Windows Experts,<div><br></div><div>    I'm trying to have the FFI exception failure support work across the board.  What I see now is that the 64-bit StackVM works, while the 64-bit CogVM does not, even though they have exactly the same exception handling machinery in place (the new squeakExceptionHandler machinery; thank you whoever wrote it, it looks very nice), and the same essential architecture for jumping back into the interpreter.</div><div><br></div><div>I expect the issue is that the machinery for maintaining a chain through the stack and/or the stack search used in exception delivery is broken my careless management of the C stack in the Cog VM, whereas in the StackVM the C stack remains undisturbed.</div><div><br></div><div>To reproduce the crash in the Cog VM and the successful failure in the StackVM in an updated trunk image simply </div><div>- load the FFI (script attached; it does a snapshot and quit)</div><div>- run the example at the end of ExceptionInFFICallError's class comment</div><div><br></div><div>Any help on debugging this appreciated.<br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div>