[erlang-questions] inet_dns:dns_exp, crash in erlang

Raj <>
Wed Oct 10 07:09:14 CEST 2007


Hi all,

I have got crash in erlang when I continuously send dns_queries to
the dns_server. The crash I found is in inet_dns:dn_exp in
otp/lob/kernel/src/inet_dns.erl
The log is pasted below,

== 2-Mar-2007::15:55:42 == INFO REPORT - info <0.24575.0>

{dns_query,145,

false,

"Invalid query from {{10,56,210,2},53,udp} - {error,fmt}"}

== 2-Mar-2007::15:55:42 == INFO REPORT - info <0.24578.0>

{dns_query,145,

false,

"Invalid query from {{10,56,210,2},53,udp} - {error,fmt}"}

== 2-Mar-2007::15:55:43 == INFO REPORT - info <0.24580.0>

{dns_query,145,

false,

"Invalid query from {{10,56,210,2},53,udp} - {error,fmt}"}

== 2-Mar-2007::15:55:45 == ERROR - <0.24627.0>

** State machine <0.24627.0> terminating

** Last event in was timeout

** When State == decode

** Data == {state,[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},

undefined,

undefined,

undefined,

undefined,

undefined,

0,

undefined,

undefined,

{options,false,false,false,false,false},

{10,56,40,100},

<0.481.0>}

** 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:55:45 == ERROR REPORT - crash_report <0.24627.0>

[[{pid,<0.24627.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}],

[]]



Can anybody help me  in sorting out this issue.

Thanks,

Rajukrishnan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071010/7f3e0940/attachment.html>


More information about the erlang-questions mailing list