[erlang-bugs] cover:analyse_to_file never returns

Peti Gömöri gomoripeti@REDACTED
Thu May 21 16:13:00 CEST 2015


Hi all,

I faced the following issue when trying to analyse a coverdata collected
earlier.
The coverdata file contained a module which was removed (so source and beam
not available any more)
Imported the coverdata file and called cover:analyze_to_file(test,
"/tmp/test.html", [html]) never returned and resulted in the following
error report

    %% =ERROR REPORT==== 20-May-2015::16:13:47 ===
    %% Error in process <0.578.0> with exit value:
{undef,[{test,module_info,[compile],[]},{cover,find_source,2,[{file,"cover.erl"},{line,1996}]},{cover,do_parallel_analysis_to_file,6,[{file,"cover.erl"},{line,2139}]}]}

I did not look at the source code of cover yet but this looks like a
spawned process crashed and the main loop waiting for it indefinitely

The issue is reproducible (with file attached) on both R16B03-1 and 18-rc1


/Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150521/0ac4ba54/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cover_issue.erl
Type: application/octet-stream
Size: 1171 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150521/0ac4ba54/attachment.obj>


More information about the erlang-bugs mailing list