Skip to content

Conversation

constantind
Copy link

When NodeDisconnect calls worker.WorkComplete() and Destroy() sets the callback to null, while the thread is stopping or starting in a race, creating "use after free" segmentation fault in the message callback handler on Linux.

Closes: #1057

cc: @GaryWilber

NodeDisconnect calls worker.WorkComplete() which deletes the callback, while the thread is still alive, creating use after free segmentation fault.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segfault when disconnecting right after consuming

1 participant