Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait for debugger thread to exit (case 1180399, case 1189077) #1234

Merged
merged 1 commit into from
Oct 10, 2019

Conversation

joncham
Copy link
Member

@joncham joncham commented Oct 9, 2019

There is logic to ensure debugger thread is shutting down
before we continue, but thread has not actually exited. This
leaves us open to race conditions in profiler events and
thread info machinery that are cleaned up by runtime shutdown.

Release Notes:
case 1180399 - Fix crash on shutdown in debugger thread.
case 1189077 - Fix crash on shutdown in mono_profiler_raise_thread_stopped.

There is logic to ensure debugger thread is shutting down
before we continue, but thread has not actually exited. This
leaves us open to race conditions in profiler events and
thread info machinery that are cleaned up by runtime shutdown.
@joncham joncham self-assigned this Oct 9, 2019
@joshpeterson
Copy link

Do we need release notes for this change?

@joncham
Copy link
Member Author

joncham commented Oct 9, 2019

Added release notes @joshpeterson

@joncham joncham merged commit 9483fa1 into unity-master Oct 10, 2019
@joncham joncham deleted the unity-master-fix-debugger-shutdown-race branch October 10, 2019 16:50
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.

2 participants