[erlang-bugs] prim_eval:'receive'

Tony Rogvall tony@REDACTED
Tue Sep 13 00:34:38 CEST 2016


I still think this is a bit boring.

> self() ! a.
> prim_eval:'receive'(fun(X) -> prim_eval:'receive'(fun(Y) -> Y end, 500) end, 1000).
Segmentation fault: 11

Is it really that hard to fix?

It would be fun to see cool hacks that can bring down the emulator!

A list of NOT so cool hacks:

  > init:stop().
  > erlang:halt(1).
  > os:cmd(”kill ”++os:getpid()).
  > lists:seq(1, 18446744073709551616).
  - write driver or nif that crash

But anything else should be interesting to see.

How many ways can we crash the emulator in this way?

/Tony

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20160913/c79464fb/attachment.bin>


More information about the erlang-bugs mailing list