[erlang-questions] How handle Error in Dialyzer
Mon Oct 9 10:57:27 CEST 2017
On 10/09/2017 10:24 AM, Lutz Behnke wrote:
> Hi there,
> I am experiencing a bug in Dialyzer (see log trace below), I have
> checked https://github.com/erlang/otp/wiki/Bug-reports, which tells me,
> I should prepare a minimal programm to show the error. Unfortunately I
> see the error only on a fairly large package. I have no idea how to
> start trimming my code without changing/removing the cause of the bug.
> Could anybody give me some ideas what is causing the error, so that I
> can trimm only the blubber and not the meat?
As it's pretty clear from the line below, the crash happens when
analyzing one of these 33 modules:
> ===> Analyzing 33 files with
It's not a very small number, but it's not a very big one either. I
would start with "some educated guess" on a subset of them.
Also, the lines below refer to a file "dim_3_tree_map.erl", which is
most likely involved in the problem (if not the culprit) and to a module
that is supposed to contain -- if not actually contains -- callbacks.
So, I think you have a starting point.
Hope this helps,
> =ERROR REPORT==== 9-Oct-2017::07:34:49 ===
> Error in process <0.25464.0> with exit value:
> ===> Error in dialyzing apps: Analysis failed with error:
More information about the erlang-questions