diff options
author | Lukas Larsson <[email protected]> | 2017-06-14 10:47:54 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-06-14 10:49:47 +0200 |
commit | 22ecae32fb0a0a9777cb00599a3b6440adb7bd83 (patch) | |
tree | c068f18f8670116fbb8b10cfe2c59cdfb3e76c46 /erts/emulator/test/pseudoknot_SUITE.erl | |
parent | 87bca557898bea79dbd53d59b21f6e7384e3a25d (diff) | |
download | otp-22ecae32fb0a0a9777cb00599a3b6440adb7bd83.tar.gz otp-22ecae32fb0a0a9777cb00599a3b6440adb7bd83.tar.bz2 otp-22ecae32fb0a0a9777cb00599a3b6440adb7bd83.zip |
erts: Cleanup dropped port tasks correctly
Before this fix, the extra data attached to a port task had to
be cleaned up by the calling function. This caused problems
because the outputv call, co-allocates the extra data with the
port task. So in rare circumstances the port task would be
free'd before the extra data was free'd which led to segfault
when looking at the port task.
This has been fixed by the generic PORT_TASK_ABORT behaviour
being used even for tasks dropped in the erts_schedule_proc2port_signal
API.
Diffstat (limited to 'erts/emulator/test/pseudoknot_SUITE.erl')
0 files changed, 0 insertions, 0 deletions