[erlang-questions] Erlang app fails to start, crash dumps on an undef
Shailen, ∂∫
shailen.werk@REDACTED
Wed Sep 30 07:07:55 CEST 2015
I'm writing an erlang app (that's run well before);
I use relx/erlang.mk
When I attempt a _rel/bin/ console, I get this:
{"Kernel pid
terminated",application_controller,"{application_start_failure,lager,{bad_return,{{lager_app,start,[normal,[]]},{'EXIT',{{compile_forms,error},[{glc_code,compile_forms,2,[{file,\"src/glc_code.erl\"},{line,509}]},{glc_code,compile,2,[{file,\"src/glc_code.erl\"},{line,51}]},{glc,compile,4,[{file,\"src/glc.erl\"},{line,205}]},{lager_util,trace_filter,2,[{file,\"src/lager_util.erl\"},{line,374}]},{lager_app,start,2,[{file,\"src/lager_app.erl\"},{line,221}]},{application_master,start_it_old,4,[{file,\"application_master.erl\"},{line,272}]}]}}}}}"}
(not sure what the 'bad_return' is, as this app used to start earlier)
My lager.app.src has both syntax_tools and compiler included (alongwith
goldrush, stdlib and kernel) for applications.
However, when I start lager from a vanilla erl prompt, lager starts after
I've started all of its dependencies.
Can I get some help with this? I'm not sure what I'm not seeing/missing.
Thanks very much in anticipation!
:-), Shailen
#
# _ _/' '_/_ _/ _
# (//)//())(/(/(//)/_)
# _
# \/_)
# _
# (_ _ _ _ _ _ _/'_ _ / _
# / / (-(-/ (/(//( (/(_)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150929/daff74e4/attachment.htm>
More information about the erlang-questions
mailing list