erlc crashes

Kristoffer Ellersgaard Koch kristoffer.koch@REDACTED
Fri Aug 28 09:53:01 CEST 2009


Hi.

I'm stuck with the following error when I'm compiling:

me@REDACTED:~/src$ erlc -I ../include/ hashtree.erl
hashtree: function write_child/7+159:
  Internal consistency check failed - please report this bug.
  Instruction: {bs_context_to_binary,{y,6}}
  Error:       {match_context,{y,6}}:

I'm running ubuntu:
me@REDACTED:~/src$ dpkg -l |grep erlang
ii  erlang                                     1:12.b.5-dfsg-2
             Concurrent, real-time, distributed functiona
ii  erlang-base                                1:12.b.5-dfsg-2
             Concurrent, real-time, distributed functiona
ii  erlang-dev                                 1:12.b.5-dfsg-2
             Concurrent, real-time, distributed functiona
ii  erlang-examples                            1:12.b.5-dfsg-2
             Concurrent, real-time, distributed functiona
ii  erlang-manpages                            1:12.b.3-1
             Erlang man pages
ii  erlang-mode                                1:12.b.5-dfsg-2
             Concurrent, real-time, distributed functiona
ii  erlang-nox                                 1:12.b.5-dfsg-2
             Concurrent, real-time, distributed functiona
ii  erlang-src                                 1:12.b.5-dfsg-2
             Concurrent, real-time, distributed functiona
ii  erlang-x11                                 1:12.b.5-dfsg-2
             Concurrent, real-time, distributed functiona
ii  libsdl-erlang                              0.96.0626-11
             Erlang bindings to the Simple Direct Media L

I have a working source tree, and the patch that just makes erlc crash:
http://folk.ntnu.no/koch/erl-bug/

I'm sorry if this is an already fixed bug, and I'll try the latest
release and/or dev branch.

Please don't be too hard on my code; it's just some tinkering.
--
Kristoffer E. Koch
+47 990 26 250


More information about the erlang-bugs mailing list