[erlang-questions] How to understand this message from erlc?

Dimitry Golubovsky <>
Sat Aug 23 05:31:50 CEST 2008


I am continuing my Haskell -> Erlang conversion experiments.

While compiling an auto-generated Core Erlang file, erlc crashed with
the following message:

./hs_test1.core:none: internal error in beam_trim;
crash reason: {{case_clause,

The core file is rather large (about 6000 lines of Core Erlang),
autogenerated from Haskell Yhc core.

Is it possible to get a line number where erlc crashed from this
message or any other information to identify the offending case

Running erlc with -d -v -Wall did not add anything to the output.

I am not attaching the core file because of its size, but may provide
it upon request.

Is there any limit on the core source size, number of nested
constructs, line length, etc? I use R12B-1.


PS I never had such messages when trying small pieces of test code.
This time I am trying "real life" Haskell libraries like TagSoup and
Parsec which compile to much larger and more complex code.

Dimitry Golubovsky

Anywhere on the Web

More information about the erlang-questions mailing list