CRASH REPORT的含义

时间:2012-01-10 04:46:45

标签: erlang

我正在编写一个代理,我为一个套接字创建一个gen_server,我也尝试实现Proxy-Connection = Keep-Alive机制。

当我测试我的软件时,一些请求工作正常,但有时我得到以下崩溃报告:

05:39:33.481 [error] CRASH REPORT Process <0.110.0> with 0 neighbours crashed with reason: {timeout_value,[{gen_server,loop,6},{proc_lib,init_p_do_apply,3}]}
05:39:33.483 [error] Supervisor lh_server_sup had child lh_server started with lh_server:start_link(#Port<0.6247>) at <0.110.0> exit with reason timeout_value in context child_terminated

我不知道如何解释此错误以及搜索位置。有人可以帮我找到这个bug吗?

谢谢, ULF

1 个答案:

答案 0 :(得分:2)

timeout_value通常在您使用构造时发生

receive
... 
after something -> ..
end  

什么东西不是整数而不是原子'休眠'