[erlang-questions] Re: Shell is terminated (and then restarts) mysteriously

Dan Gudmundsson <>
Fri Jan 21 18:52:56 CET 2011


erlang can hold 2 copies of a module, when you can compile (and load) a module
the oldest version will be deleted, processes having references to
that module will be killed.

So what probably happens is that the shell process have a reference to
the code, it will be killed
when the module unloads.

/Dan

On Fri, Jan 21, 2011 at 5:06 PM, Chris Hicks
<> wrote:
>
> I've noticed this happening on Windows 7 as well, and always when I've compiled a module multiple times within a relatively short span of time.
>
>> Date: Fri, 21 Jan 2011 08:09:32 +0000
>> From: 
>> To: 
>> Subject: Re: [erlang-questions] Re: Shell is terminated (and then restarts) mysteriously
>>
>> My erlang shell has started doing this (very) recently (R14B01 and Ubunutu
>> 10.10) and I found it a bit odd too...
>>
>> On 21 January 2011 04:30, Taylor Venable <> wrote:
>>
>> > Sorry, I forgot to say that this is on Linux, specifically Ubuntu
>> > 10.04; here's my `uname -a`: Linux zareason 2.6.32-27-generic
>> > #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010 x86_64 GNU/Linux
>> >
>> > --
>> > Taylor C. Venable
>> > http://metasyntax.net/
>> >
>> > ________________________________________________________________
>> > erlang-questions (at) erlang.org mailing list.
>> > See http://www.erlang.org/faq.html
>> > To unsubscribe; mailto:
>> >
>> >
>>
>>
>> --
>> Gordon Guthrie
>> CEO hypernumbers
>>
>> http://hypernumbers.com
>> t: hypernumbers
>> +44 7776 251669
>


More information about the erlang-questions mailing list