<div dir="ltr"><div>Yes, I did that and got two failing tests</div><div>testTerminateTerminatingProcess</div><div>testResumeTerminatingProcess</div><div><br></div><div>both failures look the same, in second self assert: terminator isSuspended.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 6 mai 2022 à 16:13, Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de">marcel.taeumel@hpi.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div id="gmail-m_-6851650314273917432__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);text-align:left" dir="ltr">
                                        Hi Nicolas --<div><br></div><div>> <span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">I would also consider 1445 1421 and most importantly 1447.</span></div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">I will also take a look at KernelTests-jar.421 to check whether any new semantics are okay.</span></div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">Best,</span></div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">Marcel</span></div><div></div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-top:20px;margin-left:0px;padding-left:10px">
                        <p style="color:rgb(170,170,170);margin-top:10px">Am 06.05.2022 16:00:56 schrieb Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>>:</p><div style="font-family:Arial,Helvetica,sans-serif">
<div dir="ltr"><div>I have merged Kernel-jar.1446 which is trivial (re-signal an Exception).</div><div>I would also consider 1445 1421 and most importantly 1447.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 5 mai 2022 à 14:50, Jaromir Matas <<a href="mailto:mail@jaromir.net" target="_blank">mail@jaromir.net</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div>
<p class="MsoNormal">Hi Marcel, Christoph,</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">>> If would be nice if we could integrate some of the proposed fixes from you and Jaromir into Trunk/6.0.</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">> Sure, this would be very helpful. Unfortunately, it takes a lot of energy because many of these proposals and related discussions are very convoluted. But I will prioritize this higher on my to-do list. Maybe a third opinion/pair of eyes
 on some of these discussions would also help. :-)</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Just to avoid any confusion, Christoph's proposal avoids BCR "problem" in the image nicely IMO and my latest #terminate rewrite in Kernel-jar.1447 removed any dependency on fixing the BCR situation altogether so both fixes can be applied
 independently of each other :) (Cuis has implemented the equivalent of Kernel-jar.1447 a few months ago; no complaints so far :) )</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Jaromir</p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in">
<p class="MsoNormal" style="border:medium none;padding:0in"><b>From: </b><a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de" target="_blank">Thiede, Christoph</a><br>
<b>Sent: </b>Thursday, May 5, 2022 13:35<br>
<b>To: </b><a href="mailto:squeak-dev@lists.squeakfoundation.org" target="_blank">squeak-dev</a><br>
<b>Subject: </b>Re: [squeak-dev] SIGTRAP when Proceeding from BlockCannotReturn</p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div id="gmail-m_-6851650314273917432gmail-m_4063721169714075717divtagdefaultwrapper">
<p><span style="font-size:12pt;color:black">Hi Marcel,<u></u><u></u></span></p>
<p><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
<p><span style="font-size:12pt;color:black">> If would be nice if we could integrate some of the proposed fixes from you and Jaromir into Trunk/6.0.<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">Sure, this would be very helpful. Unfortunately, it takes a lot of energy because many of these proposals and related discussions are very convoluted. But I will prioritize this higher on my to-do
 list. Maybe a third opinion/pair of eyes on some of these discussions would also help. :-)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">> ... Still, a VM crash is not acceptable. Is this an issue with the VM or some misused primitive?
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">I think the VM was simply not designed for resuming from #cannotReturn:. If you inspect the sender context in a debugger, you can see that its pc is larger than its endPC, which obviously invalid.
 Until this is fixed on the VM side, we could fix this on the image side like in my proposal ... maybe with a flag: #workaround.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">Best,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">Christoph<u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><img style="width: 5.7833in; height: 0.025in;" id="gmail-m_-6851650314273917432gmail-m_4063721169714075717Horizontal_x0020_Line_x0020_1" src="cid:18099c3690516e878611" width="555" height="2" border="0"><u></u><u></u></p>
