[erlang-questions] R11B-3 shell crashes when printing float infinity

Bob Ippolito bob@REDACTED
Mon Apr 2 03:44:24 CEST 2007


I haven't installed R11B-4 on my workstation yet, so I'm not sure if
this is still applicable... but I just noticed that the R11B-3 shell
crashes if you try and get it to print out float infinity.

Erlang (BEAM) emulator version 5.5.3 [source] [async-threads:0]
[kernel-poll:false]

Eshell V5.5.3  (abort with ^G)
1> float_to_list(1.0e666666).
"inf"
2> 1.0e666666.
*** ERROR: Shell process terminated! (^G to start new job) ***

=ERROR REPORT==== 1-Apr-2007::18:41:54 ===
Error in process <0.23.0> with exit value:
{function_clause,[{io_lib_format,float_data,[[],[]]},{io_lib_format,fwrite_e,5},{shell,shell_rep,4},{shell,server_loop,7}]}

-bob



More information about the erlang-questions mailing list