ares icon indicating copy to clipboard operation
ares copied to clipboard

Turn jet sometimes doesn't save the call stack of the gate if the gate crashes

Open philipquirk opened this issue 8 months ago • 2 comments

I sometimes crash and get a call stack that gives a call to turn and the line numbers go from the turn call all the way to the end of the gate. If I comment out the turn jet in hot.rs then I get the line number of the exact crash. So sometimes the turn jet isn't passing the call stack of the crashing gate up.

I looked at the code and if the gate is jetted it calls jet()? with ? passing the error up. If the gate isn't jetted, then it calls interpret()? passing the error up. But then I looked in interpret() where it calls jets and it basically does the same thing (it matches on the error but if its not JetPunt then it passes it up). So I'm not sure exactly how the call stack gets passed or where the bug is.

philipquirk avatar Jun 19 '24 19:06 philipquirk