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

Rene Kijewski <>
Fri Dec 2 17:13:32 CET 2011


Am Fri, 2 Dec 2011 15:22:05 +0100
schrieb Björn Gustavsson <>:

> I can't reproduce the problem. I have tried R14B03,
> R14B04, and 'master' from the git repository.
> 
> You are sure this is the right file? Any specific
> compilation options needed?

Hello Björn,

I can reproduce the problem at home (64bit, R14B03), too, so I can rule out that it is a word size problem.
I re-attached the file so we can be sure we are talking about the same file(, after my messing up with the first mail).

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.)

After updating to master (6971b9618b629014127c1e6d0a12343dbe864f58), the problem is still present (seemingly one bit later, though :-) ):
> one_meh.http_utils: function split_at_comma/2+51:
>   Internal consistency check failed - please report this bug.
>   Instruction: {put,{x,0}}
>   Error:       {match_context,{x,0}}:

I built Erlang using:
> git clean -xfd
> ./otp_build setup --enable-m64-build --enable-hipe --disable-sctp --enable-kernel-poll --enable-smp-support --enable-threads

Some version information:
* Erlang R15B (erts-5.9) [source] [64-bit] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:false]
* Ubuntu 11.10
* Linux _ 3.2.0-2-generic #4-Ubuntu SMP Sun Nov 27 15:32:08 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
* gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
* GNU ld (GNU Binutils for Ubuntu) 2.21.53.20110810
* GNU Make 3.81
* autoconf (GNU Autoconf) 2.68
* install (GNU coreutils) 8.5

Regards,
René

-- 
()  ascii ribbon campaign - against HTML e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: http_utils.erl
Type: text/x-erlang
Size: 1324 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20111202/fed38073/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20111202/fed38073/attachment-0001.bin>


More information about the erlang-bugs mailing list