[erlang-questions] decode the pman messages

Robert Raschke rtrlists@REDACTED
Fri Jun 5 23:51:35 CEST 2009


On Fri, Jun 5, 2009 at 3:05 PM, Gamoto <gamoto@REDACTED> wrote:

> Hi,
> I am testing a generic tcp server inspired by the mochiweb_socket_server
> code.
> The problem is around this code:
>
> call_loop(F,S)->
>        F(S).
>
> F is never executed (I put an io:format ...).
> F is defined in an other module (inspired by the mochiweb_echo code).
> Could you help me to understand these messages generated by pman tool:
>
> <0.90.0>: call  proc_lib:exit_p(error, {badfun, echo1})
> <0.90.0>: call  proc_lib:make_dummy_args(1, [])
> <0.90.0>: call  erlang:integer_to_list(1)
> <0.90.0>: call  erlang:'++'("Argument__", "1")
> <0.90.0>: call  erlang:list_to_atom("Argument__1")
> <0.90.0>: call  proc_lib:make_dummy_args(0, ['Argument__1'])
> <0.90.0>: call  proc_lib:crash_report(error, {badfun, echo1}, {generic,
> process_accept, ['Argument__1']})
> <0.90.0>: call  proc_lib:my_info(error, {badfun, echo1}, {generic,
> process_accept, ['Argument__1']})
> <0.90.0>: call  proc_lib:my_info_1(error, {badfun, echo1})
>
> Do you see an explanation of my problem or could you suggest me where I
> must concentrate my efforts.
> Thank you,
> John
>

You probably need to give a bit more context. But anyway, my guess is that
your code is trying to call the function 'echo1' and there is no such
function available.

Robby


More information about the erlang-questions mailing list