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

[d16-5-xcode11.4] Wrap mono_gc_init_finalizer_thread() call with now-needed coop GC state transition #8248

Conversation

monojenkins
Copy link
Collaborator

Should fix mono/mono#19372

Backport of #8242.

/cc @dalexsoto @alexischr

…te transition.

Starting with mono/mono#16907 , the Mono runtime ends in GC-Safe state (mode) after mono_jit_init_version() is called. The monotouch code did not expect that, and calls mono_gc_init_finalizer_thread() which also tries to enter GC-safe mode.

Should fix mono/mono#19372
@dalexsoto dalexsoto added the build-package Build (and create package) on internal Jenkins. Apply 'run-internal-tests' to run tests too. label Mar 31, 2020
Copy link
Contributor

@spouliot spouliot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch @dalexsoto !

@monojenkins
Copy link
Collaborator Author

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
🔥 Test run failed 🔥

Test results

1 tests failed, 86 tests passed.

Failed tests

  • monotouch-test/watchOS 32-bits - simulator/Debug: Crashed

@dalexsoto
Copy link
Member

Known failure: HE0038

@mandel-macaque mandel-macaque merged commit 3e4fd79 into xamarin:d16-5-xcode11.4 Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-package Build (and create package) on internal Jenkins. Apply 'run-internal-tests' to run tests too.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants