cover:analyse_to_file never returns
Peti Gömöri <[email protected]> Thu, 21 May 2015 16:13:00 +0200
| Newsgroups | gmane.comp.lang.erlang.bugs |
|---|---|
| Message-ID | <CAEhaAyFRiszKptBtg7VX=g=XhYEiFn67VsJh9JVDP4rhx1oJ9Q@mail.gmail.com> |
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
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
cover_issue.erl
(application/octet-stream, 1.1 KB) - not displayed