[erlang-questions] Crash in erlang , inet_dns:dns_exp
Raj
findraju@REDACTED
Thu Oct 11 11:04:35 CEST 2007
Hi all,
I got a crash in erlang when I tried to send DNS queries continuously.
What I could understand is that, inet_dns:dns_exp is not handling the
message properly. I am pasting the log below.
Please comment on this.
** Reason for termination =
** {function_clause,[{inet_dns,dn_exp,
[[100,
110,
115,
116,
111,
111,
108,
11,
99,
111,
100,
101,
110,
111,
109,
105,
99,
111,
110,
5,
108,
111,
99,
97,
108,
0,
0,
1,
0,
1],
[254,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
7,
100,
110,
115,
116,
111,
111,
108,
11,
99,
111,
100,
101,
110,
111,
109,
105,
99,
111,
110,
5,
108,
111,
99,
97,
108,
0,
0,
1,
0,
1],
[]]},
{inet_dns,decode_query_section,4},
{inet_dns,decode_sections,6},
{inet_dns,decode,1},
{dns_query,decode,2},
{gen_fsm,handle_msg,7},
{proc_lib,init_p,5}]}
== 2-Mar-2007::15:58:09 == ERROR REPORT - crash_report <0.25103.0>
[[{pid,<0.25103.0>},
{registered_name,[]},
{error_info,{function_clause,[{inet_dns,
dn_exp,
[[100,
110,
115,
116,
111,
111,
108,
11,
99,
111,
100,
101,
110,
111,
109,
105,
99,
111,
110,
5,
108,
111,
99,
97,
108,
0,
0,
1,
0,
1],
[254,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
7,
100,
110,
115,
116,
111,
111,
108,
11,
99,
111,
100,
101,
110,
111,
109,
105,
99,
111,
110,
5,
108,
111,
99,
97,
108,
0,
0,
1,
0,
1],
[]]},
{inet_dns,decode_query_section,4},
{inet_dns,decode_sections,6},
{inet_dns,decode,1},
{dns_query,decode,2},
{gen_fsm,handle_msg,7},
{proc_lib,init_p,5}]}},
{initial_call,{gen,init_it,
[gen_fsm,
<0.481.0>,
<0.481.0>,
dns_query,
[[254,
0,
0,
0|
<<1,0,0,0,0,0,0,7,100,110,115,116,111,111,108,11,99,111,100,101,110,111,109,105,99,111,110,5,108,111,99,97,108,0,0,1,0,1>>],
{10,56,210,2},
53,
udp,
{options,false,false,false,false,false},
{10,56,40,100},
<0.481.0>],
[]]}},
{ancestors,[<0.481.0>,dns_server,dns_sup,<0.469.0>]},
{messages,[]},
{links,[<0.481.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,987},
{stack_size,21},
{reductions,214}],
[]]
== 2-Mar-2007::15:58:10 == ERROR - <0.25105.0>
** State machine <0.25105.0> terminating
** Last event in was timeout
** When State == decode
** Data == {state,[0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
7,
100,
110,
115,
116,
111,
111,
108,
11,
99,
111,
100,
101,
110,
111,
109,
105,
99,
111,
110,
5,
108,
111,
99,
97,
108,
0,
0,
1,
0,
1],
{{10,56,210,2},53,udp},
undefined,
undefined,
undefined,
undefined,
undefined,
0,
undefined,
undefined,
{options,false,false,false,false,false},
{10,56,40,100},
<0.481.0>}
Any help would be appreciated
Thanks,
Raju
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071011/06c39ae8/attachment.htm>
More information about the erlang-questions
mailing list