[erlang-bugs] "Internal consistency check failed - please report this bug."

Björn Gustavsson <>
Sat Dec 3 11:09:02 CET 2011

2011/12/2 Rene Kijewski <>:

> The exact line I use to compile the file (while being in $ROOT, and the file residing in $ROOT/src/one_meh/http_utils.erl):
>> $ erlc +debug_info +inline +'{inline_effort,1000}' +'{inline_size,100}' +'{inline_unroll,2}' -I deps -I include -o ebin/one_meh src/one_meh/http_utils.erl
>> one_meh.http_utils: function split_at_comma/2+50:
>>   Internal consistency check failed - please report this bug.
>>   Instruction: {put,{x,0}}
>>   Error:       {match_context,{x,0}}:
> (No further text after the colon.)

Thanks! Now I can reproduce the problem.

Since we are already late in the development cycle for R15B,
I can't promise that we can fix the problem in R15B.

By the way, have you done any measurements to find out
whether you gain anything by doing such aggressive inlining?

Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-bugs mailing list