diff options
author | Björn Gustavsson <[email protected]> | 2013-10-30 13:20:42 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-10-30 13:20:42 +0100 |
commit | a51730d1f0ef5a9825998a9e4c2cd0556de9a18b (patch) | |
tree | e2d7ed8109abf4baf3dc6767c3432cbdc176a00a /erts/emulator/beam/break.c | |
parent | c204ee9319c2007bfe2124861d015f1afa935485 (diff) | |
download | otp-a51730d1f0ef5a9825998a9e4c2cd0556de9a18b.tar.gz otp-a51730d1f0ef5a9825998a9e4c2cd0556de9a18b.tar.bz2 otp-a51730d1f0ef5a9825998a9e4c2cd0556de9a18b.zip |
Fix truncated pointers in erl_crash.dump
When dumping the heaps and stacks in the erl_crash.dump file, only
the lower 32 bits of pointers would be printed. Ensure that all bits
are printed.
While at it, make sure that printing sub binaries with a debug compiled
run-time system will work.
Diffstat (limited to 'erts/emulator/beam/break.c')
-rw-r--r-- | erts/emulator/beam/break.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/break.c b/erts/emulator/beam/break.c index 99604fa3bc..b7e1092907 100644 --- a/erts/emulator/beam/break.c +++ b/erts/emulator/beam/break.c @@ -757,7 +757,7 @@ erl_crash_dump_v(char *file, int line, char* fmt, va_list args) return; /* Can't create the crash dump, skip it */ time(&now); - erts_fdprintf(fd, "=erl_crash_dump:0.2\n%s", ctime(&now)); + erts_fdprintf(fd, "=erl_crash_dump:0.3\n%s", ctime(&now)); if (file != NULL) erts_fdprintf(fd, "The error occurred in file %s, line %d\n", file, line); |