BUG: OTP 23.0 internal consistency check failed
Sun Aug 16 10:35:50 CEST 2020
Trying to build the aeternity source code on OTP 23.0 (and 23.0.2),
the following error message appeared (after fixing some deps):
===> Compiling apps/aechannel/src/aesc_fsm.erl failed
aesc_fsm: function prepare_initial_state/4+125:
Internal consistency check failed - please report this bug.
The problem can be reproduced by extracting the following source files
and calling `erlc -W aesc_fsm.erl`
(The -include_lib() instructions need to be changed to -include())
I tried reducing the aesc_fsm.erl module to just the affected function
+ some helper functions and data declarations, but once the code
compiled, the consistency check problem was gone.
The error did not occur using OTP 22.3.
More information about the erlang-questions