Skip to content

Instantly share code, notes, and snippets.

@shionryuu
Created March 5, 2022 03:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shionryuu/edcf09cf94d528cdc128aef27102cf16 to your computer and use it in GitHub Desktop.
Save shionryuu/edcf09cf94d528cdc128aef27102cf16 to your computer and use it in GitHub Desktop.
OTP 25.0-rc1 Internal consistency check failed

compile mysql-otp failed, relate to issue

$ erl +Version
Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 13.0
$ rebar3 version
rebar 3.18.0 on Erlang/OTP 25 Erts 13.0
$ rebar3 compile
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling poolboy
===> Compiling mysql
===> Compiling _build/default/lib/mysql/src/mysql.erl failed
mysql:1: function transaction/4+22:
  Internal consistency check failed - please report this bug.
  Instruction: {call_last,4,{f,162},4}
  Error:       {bad_arg_type,{x,1},any,{t_fun,any,any,any}}:
$ cd _build/default/lib/mysql
$ git log --pretty="%H - %cd" -n 1
6b089f9c273771310d3a491fa33de0c0eddf0a33 - Mon Oct 12 10:39:45 2020 +0200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment