Bug 51545

Summary: [Crash] mono_threads_platform_set_priority: unknown policy 3
Product: Android Reporter: David Karlaš <david.karlas>
Component: Mono runtime / AOT CompilerAssignee: Ludovic Henry <ludovic>
Severity: major CC: andi.mcclure, jonp, kumpera, ludovic, luis.aguilera, mono-bugs+monodroid
Priority: High    
Version: 7.1 (C9)   
Target Milestone: 7.1 (C9)   
Hardware: PC   
OS: Mac OS   
Tags: Is this bug a regression?: ---
Last known good build:

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.

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