Created attachment 1741 [details]
See attached crash report.
This bug comes from: https://bugzilla.xamarin.com/show_bug.cgi?id=1458#c48
Zoltan, this looks AOT-related.
Thread 3 seems to be spinning in the while loop at object.c:347, while two other threads are waiting for a lock.
So it is probably not AOT related,but something which is triggered by using AOT, i.e. no time is spent JITting.
It seems two or more threads trying to execute the static ctor of DateTime at the same time.
How can I reproduce this ?
This is not easily reproducible, it happens very rarely.
There one weird thing on that backtrace, you have two threads running the same class constructor, which should not be allowed.
See mscorlib_System_Globalization_DateTimeFormatInfo__cctor in thread 0 and 3.
*** This bug has been marked as a duplicate of bug 23242 ***