Conversation
|
Hi @ateska |
|
The issue is happening on Virtualbox (see Virtualbox Ticket #17396). Because Virtualbox is using a multi-threaded server with pthread enabled the use-after-free results in a wait to an non-existing condition-variable, leading to a freeze of the Virtual Machine in a buggy state. This PR correctly fixes the issue even if its incomplete:
I do have a fix for both and will provide a PR ASAP. |
|
The issue happens on iOS platform when a server and client that runs in separated threads shutdowns simultaneously. It happens in 100% cases however - not the typical race condition. |
|
The issue is also 100% reproducible in Virtualbox. If you do have a client connected to the multithreaded-server during the call to Even if Virtualbox doesn't really crash directly in the first use-after-free. |
Fixes #211