[erlang-questions] Missing SASL Crash Report
Wed Jun 20 21:27:11 CEST 2012
Either simply that the timing is different (when you run all of it from
the command line, your code may begin to execute before sasl is fully
operational), or possibly because things executed with -s on the command
line are running before the system boot sequence is completed, and it
could be that sasl is not operational until booting is finished.
On 06/19/2012 10:05 PM, H. Diedrich wrote:
> why would I NOT get a CRASH REPORT listed out (although there is a
> crash) in cases where I start a program directly, like
> $ erl -boot start_sasl -pa ./ebin ./lib/Emysql/ebin -s run run -s init
> stop -noshell
> run() ->
> pong = mysrv:ping(),
> pong = mysrv:ping(gen_server),
> io:format("start up and pings complete.~n"),
> But if I do that in the shell, I get a CRASH REPORT (which is what I
> want to find a bug)?
> $ erl -boot start_sasl -pa ./ebin ./lib/Emysql/ebin
> > crypto:start(), emysql:start(), nbtsrv:start().
> erlang-questions mailing list
More information about the erlang-questions