[erlang-questions] How to interpret lambda stacktrace?

Maxim Treskin zerthurd@REDACTED
Wed Feb 17 05:33:55 CET 2010


Hello

Sometime I have writing code with nested lambda-functions and
list-comprehensions.
If this code contains, I have such stacktraces in crash report:

    exception exit: {function_clause,
                        [{asg_alt,'-amm_handle_ev/3-fun-5-',
                             [undefined,#Fun<asg_alt.15.120311847>,
                              pass]},
                         {asg_alt,'-amm_handle_ev/3-lc$^3/1-3-',2},
                         {asg_alt,'-amm_handle_ev/3-lc$^3/1-3-',2},
                         {asg_alt,amm_handle_ev,3},
                         {asg_pd,state_ready,2},
                         {gen_fsm,handle_msg,7},
                         {proc_lib,init_p_do_apply,3}]}

Is there any way to understand which of lambda crashes? So, when
function contains '-lc$' I can say that this is list-comprehension
function, '/3' -  arity of top function, but what means '^3/1-3-' and
'-fun-5-' ? Is this values has some relation with order of its
definition or not?

Thank you

-- 
Maxim Treskin


More information about the erlang-questions mailing list