Crash, boom, bang (R8B)

Bjorn Gustavsson bjorn@REDACTED
Wed Sep 5 11:56:56 CEST 2001


Unloading native (hipe) code will not be supported in R8.

However, we might fix the purge function so that the
emulator doesn't crasch when you try...

/Bjorn

Per Bergqvist <per@REDACTED> writes:

> Try this,
> 
> [perber@REDACTED]:test> cat > bummer.erl
> -module(bummer).
> 
> -compile(export_all).
> 
> hi() -> "Hello".
> 
> ^D
> [perber@REDACTED]:test> ../bin/erl
> Erlang (BEAM) emulator version 2001.09.02 [source] [hipe]
> 
> Eshell V2001.09.02  (abort with ^G)
> 1> c(bummer).
> {ok,bummer}
> 2>
> BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
>        (v)ersion (k)ill (D)b-tables (d)istribution
> a
> [perber@REDACTED]:test> ../bin/erl
> Erlang (BEAM) emulator version 2001.09.02 [source] [hipe]
> 
> Eshell V2001.09.02  (abort with ^G)
> 1> hipe:c(bummer).
> {ok,bummer}
> 2> hipe:c(bummer).
> {ok,bummer}
> 3> code:purge(bummer).
> beam_catches_delmod: item 0 has cp 0x8d8ac which is not in module's
> range [0x460e50,0x460f82[
> Abort (core dumped)
> 
> /Per
> 
> 

-- 
Björn Gustavsson            Ericsson Utvecklings AB
bjorn@REDACTED      ÄT2/UAB/F/P
			    BOX 1505
+46 8 727 56 87 	    125 25 Älvsjö



More information about the erlang-questions mailing list