Edoc crashes when called from command line

Gleb Peregud gleber.p@REDACTED
Thu Jul 29 12:30:03 CEST 2010


Hello

Edoc crashes when called from command line, though it works well when
called from shell, as shown below:

~/test$ cat a.erl
-module(a).

-compile(export_all).

a() ->
        ok.

~/test$ erlc a.erl

~/test$ erl
Erlang R14A (erts-5.8) [source] [smp:2:2] [rq:2] [async-threads:0]
[kernel-poll:false]

Eshell V5.8  (abort with ^G)
1> edoc:file("a.erl").
ok
2> q().
ok
3>

~/test$ erl -noinput -run edoc file a.erl
{"init terminating in do_boot",error}

Crash dump was written to: erl_crash.dump
init terminating in do_boot (error)

~/test$ erl -noinput -s edoc file a.erl
{"init terminating in do_boot",error}

Crash dump was written to: erl_crash.dump
init terminating in do_boot (error)


It happens on Ubuntu Lucid 10.4 with Erlang packages (v 1:14.a-dfsg-1)
from Debian repositories.

Have anyone encountered this issue before? How can I debug this? Any
ideas on a reason?

Best regards,
Gleb Peregud


More information about the erlang-questions mailing list