[erlang-questions] What is this trace telling me?

Lennart Ohman <>
Sun Jun 10 23:46:17 CEST 2007


Hmm, don’t know if it is my mailreader which ill-formats your
attachment. But without reformatting it to read it properly:

You call a fun having its definition in mnesia_sup and it "returns"
a failure which occurs in the BIF (module=erlang) exit.
The reason for the failure
is 'badarg'. Looking at the actual arguments [undefined,kill] tells
us that the immediate cause (probably another root cause) is that
you try to do "kill" on the process 'undefined'. But exit/2 takes
a pid as first argument - hence badarg.

/L

-------------------------------------------------------------
Lennart Ohman                   office  : +46-8-587 623 27
Sjoland & Thyselius Telecom AB  cellular: +46-70-552 67 35
Hälsingegatan 43, 10tr          fax     : +46-8-667 82 30
SE-113 31, STOCKHOLM, SWEDEN    email   : 

> -----Original Message-----
> From:  [mailto:erlang-questions-
> ] On Behalf Of Joel Reymont
> Sent: Sunday, June 10, 2007 11:23 PM
> To: Erlang Questions
> Subject: [erlang-questions] What is this trace telling me?
> 
> Folks,
> 
> I can't quite figure this out. The error is saying that kill does not
> exist, right?
> 
> In what module, though?
> 
> 	Thanks, Joel
> 
> ---
> 
> 1> (<0.34.0>) call mnesia_sup:'-kill/0-fun-0-'(mnesia_index)
> 1> (<0.34.0>) returned from mnesia_sup:'-kill/0-fun-0-'/1 -> {'EXIT',
>                                                             {badarg,
>                                                              [{erlang,
>                                                                exit,
> 
> [undefined,
>                                                                 kill]},
> 
> {mnesia_sup,
>                                                                '-kill/
> 0-fun-0-',
>                                                                1},
> 
> {lists,foreach,2},
> 
> {mnesia_sup,
>                                                                kill,
>                                                                0},
>                                                               {rpc,
>                                                                '-
> handle_call/3-fun-0-',
>                                                                5}]}}
> 
> --
> http://topdog.cc      - EasyLanguage to C# translator
> http://wagerlabs.com  - Blog
> 
> 
> 
> 
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions





More information about the erlang-questions mailing list