<div id="gmail-m_-6851650314273917432gmail-m_4063721169714075717divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">Von:</span></b><span style="color:black"> Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>> im Auftrag von Taeumel, Marcel<br>
<b>Gesendet:</b> Donnerstag, 5. Mai 2022 12:48:05<br>
<b>An:</b> squeak-dev<br>
<b>Betreff:</b> Re: [squeak-dev] SIGTRAP when Proceeding from BlockCannotReturn</span>
<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black">... Still, a VM crash is not acceptable. Is this an issue with the VM or some misused primitive?
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black"><img style="width: 3.2916in; height: 2.8833in;" id="gmail-m_-6851650314273917432gmail-m_4063721169714075717a30da86e-d2e6-4c49-9e50-8a7fdfdf9af4" src="cid:18099c369062777af772" width="316" height="277" border="0"></span><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black">Best,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black">Marcel<u></u><u></u></span></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor windowtext;border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 8pt;margin-left:0in;margin-top:15pt;margin-bottom:5pt;min-width:500px">
<p style="margin-top:7.5pt"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:rgb(170,170,170)">Am 05.05.2022 12:46:50 schrieb Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de" target="_blank">marcel.taeumel@hpi.de</a>>:<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black">Hi Christoph --
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black">If would be nice if we could integrate some of the proposed fixes from you and Jaromir into Trunk/6.0.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black">Best,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black">Marcel<u></u><u></u></span></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor windowtext;border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 8pt;margin-left:0in;margin-top:15pt;margin-bottom:5pt;min-width:500px">
<p style="margin-top:7.5pt"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:rgb(170,170,170)">Am 04.05.2022 19:59:59 schrieb Thiede, Christoph <<a href="mailto:christoph.thiede@student.hpi.uni-potsdam.de" target="_blank">christoph.thiede@student.hpi.uni-potsdam.de</a>>:<u></u><u></u></span></p>
<div>
<div id="gmail-m_-6851650314273917432gmail-m_4063721169714075717divtagdefaultwrapper">
<p><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
<div>
<div id="gmail-m_-6851650314273917432gmail-m_4063721169714075717x_divtagdefaultwrapper">
<p><span style="font-size:12pt;color:black">Hi Lauren,<u></u><u></u></span></p>
<p><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
<p><span style="font-size:12pt;color:black">I think this issue has already been discussed in Kernel-ct.1405 et al. (Squeak Inbox Talk might be a nice way to find all related discussions to "BlockCannotReturn"). What do you think about the solutions proposed
 there? :-)<u></u><u></u></span></p>
<p><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
<p><span style="font-size:12pt;color:black">Best,<u></u><u></u></span></p>
<p><span style="font-size:12pt;color:black">Christoph<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12pt;color:black"><img style="width: 4.8166in; height: 0.025in;" id="gmail-m_-6851650314273917432gmail-m_4063721169714075717Horizontal_x0020_Line_x0020_3" src="cid:18099c36906d6540d223" width="462" height="2" border="0"></span><span style="font-size:12pt;color:black"><u></u><u></u></span></p>
<div id="gmail-m_-6851650314273917432gmail-m_4063721169714075717x_divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">Von:</span></b><span style="font-size:12pt;color:black"> Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>> im Auftrag von Lauren Pullen <<a href="mailto:drurowin@gmail.com" target="_blank">drurowin@gmail.com</a>><br>
<b>Gesendet:</b> Donnerstag, 28. April 2022 07:25:44<br>
<b>An:</b> <a href="mailto:squeak-dev@lists.squeakfoundation.org" target="_blank">squeak-dev@lists.squeakfoundation.org</a><br>
<b>Betreff:</b> [squeak-dev] SIGTRAP when Proceeding from BlockCannotReturn <u></u>
<u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black"> <u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-right:1in;margin-bottom:12pt;margin-left:0in">
<span style="font-size:10pt;color:black">I found a VM crash while doing my UI testing.<br>
<br>
platform sources revision VM: 202204190959<br>
runner@Mac-1650369142700.local:work/opensmalltalk-vm/opensmalltalk-vm<br>
Date: Tue Apr 19 11:59:48 2022 CommitHash: 2a0e785 Plugins: 202204190959<br>
runner@Mac-1650369142700.local:work/opensmalltalk-vm/opensmalltalk-vm<br>
<br>
If you make the novice mistake of putting a ^ in a block and evaluating<br>
that block after the method returns, a debugger window helpfully appears<br>
saying BlockCannotReturn.<br>
<br>
If you press Proceed the OS will kill Squeak.  No crash.dmp file is<br>
created for this crash.<br>
<br>
The debugger does not respect the value of #isResumable (which<br>
BlockCannotReturn returns true for, by the way) and always permits the<br>
user to resume the operation using the Proceed button.  I believe there<br>
is a method on Exception that also disregards #isResumable  To force an<br>
operation to never proceed you must return the Exception after signaling it.<br>
<br>
Where is the best place to fix this?  We can make the debugger respect<br>
#isResumable and set BlockCannotReturn to return false.  We can also<br>
make Context>>cannotReturn:to: never return normally.  We can also catch<br>
nil in the VM.<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>
</blockquote></div>
</div></blockquote>
                                        </div></div><br>
</blockquote></div>