[Vm-dev] Freeze after Morph Activity

Bert Freudenberg bert at freudenbergs.de
Mon Jan 30 21:20:49 UTC 2017


On Mon, Jan 30, 2017 at 8:58 PM, Dan Norton <dnorton at mindspring.com> wrote:

> # 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.
>


Normally I'd expect the VM to do a read() call after pressing a key. The
select() call is to see if something is available, and if so, it should be
received. Not sure why it's calling recvmsg() even though select() timed
out ... Is this the normal behavior? I don't have Linux running to check.

When not frozen, pressing a key should result in recvmsg() retrieving that
key event.

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


More information about the Vm-dev mailing list