Closed EgorBo closed 4 years ago
@vargaz could you please look into this, it has now easy repro
Does this happen with xamarin.ios as well ?
@vargaz no, so maybe it's some ENABLE_NETCORE changes or incorrect flags we use for AOT. Looks like iOS AOT is broken in master atm so let me fix it first
@vargaz ah, actually everything is OK if you want to try the repro locally, it might complain on
Program.dll.s:127:1: error: file number already allocated
.file 1 "<unknown>"
in Debug mode but if you remove that from Program.dll.s it should build (some new AOTCompiler Task issue)
Xamarin.iOS is hitting this with their NUnit test suites running on .NET6 based mono too, so would be nice to get it fixed to unblock their tests.
How can I reproduce this with the current setup ?
((null) error) * Assertion at class.c:1851, condition 'method->is_inflated' not met
(it happens in
mono_class_inflate_generic_method_full_checked
for Object.GetType)Simple repro:
Steps to reproduce:
Many tests crash because of it (some gsharedvt-related issue?)