The code below will crash the emulator in R15B01 i386 and x86_64. I've repeated this on Debian 6.0.5 (64-bit), CentOS 6.3 (32-bit), and Ubuntu 12.04 (64-bit). I haven't tried other distros or versions of Erlang.
-module(crash_syslog).
-compile([export_all]).
boom() ->
{ok, _Pid} = syslog:start(),
syslog:open("Beuha", [cons, perror, pid], local0),
syslog:log(err, "Damned"),
syslog:open(foo, [cons, perror, pid], local0),
io:format("Erlang is now going to crash~n", []),
syslog:open("Beuha", [cons, perror, pid], local0),
io:format("Ok, I lied.~n", []),
ok.
Summary
The code below will crash the emulator in R15B01 i386 and x86_64. I've repeated this on Debian 6.0.5 (64-bit), CentOS 6.3 (32-bit), and Ubuntu 12.04 (64-bit). I haven't tried other distros or versions of Erlang.
Installing and running
Environment
I've listed hopefully all info needed.
CentOS
Debian
Ubuntu