<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>When a freeze occurs, it's usually(tm) during an animation,
probably because the movement of an ellipse is done in small
increments of 92 per hop. This is within a block like so:</p>
<p><br>
</p>
<p>self when: #morphicStep evaluate: [ :delta | <movement> ].</p>
<p>self startSteppingStepTime: step. <br>
<br>
</p>
How can the breakpoint be set in this block for gdb? We need source
for some C module.<br>
<br>
- Dan<br>
<br>
<div class="moz-cite-prefix">On 01/30/2017 02:58 PM, Dan Norton
wrote:<br>
</div>
<blockquote
cite="mid:265599cf-3d73-2ea3-60eb-c36363c2d3bd@mindspring.com"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 01/30/2017 11:58 AM, Bert
Freudenberg wrote:<br>
</div>
<blockquote
cite="mid:CACnEXecnRqEEe5c6V94xccJeXQ7H=s7oVzTuwqSNmaUDqW_1Yw@mail.gmail.com"
type="cite">
<pre wrap=""> </pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Jan 30, 2017 at 5:48 PM,
Dan Norton <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:dnorton@mindspring.com" target="_blank">dnorton@mindspring.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"> <br>
After a freeze, I find that pkill will cause output to
crash.dmp and the latest is attached.<br>
</blockquote>
<div><br>
</div>
<div>That looks benign.</div>
<div><br>
</div>
<div>How about attaching strace when frozen? </div>
<div><br>
</div>
<div><font face="monospace, monospace">sudo strace -p
<pid></font></div>
<div><br>
</div>
<div>This should log all system calls the VM is still
doing. Then press alt-. and see if the VM processes
that.<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
# strace -p 2475 <br>
<br>
produces lots of...<br>
nanosleep({0, 0}, 0x7fff9b9b6060) = 0<br>
select(4, [3], [], [3], {0, 0}) = 0 (Timeout)<br>
recvmsg(3, 0x7fff9b9b5df0, 0) = -1 EAGAIN (Resource
temporarily unavailable)<br>
select(4, [3], [], [3], {0, 0}) = 0 (Timeout)<br>
nanosleep({0, 0}, 0x7fff9b9b6060) = 0<br>
select(4, [3], [], [3], {0, 0}) = 0 (Timeout)<br>
recvmsg(3, 0x7fff9b9b5df0, 0) = -1 EAGAIN (Resource
temporarily unavailable)<br>
select(4, [3], [], [3], {0, 0}) = 0 (Timeout)<br>
^Cnanosleep({0, 0}, Process 2475 detached<br>
<detached ...><br>
<br>
... before my packages are loaded as well as after the freeze.
Identical AFAICT.<br>
alt-. is not processed after the freeze.<br>
<br>
- Dan<br>
<br>
</blockquote>
<br>
</body>
</html>