[squeak-dev] error on process termination

Robert Withers robert.withers at pm.me
Sat Jul 25 12:13:38 UTC 2020

Hi y'all,

I am getting an error when terminating my process and it loops infinitely stacking this error recursively.

> nil doesNotUnderstand: stepToCallee

This is called from Context>>#runUntilErrorOrReturnFrom: aSender after this method has tried to get the topContext. Somehow topContext is nil, and I am guessing that returns from one of the context pops, in the following code from #runUntilErrorOrReturnFrom:.

> "Control resumes here once above ensure block or exception handler is executed"
> ^ error ifNil: [
> "No error was raised, remove ensure context by stepping until popped"
> [ctxt isDead] whileFalse: [topContext := topContext stepToCallee].
> {topContext. nil}

Have I setup the process incorrectly to receive this error or is something else the issue?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200725/ffc92d66/attachment.html>

More information about the Squeak-dev mailing list