Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
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 ***