<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Folks,<br>
<br>
Today, I was able to get closer to the origin of the problem. The
problem is when Morphic tries to do a Delay (inter-cycle-pause) of 1
or two milliseconds. (Usually they are quite larger, and the problem
does not appear). With the 64-bit VM, sometimes very short delays
hang the complete system. I don't know why, but this:
<br>
<br>
waitDelay _ Delay forMilliseconds: 50.
<br>
[ true ] whileTrue: [
<br>
1000 atRandom print.
<br>
waitDelay setDelay: 1; wait ].
<br>
<br>
is enough to hang Cuis in a short time. When trying to reproduce the
problem in Squeak I had mixed results. It doesn't seem to hang
there, but if I let this run for a couple of minutes and then try to
halt with alt-. , then the hang occurs, and Squeak becomes
irresponsibe. As a workaround, in Cuis in the inter cycle pause, I'm
avoiding very short delays.<br>
<br>
I'm not sure if the bug is in the VM, in
the image, or both, but it is still there, and it also affects
Squeak. I haven't tried it, but Pharo might also have the problem
(if not, it can show a possible solution).<br>
<br>
BTW, Bert, I guess Squeak never does short delays in
#interCyclePause: ...<br>
<br>
Thanks,<br>
<br>
On 2/6/2017 12:28 PM, Bert Freudenberg wrote:
<blockquote
cite="mid:CACnEXedQuzXeXuZxO5k_mwbQYeEmrS0iiyvsbyG=NrNTUqSKCg@mail.gmail.com"
type="cite">
<pre wrap=""> </pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<div dir="ltr">Yes, I tried with Spur64. Have not seen it freeze
yet on Mac in Squeak, but we possibly have not replicated the
test well enough yet.
<div><br>
</div>
<div>It *did* freeze in Cuis Spur64 on Mac too. <br>
<div><br>
</div>
<div>
<div>- Bert -<br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 6, 2017 at 2:08 PM,
Juan Vuletich <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:juanvuletich@zoho.com"
target="_blank">juanvuletich@zoho.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;"> <br>
<div>
<div style="font-size: 10pt; font-family:
Verdana,Arial,Helvetica,sans-serif;">Were you
usig Spur64? On Debian it does not freeze with
CogV3 or Spur32. Only with Spur64.<br>
<br>
Thanks,<br>
Juan<br id="m_5696784572827578869br3">
<div id="m_5696784572827578869signature">
<p style="color: rgb(42, 42, 42);">Sent using
<a moz-do-not-send="true" style="color:
rgb(89, 143, 222);"
href="https://www.zoho.com/mail/"
target="_blank">Zoho Mail</a></p>
</div>
<div id="m_5696784572827578869content">
<blockquote><br>
---- On Mon, 06 Feb 2017 09:19:48 -0300 <b>
<a moz-do-not-send="true"
href="mailto:bert@freudenbergs.de"
target="_blank">bert@freudenbergs.de</a>
</b> wrote ----<br>
<br>
<div>
<div dir="ltr">
<div>
<div>On Mon, Feb 6, 2017 at 3:15 AM,
David T. Lewis <span><<a
moz-do-not-send="true"
href="mailto:lewis@mail.msen.com"
target="_blank">lewis@mail.msen.com</a>></span>
wrote:<br>
<blockquote style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid
rgb(204, 204, 204); padding-left:
1ex;">It would be interesting to
try reproducing this in a Squeak
image, but I<br>
have not quite figured out how to
make the Tokenish example work in
Squeak.<br>
</blockquote>
<div><br>
</div>
<div>See attachment. Did not freeze
on Mac with 10 Tokenish jumping.</div>
<div>- Bert -</div>
<div> </div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
@JuanVuletich</pre>
</body>
</html>