[erlang-questions] A simple multiply in the shell will kill the shell and its supervisor
Mon Apr 20 17:51:54 CEST 2009
sure, it works with "fewer" C's in the computation. I already knew that.
What do you meean a problem with io speed?
I'm not trying to make this computation, I was only doing it for fun and
was amazed I could crash the shell and its supervisor and nobody
restarted anything doing something as simple as a multiply.
Why does this happen and why does it happen only with erl and not werl
on the same windows machine?
From: Hynek Vychodil [mailto:]
Sent: Monday, April 20, 2009 6:15 AM
To: Steve Kirsch
Subject: Re: [erlang-questions] A simple multiply in the shell will kill
the shell and its supervisor
Try do this:
There can be problem is with io speed.
On Mon, Apr 20, 2009 at 9:32 AM, Steve Kirsch <>
This only seems to kill erlang's shell permanently using erl on
werl on the same machine works fine.
Startup erl on windows.
type in one line:
852984. B=A*A*A*A*A. C=B*B*B*B*B*B*B*B*B*B*B.
then your erl will stop responding. It isn't in a loop and it
using up cpu or crash dumping.
It is just completely dead.
I've tried this on two completely different PC's running windows
with the same result. You do it on werl on the same machine,
is fine. Do it from erl, and it hangs.
i am using R12B.
inspection via a remote shell reveals that these processes have
disappeared from i() listing:
<0.26.0> supervisor_bridge:user_sup/1 233
<0.28.0> user:server/2 377
user user:get_chars/7 21
<0.29.0> erlang:apply/2 4181
<0.35.0> erlang:apply/2 1597
why is this happening?
erlang-questions mailing list
--Hynek (Pichi) Vychodil
Analyze your data in minutes. Share your insights instantly. Thrill your
boss. Be a data hero!
Try Good Data now for free: www.gooddata.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions