[erlang-bugs] erlc +S crashes

Kostis Sagonas <>
Wed Apr 25 23:33:57 CEST 2012


erlc does not recognize the option that sets the number of schedulers 
(+S N or +S N:M or +SN).  Actually, it crashes badly in this case.

.../SomePath/R15B01/bin/erlc +S1 foo.erl
bad term: S1
Runtime error: {{nocatch,error},
                 [{erl_compile,make_term,1,
                               [{file,"erl_compile.erl"},{line,219}]},
                  {erl_compile,compile1,3,
                               [{file,"erl_compile.erl"},{line,129}]},
                  {erl_compile,compiler_runner,1,
                               [{file,"erl_compile.erl"},{line,82}]}]}

It would be nice to fix this.

Kostis


More information about the erlang-bugs mailing list