Suicide by module_info

Richard Carlsson <[email protected]> Sun, 26 Apr 2015 20:10:46 +0200
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <CANKG3zm9OccAgdBidfcHiGs4C-yoqpe_6zdnQZjvFFpcFdWgQw@mail.gmail.com>
Here's a fun one!

Erlang/OTP 18 [RELEASE CANDIDATE 1] [erts-7.0] [source-7ff8f81] [64-bit]
[smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V7.0  (abort with ^G)
1> c(foo).
{ok,foo}
2> erlang:get_module_info(foo).
[{module,foo},
 ...]
3> code:delete(foo).
true
4> erlang:get_module_info(foo).
Segmentation fault (core dumped)


https://github.com/erlang/otp/pull/696

        /Richard

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs