[erlang-questions] How handle Error in Dialyzer
Mon Oct 9 12:16:12 CEST 2017
I meant 'large' when compared to a piece of code of maybe 1-3 modules
that would be ideal to provoke the error for further analysis.
You are right regarding the module dim_3_tree_map. I had not identified
it as the culprit, as it does not follow the naming convention of the
application and did not recognized it as one of ours.
And due to the unfamiliar form of the error messages, I did not
initially consider the code under test to be the culprit.
Am 09.10.2017 um 10:57 schrieb Kostis Sagonas:
> 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:
Hochschule für Angewandte Wissenschaften Hamburg,
Labor für Allgemeine Informatik,
phone: +49 40 42875-8156 mailto:lutz.behnke@REDACTED
fax : +49 40 2803770 http://users.informatik.haw-hamburg.de/~sage
Berliner Tor 7, 20099 Hamburg, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5006 bytes
Desc: S/MIME Cryptographic Signature
More information about the erlang-questions