[erlang-questions] dialyzer fails when using packages and -r

David Sveningsson <>
Wed Jan 7 15:01:59 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, I ran into some issues when trying to run dialyzer on some source
code I wrote. I rewrote a module called discovery into a package in the
src/discovery directory. I want to run dialyzer to analyze the code and
the package. Dialyzer worked fine before the splitting to a package. Any
ideas what might be wrong?

% dialyzer -r src -I include --src -DSVN_REVISION=\"1020M\" -Werror_handling

  Checking whether the PLT /Users/ext/.dialyzer_plt is up-to-date... yes
  Proceeding with analysis...
=ERROR REPORT==== 7-Jan-2009::14:50:45 ===
Error in process <0.30.0> with exit value:
{function_clause,[{dict,fetch_val,['discovery.com',[]]},{dialyzer_codeserver,fetch_and_expand,2},{dialyzer_codeserver,table__loop,2}]}


Analysis failed with error:
{function_clause,[{dict,fetch_val,['discovery.com',[]]},
                  {dialyzer_codeserver,fetch_and_expand,2},
                  {dialyzer_codeserver,table__loop,2}]}
Last messages in log cache: ["Typesig analysis for scc:
[{network,get_ip,1}]\n",
                             "Typesig analysis for scc:
[{network,match_ip,2}]\n",
                             "Typesig analysis for scc:
[{network,validate_local_ip,1}]\n",
                             "Typesig analysis for scc:
[{discovery,module_info,1}]\n",
                             "Typesig analysis for scc:
[{discovery,flush,0}]\n",
                             "Typesig analysis for scc:
[{discovery,match_field,2}]\n",
                             "Typesig analysis for scc:
[{discovery,module_info,0}]\n",
                             "Typesig analysis for scc:
[{discovery,match_entry,2}]\n",
                             "Typesig analysis for scc:
[{discovery,match,2}]\n",
                             "Typesig analysis for scc:
[{'discovery.com',module_info,0}]\n"]

dialyzer: Internal problems were encountered in the analysis.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklktdcACgkQ6pa1H/H5pqUzFwCglX/4MGyutsaDUTntdNRf4JRY
LuoAn2Cb97h7f1RLe7UydQmwQPNyVXkh
=+liL
-----END PGP SIGNATURE-----



More information about the erlang-questions mailing list