[erlang-questions] Help with Dialyzer

Guy Wiener <>
Tue Mar 23 17:59:23 CET 2010


I tried to build R13B04 from source on my Ubuntu, but I repeatedly
encountered error such as:

erlc -W  +debug_info
-I/home/gwiener/Download/Erlang/otp_src_R13B04/lib/stdlib +warn_unused_vars
-o../ebin asn1rt_ber_bin.erl
./asn1rt_ber_bin.erl:none: internal error in core_module;
crash reason:
{{case_clause,{{op,293,'bsr',{var,293,'Class'},{integer,293,6}},
                             []}},
               [{v3_core,'-constant_bin_1/1-anonymous-0-',2},
                {eval_bits,eval_field,3},
                {eval_bits,expr_grp,4},
                {v3_core,constant_bin_1,1},
                {v3_core,constant_bin,1},
                {v3_core,expr_bin,3},
                {v3_core,expr,2},
                {v3_core,exprs,2}]}
make[2]: *** [../ebin/asn1rt_ber_bin.beam] Error 1

Any ideas? The full spec is Ubuntu 9.10 64 bit. The configuration script
showed no errors.

Thanks,
  Guy

On Tue, Mar 23, 2010 at 5:40 PM, Brendan Doyle <
> wrote:

> This is a known issue, last time I checked erlang bundled with Ubuntu was
> built without debug.
>
> The standard distro from erlang.org gets built with debug, I suggest
> installing from source.
>
> You will have to build the whole plt though which takes a while
>
> On 2010-03-23, at 11:28 AM, Guy Wiener wrote:
>
> > Hello everyone,
> > Following my last question, I tried to run dialyzer, but
> > got immediately into problems.
> > To run, dialyzer is looking for a PLT that includes, preferably, the
> entire
> > standard Erlang library. However, the stdlib does not come with debug
> > information, so the dialyzer cannot proceed.
> > I looked in all the dialyzers manuals that I could find. They all suggest
> > how to build the PLT for the stdlib, but do not mention how to get the
> debug
> > info for it.
> > Do I have to re-build the entire Erlang library with debug info in order
> to
> > run the dialyzer? What is the simplest way to do so? It there a simpler
> way?
> > I am using Erlang R13B01 taken from the Ubuntu repository.
> >
> > Thanks in advance,
> >  Guy Wiener.
>
> Brendan Doyle
> Manager, Application Development
> Epic Advertising - New York, Toronto, San Francisco, London
> www.EpicAdvertising.com
> 60 Columbia Way, Suite 310
> Markham, ON L3R 0C9
> (905) 946-0300 x.2358 work
> (647) 885-7159 mobile
> (888) 666-3120 fax
> 
>
>


More information about the erlang-questions mailing list