[erlang-questions] Cover crash

CGS cgsmcmlxxv@REDACTED
Tue Sep 4 10:23:39 CEST 2012


Have you compiled modules in another environment? If memory serves, I got
similar problems when I did that.

CGS




On Tue, Sep 4, 2012 at 7:20 AM, Zabrane Mickael <zabrane3@REDACTED> wrote:

> Hi guys,
>
> I want to test code coverage of my code on OSX 10.7.4.
>
> So:
> $ make    ### with "debug_info"
>
> Then:
> $ erl -pa ebin
> Eshell V5.9.1  (abort with ^G)
>
> 1> cover:compile_beam_directory("ebin/").
>
> =ERROR REPORT==== 4-Sep-2012::07:01:03 ===
> Error in process <0.35.0> with exit value:
> {{case_clause,{error,beam_lib,{missing_chunk,'/usr/lib/erlang/lib/pimco-1.0.0/ebin/pimco_rat.beam',"Abst"}}},[{cover,do_compile_beam,3,[{file,"cover.erl"},{line,1277}]},{cover,main_process_loop,1,[{file,"cover.erl"},{line,629}]}]}...
>
> ** exception exit: {{case_clause,{error,beam_lib,
>
> {missing_chunk,'/usr/lib/erlang/lib/pimco-1.0.0/ebin/pimco_rat.beam',
>                                                        "Abst"}}},
>
> [{cover,do_compile_beam,3,[{file,"cover.erl"},{line,1277}]},
>                      {cover,main_process_loop,1,
>                             [{file,"cover.erl"},{line,629}]}]}
>      in function  cover:call/1 (cover.erl, line 521)
>      in call from cover:compile_beams/2 (cover.erl, line 341)
>
> 2>  q().
>
>
> What I'm doing wrong?
>
> N.B: unfortunately, I can't share the company's code!
>
> Regards,
> Zabrane
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120904/bdd3e47b/attachment.htm>


More information about the erlang-questions mailing list