[Vm-dev] Freeze after Morph Activity

Dan Norton dnorton at mindspring.com
Mon Jan 30 20:43:19 UTC 2017


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:


self when: #morphicStep evaluate: [ :delta | <movement> ].

self startSteppingStepTime: step.

How can the breakpoint be set in this block for gdb? We need source for 
some C module.

  - Dan

On 01/30/2017 02:58 PM, Dan Norton wrote:
>
>
>
> On 01/30/2017 11:58 AM, Bert Freudenberg wrote:
>>   
>>
>>
>> On Mon, Jan 30, 2017 at 5:48 PM, Dan Norton <dnorton at mindspring.com 
>> <mailto:dnorton at mindspring.com>> wrote:
>>
>>
>>     After a freeze, I find that pkill will cause output to crash.dmp
>>     and the latest is attached.
>>
>>
>> That looks benign.
>>
>> How about attaching strace when frozen?
>>
>> sudo strace -p <pid>
>>
>> This should log all system calls the VM is still doing. Then press 
>> alt-. and see if the VM processes that.
>
> # strace -p 2475
>
> produces lots of...
> nanosleep({0, 0}, 0x7fff9b9b6060)       = 0
> select(4, [3], [], [3], {0, 0})         = 0 (Timeout)
> recvmsg(3, 0x7fff9b9b5df0, 0)           = -1 EAGAIN (Resource 
> temporarily unavailable)
> select(4, [3], [], [3], {0, 0})         = 0 (Timeout)
> nanosleep({0, 0}, 0x7fff9b9b6060)       = 0
> select(4, [3], [], [3], {0, 0})         = 0 (Timeout)
> recvmsg(3, 0x7fff9b9b5df0, 0)           = -1 EAGAIN (Resource 
> temporarily unavailable)
> select(4, [3], [], [3], {0, 0})         = 0 (Timeout)
> ^Cnanosleep({0, 0}, Process 2475 detached
>  <detached ...>
>
> ... before my packages are loaded as well as after the freeze. 
> Identical AFAICT.
> alt-. is not processed after the freeze.
>
>  - Dan
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170130/7c45a405/attachment.html>


More information about the Vm-dev mailing list