[erlang-questions] Cover crash

Zabrane Mickael <>
Tue Sep 4 07:20:34 CEST 2012


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




More information about the erlang-questions mailing list