[erlang-questions] Weird problem with "receive after ..."

Ferenc Holzhauser ferenc.holzhauser@REDACTED
Fri Oct 18 20:50:09 CEST 2013


Hi,

On my development system sometimes "receive after..." starts hanging after
a while.
I know "sometimes" is not very helpful but I couldn't find any obviously
related event yet that might trigger it.

>From that point it stops working in the whole VM e.g. I can type "receive
after 10 -> ok end." in the shell and watch it never returning. Of course
it also breaks most of the things that need timer.
Normal receive keeps working fine, the issue is related to timeout only.

It is R16B01 and I'm not using any self made NIFs, drivers or other funny
things that could break the VM.

Thank you for any hints or suggestions about the possible reason/fix in
advance.

Regards,
Ferenc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131018/07b4a9e5/attachment.htm>


More information about the erlang-questions mailing list