prim_eval:'receive'

Tony Rogvall <[email protected]> Tue, 13 Sep 2016 00:34:38 +0200
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <[email protected]>
--===============0254696971108969833==
Content-Type: multipart/signed; boundary="Apple-Mail=_1A906101-70BE-41DA-A136-5435ADF390CB"; protocol="application/pgp-signature"; micalg=pgp-sha256


--Apple-Mail=_1A906101-70BE-41DA-A136-5435ADF390CB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

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(=E2=80=9Dkill =E2=80=9D++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


--Apple-Mail=_1A906101-70BE-41DA-A136-5435ADF390CB
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJX1y1/AAoJELuLm93jpmN4+R4QANR5vvbr9fCaHUpPitFbmyiI
AoAj8etDf364yqT6hjiv4N7lkV/EmxQOWSVdK5oqaMQaEr2ro7WKgMQrKCl8z5ay
IhEnIb4MgnO6IRfiATdUxXbxCs7GzWxK7+NWSpiBzQpxO4GJz4tQ4mdWKYD+LGDb
89L8bVI40QBBcah3JvC9fHviNWkUa6Qkw5Nf5dMHT5ULMTjTS2QxBySSCl2YWXNq
BnpDNeBgJTQyBnE9B7P2MAQOont0b85SNynanivo0QJ/5U3evI3TWPQ7c8JJV4Vg
RUBkXYyjEXMIDKe6sgQDnxhh4gzzYz/w64tVrclXiVSX3fuqmP9WdW36+TO1PDjL
fE6m+6TE+w3s9AzNcUVvKbuFLLMuK7454dZpTzhP7+dDO2vKD4pu4wuUmgnNI8Qa
yAcMl7d+VwExSVBkd5PTzLWIQVqeteJBH2AZmfABnIrJV/1EmOuyh5Np5xdFCgd7
NKF2FcPswRoVhkzrgdRpC12x3/G+9HBMyVY60j9Nbe8p7yjjoXuvQ0BH7k0xrL13
cun7TrYzLH+nMY04qWUJCyPUFq03HVzZSBNygDM/KHu/mba/J47vqegStNvDC7rQ
F/9kbMhGawyw/4WbWlfzymjQyDVNSHxM5KqHo/Jp2qcKPplANfxSv7/W1ziKV8wQ
EzZJwKki9OSzuzTlH0s/
=8dg6
-----END PGP SIGNATURE-----

--Apple-Mail=_1A906101-70BE-41DA-A136-5435ADF390CB--

--===============0254696971108969833==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============0254696971108969833==--