Last active
August 29, 2015 14:11
-
-
Save emauton/bb679e3c98d7169d19a6 to your computer and use it in GitHub Desktop.
Reproduction of jlouis's Dialyzer crash from erlang-bugs 2014-12-16.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Per http://erlang.org/pipermail/erlang-bugs/2014-December/004714.html | |
$ uname -a && cat /etc/lsb-release | |
Linux chez-moi 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | |
DISTRIB_ID=Ubuntu | |
DISTRIB_RELEASE=14.04 | |
DISTRIB_CODENAME=trusty | |
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS" | |
$ KERL_CONFIGURE_OPTIONS="--enable-dirty-schedulers --disable-hipe" ./kerl build 17.4 erlang.17.4 | |
... | |
$ ./kerl install erlang.17.4 ~/erlang.17.4 | |
... | |
$ . ~/erlang.17.4/activate && which dialyzer | |
/home/cian/erlang.17.4/bin/dialyzer | |
$ erlc +debug_info *.erl | |
$ dialyzer --build_plt --apps kernel stdlib | |
... | |
$ dialyzer *.beam | |
Checking whether the PLT /home/cian/.dialyzer_plt is up-to-date... yes | |
Proceeding with analysis... | |
=ERROR REPORT==== 16-Dec-2014::10:33:20 === | |
Error in process <0.48.0> with exit value: {{case_clause,map},[{dialyzer_dataflow,find_terminals,1,[{file,"dialyzer_dataflow.erl"},{line,3451}]},{dialyzer_dataflow,find_terminals_list,3,[{file,"dialyzer_dataflow.erl"},{line,3504}]},{dialyzer_dataflow,classify_returns... | |
dialyzer: Analysis failed with error: | |
{{case_clause,map}, | |
[{dialyzer_dataflow,find_terminals,1, | |
[{file,"dialyzer_dataflow.erl"},{line,3451}]}, | |
{dialyzer_dataflow,find_terminals_list,3, | |
[{file,"dialyzer_dataflow.erl"},{line,3504}]}, | |
{dialyzer_dataflow,classify_returns,1, | |
[{file,"dialyzer_dataflow.erl"},{line,3443}]}, | |
{dialyzer_dataflow,'-state__get_warnings/2-fun-0-',7, | |
[{file,"dialyzer_dataflow.erl"},{line,2908}]}, | |
{lists,foldl,3,[{file,"lists.erl"},{line,1261}]}, | |
{dialyzer_dataflow,state__get_warnings,2, | |
[{file,"dialyzer_dataflow.erl"},{line,2934}]}, | |
{dialyzer_dataflow,get_warnings,5, | |
[{file,"dialyzer_dataflow.erl"},{line,142}]}, | |
{dialyzer_succ_typings,collect_warnings,2, | |
[{file,"dialyzer_succ_typings.erl"},{line,182}]}]} | |
Last messages in the log cache: | |
Reading files and computing callgraph... done in 0.23 secs | |
Removing edges... done in 0.06 secs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment