internal compiler faults

Simon Cornish zl9d97p02@REDACTED
Thu Dec 10 13:12:00 CET 2009


Hi,
I was trying to refine some code (that I can't publish) that threw
this error on compilation:

xxx: function make_content_list/6+108:
  Internal consistency check failed - please report this bug.
  Instruction: {move,{y,0},{x,0}}
  Error:       {unassigned,{y,0}}:

And instead I get something different with the attached module using
two variants of more or less the same code from the first error:

d124:test_server simon$ erlc -W ~/tmp/a1.erl
Function: bad/3
/Users/simon/tmp/a1.erl:none: internal error in beam_bool;
crash reason: {{case_clause,
                   {'EXIT',
                       {function_clause,
                           [{gb_trees,get_1,[{tmp,0},nil]},
                            {beam_bool,bopt_good_arg,2},
                            {beam_bool,bopt_good_args,2},
                            {beam_bool,bopt_tree,3},
                            {beam_bool,bopt_tree,3},
                            {beam_bool,bopt_tree_cg,3},
                            {beam_bool,bopt_block,5},
                            {beam_bool,bopt,3}]}}},
               [{compile,'-select_passes/2-anonymous-2-',2},
                {compile,'-internal_comp/4-anonymous-1-',2},
                {compile,fold_comp,3},
                {compile,internal_comp,4},
                {compile,internal,3}]}

Build is http://github.com/erlang/otp/tree/ee51ffa886cdbc7a577d6e068236c107f0137696
(a few behind on ccase/r13b04_dev), host is OSX 10.6 (32-bit kernel)
built with --enable-darwin-64bit

Any hints on debugging/fixing the first error will also be appreciated.

/Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a1.erl
Type: application/octet-stream
Size: 520 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20091210/761cf2a9/attachment.obj>


More information about the erlang-bugs mailing list