[erlang-bugs] typer crash for <<_:32, _:_*8>>

Kostis Sagonas <>
Fri May 20 15:07:21 CEST 2011


Radosław Bułat wrote:
> 2011/5/20 Kostis Sagonas <>:
>> Can you please try OTP's 'dev' version and tell me what's happening?
>> I think this problem has been fixed since about a month ago.
>>
>> Kostis
>>
> 
> I've downloaded otp from http://github.com/erlang/otp/ build it with
> "./otp_build setup" and run:
> 
> $ ~/opt/src/otp/bin/i386-apple-darwin10.7.0/typer --show erlangbug.erl
> # without "/i386-apple-darwin10.7.0/" part it give me "{"init
> terminating in do_boot",{undef,[{typer,start,[]},{init,start_it,1},{init,start_em,1}]}}"
> error
> 
> %% File: "erlangbug.erl"
> %% ---------------------
> {"init terminating in
> do_boot",{{case_clause,8},[{erl_types,t_form_to_string,1},{erl_types,t_form_to_string,1},{dialyzer_contracts,contract_to_string_1,1},{typer,get_type_string,4},{typer,'-show_type_info/2-fun-0-',2},{lists,foreach,2},{typer,start,0},{init,start_it,1}]}}
> 
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot ()
> 
> It look like this problem still exists.

Neither I nor any other person I know of and have asked to check this 
was able to reproduce the problem. Looks like you have some left over 
typer from a previous build.

Do:

	make clean
	./otp_build autoconf
	./configure
	make

and then run the typer which is in otp/bin/typer

Kostis


More information about the erlang-bugs mailing list