Skip to content

Instantly share code, notes, and snippets.

@auser
Created February 5, 2009 21:28
Show Gist options
  • Save auser/59022 to your computer and use it in GitHub Desktop.
Save auser/59022 to your computer and use it in GitHub Desktop.
Reason: {{badmatch,
{error,
{'EXIT',
{undef,
[{tcp_app_fsm,start_link,
[[test_app,receive_function],
[test_app,receive_function]]},
{supervisor,do_start_child_i,3},
{supervisor,handle_call,3},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}}}},
[{tcp_listener,handle_info,2},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}
** Reason for termination ==
** {{badmatch,[#Fun<test_app.0.43442708>]},
[{converse_app,start_client,1},
{tcp_listener,handle_info,2},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}
## in converse_app
start_client(RecFun) ->
[M,F] = RecFun,
io:format("in start_client for converse_app [~p, ~p]~n", [M,F]),
supervisor:start_child(tcp_client_sup, RecFun).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment