aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-01-28 15:09:35 +0100
committerSverker Eriksson <[email protected]>2016-01-28 16:22:00 +0100
commit042677624b1d7b3f4c99be4e1483180e7fe8b2c0 (patch)
tree6cf7fbc56921c93cf81f52f2c7922e5b4b740f67 /erts/emulator
parent74a95b3d511177a9b35c2b0272b9ca5511b6f750 (diff)
downloadotp-042677624b1d7b3f4c99be4e1483180e7fe8b2c0.tar.gz
otp-042677624b1d7b3f4c99be4e1483180e7fe8b2c0.tar.bz2
otp-042677624b1d7b3f4c99be4e1483180e7fe8b2c0.zip
erts: Fix bug concerning line information for hipe modules
Line table was left uninitialized for hipe (stub) modules causing process_info(OtherPid, current_location) to crash.
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/beam_load.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_load.c b/erts/emulator/beam/beam_load.c
index b70e5b9a2d..a6dce2d1d2 100644
--- a/erts/emulator/beam/beam_load.c
+++ b/erts/emulator/beam/beam_load.c
@@ -6249,6 +6249,7 @@ erts_make_stub_module(Process* p, Eterm Mod, Eterm Beam, Eterm Info)
code[MI_LITERALS_END] = 0;
code[MI_LITERALS_OFF_HEAP] = 0;
code[MI_ON_LOAD_FUNCTION_PTR] = 0;
+ code[MI_LINE_TABLE] = 0;
code[MI_MD5_PTR] = 0;
ci = MI_FUNCTIONS + n + 1;