This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 51545 - [Crash] mono_threads_platform_set_priority: unknown policy 3
Summary: [Crash] mono_threads_platform_set_priority: unknown policy 3
Status: VERIFIED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler (show other bugs)
Version: 7.1 (C9)
Hardware: PC Mac OS
: High major
Target Milestone: 7.1 (C9)
Assignee: Ludovic Henry
URL:
Depends on:
Blocks:
 
Reported: 2017-01-15 10:09 UTC by David Karlaš
Modified: 2017-02-16 17:08 UTC (History)
6 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description David Karlaš 2017-01-15 10:09:37 UTC
This happens for me on Android emulator(didn't try real device) if I'm switching in and out of app a lot. It crashes with abort("mono_threads_platform_set_priority: unknown policy 3").

I'm assigning this to Henry since I think https://github.com/mono/mono/commit/fa41710fe0 caused this.

Since I think this is serious regression I'm setting target to C9 and High priority.
Comment 1 Ludovic Henry 2017-02-08 19:54:32 UTC
The PR for C9 is available at https://github.com/mono/mono/pull/4265 and the trello card at https://trello.com/c/3EVRl9iL/5-mono-fix-bug-51545

What are the next step to get it merged into C9?
Comment 2 Rodrigo Kumpera 2017-02-13 22:36:48 UTC
It was merged into mono, now it's up to the XA team to bump mono.

Jonp?
Comment 4 David Karlaš 2017-02-16 17:08:39 UTC
I'm verifying this is fixed, since now it just prints message but not crash application, which is exactly what fix is supposted to do: https://cloud.githubusercontent.com/assets/774791/23031600/e0a86fe0-f471-11e6-8e7c-a2090a9e04c2.png

Note You need to log in before you can comment on or make changes to this bug.