[erlang-bugs] Compiler internal consistency check failed

Bjorn Gustavsson <>
Wed Nov 22 14:35:41 CET 2006


The pattern matching is too complex. R11B-2 gives the following,
clearer error message:

bug: function run/0+1619:
  An implementation limit was reached.
  Try reducing the complexity of this function.

  Instruction: {get_list,{x,1018},{x,1023},{x,1024}}

To reduce the complexity, you could first divide the list into
two or more parts, and then match the parts separately.

/Bjorn

Dominic Williams <> writes:

> :~/tmp 123% uname -a
> Linux oulala 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686
> i386 GNU/Linux
> :~/tmp 124% erl +V
> Erlang (HIPE) (BEAM) emulator version 5.4.13
> :~/tmp 125% erlc bug.erl
> bug: function run/0+1619:
>   Internal consistency check failed - please report this bug.
>   Instruction: {get_list,{x,1018},{x,1023},{x,1024}}
>   Error:       {invalid_store,{x,1024},term}:
> 
> 
> _______________________________________________
> erlang-bugs mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-bugs

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB




More information about the erlang-bugs mailing list