<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>I'm curious whether this could or should be fixed in the VM. Interrupt still works ... Any thoughts?</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von commits@source.squeak.org <commits@source.squeak.org><br>
<b>Gesendet:</b> Donnerstag, 9. Juni 2022 10:15:34<br>
<b>An:</b> squeak-dev@lists.squeakfoundation.org; packages@lists.squeakfoundation.org<br>
<b>Betreff:</b> [squeak-dev] The Trunk: Kernel-jar.1474.mcz</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Marcel Taeumel uploaded a new version of Kernel to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Kernel-jar.1474.mcz">http://source.squeak.org/trunk/Kernel-jar.1474.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Kernel-jar.1474<br>
Author: jar<br>
Time: 1 June 2022, 4:40:04.621161 pm<br>
UUID: 5610d4f5-4e77-034a-bdc8-df674ef49b60<br>
Ancestors: Kernel-jar.1473<br>
<br>
Fix a bug: assigning suspendedContext := nil to a runnable but not active process would freeze the image when self is awakened. This can easily happen when a process gets preempted between the assignment and the next send.<br>
<br>
Try to execute this:<br>
p := [] newProcess resume. "p placed in run queue"<br>
p suspendedContext: nil.  "image freezes"<br>
<br>
=============== Diff against Kernel-jar.1473 ===============<br>
<br>
Item was changed:<br>
  ----- Method: Process>>suspendedContext: (in category 'private') -----<br>
  suspendedContext: aContext<br>
+        "Note: assigning nil to a runnable but not active process would freeze the image when self is scheduled to run."<br>
  <br>
+        suspendedContext := aContext ifNil: [self suspend. nil]!<br>
-        suspendedContext := aContext!<br>
<br>
<br>
</div>
</span></font>
</body>
</html>