diff options
author | Sverker Eriksson <[email protected]> | 2017-01-12 13:58:26 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-01-12 13:58:26 +0100 |
commit | af5169d85fcd545e3c857a219db081a62f33404d (patch) | |
tree | a08ad74d060311ada3b11b76fd419a1d01e32415 /erts/emulator/beam/erl_db_tree.c | |
parent | 2b41d8f318b7e5ec139d42fd2f01a132699be839 (diff) | |
download | otp-af5169d85fcd545e3c857a219db081a62f33404d.tar.gz otp-af5169d85fcd545e3c857a219db081a62f33404d.tar.bz2 otp-af5169d85fcd545e3c857a219db081a62f33404d.zip |
erts: Fix race bug between export fun creation and code loading
Symptom: SEGV crash on ARM in delete_code() -> export_list().
Could probably happen on other machines as well.
Problem: Staging export table was iterated in an unsafe way
while an entry was added for a new export fun.
Solution: Correct write order and some memory barriers.
Diffstat (limited to 'erts/emulator/beam/erl_db_tree.c')
0 files changed, 0 insertions, 0 deletions