[erlang-bugs] Erlang shell hangs

John Hughes john.hughes@REDACTED
Sat Feb 10 14:45:02 CET 2007


Start the Erlang shell from the command line. Type

 

Io:format("~p~n",[lists:seq(1,8000)]).

 

The shell hangs. It's not consuming CPU, just hanging.

 

This behaviour depends on the shell state. Start the shell and type the TWO
commands

 

Io:format("~p~n",[lists:seq(1,7000)]).

Io:format("~p~n",[lists:seq(1,8000)]).

 

and BOTH commands work. That's why it's important to run the first command
in a freshly started shell, to reproduce the bug.

 

Perhaps something to do with dynamically expanding the process heap?

 

I'm using a fresh download of R11B-3 under Windows XP, but the bug has been
there at least since version 5.4.12 of the shell.

 

John

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20070210/335916c7/attachment.htm>


More information about the erlang-bugs mailing list