<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}
p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Thanks for the fix!<br></div><div><br></div><div>I need little bit more context to fully grasp the problem. Is there any recommended book/paper about BlockClosures in the Squeak family of Smalltalk dialects? Are the Blue Book or the Inside Smalltalk still relevant in this question?<br></div><div><br></div><div>But at least now I can catch the infinite loop in the debugger. And because BlockClosure's value: method is a primitive I cannot use the debugger to further analyze the phenomenon, I suppose. The VMMaker would be the tool to inspect into the inner workings of the value: method?<br></div><div class="align-center" style="position:relative;margin-top:1em;margin-right:0px;margin-bottom:1em;margin-left:0px;text-align:center;"><img style="max-width:100%;height:auto;" src="cid:16959277855620.8374190650615464@content.messagingengine.com"><br></div><div>Regards,<br></div><div>Szabolcs<br></div><div> <br></div><div><br></div><div>On Thu, Sep 28, 2023, at 00:44, <a href="mailto:ken.dickey@whidbey.com">ken.dickey@whidbey.com</a> wrote:<br></div><blockquote type="cite" id="qt" style=""><div>On 2023-09-27 09:28, Szabolcs Komáromi via Cuis-dev wrote:<br></div><div>..<br></div><div>> The composedActionExample2 method of Ken's Animator <br></div><div>> (<a href="https://github.com/KenDickey/Cuis-Smalltalk-Animator">https://github.com/KenDickey/Cuis-Smalltalk-Animator</a>) package crashes <br></div><div>> the VM<br></div><div><br></div><div>Fixed now.<br></div><div><br></div><div>This was a subtle one. The #action method returned a closed over <br></div><div>action which was a reference into an instance variable. When this was <br></div><div>assigned to in the example, a circular/chained reference was created. <br></div><div>See instance method #action for the solution.<br></div><div><br></div><div>Thanks!<br></div><div>-KenD<br></div><div><br></div><div>Definition of recursion:<br></div><div> See "Definition of recursion"<br></div><div>;^)<br></div><div><br></div></blockquote><div><br></div></body></html>