Fix "GetThreadContext failed" on Windows #264
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The version of bdwgc that Neko uses (7.6.0) can suddenly abort when GetThreadContext is called, if the thread is in protected code or an invalid state. One of the common culprits of this issue is antivirus programs.
This was fixed by Unity a few years ago, and included in the upstream 7.6 release line for 7.6.14.
This PR updates us to the latest bdwgc 7.6 release, 7.6.16.
Special thanks to @tobil4sk for helping resolve issues updating to the latest version.