5. How to Interpret the Erlang Crash Dumps

5 How to Interpret the Erlang Crash Dumps

This section describes the erl_crash.dump file generated upon abnormal exit of the Erlang runtime system.

Note

The Erlang crash dump had a major facelift in Erlang/OTP R9C. The information in this section is therefore not directly applicable for older dumps. However, if you use crashdump_viewer(3) on older dumps, the crash dumps are translated into a format similar to this.

The system writes the crash dump in the current directory of the emulator or in the file pointed out by the environment variable (whatever that means on the current operating system) ERL_CRASH_DUMP. For a crash dump to be written, a writable file system must be mounted.

Crash dumps are written mainly for one of two reasons: either the built-in function 登录查看完整内容