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

Anthony Molinaro <>
Fri Oct 18 21:35:24 CEST 2013


Are you running in some sort of virtualized environment.  I seem to recall noticing some oddness with timer:send_interval/2 under VMware at one point, but it's a total guess so may not be your issue at all.

-Anthony

On Oct 18, 2013, at 11:50 AM, Ferenc Holzhauser <> wrote:

> 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
> 
> 
> 
> 
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions


More information about the erlang-questions mailing list