Bug 58242 - Mini tests crash on tvOS device: Could not inflate generic type due to VAR 1 (T2_INT) cannot be expanded in this context with 1 instantiations assembly:<no_image> type:<unknown type> member:<none>
Summary: Mini tests crash on tvOS device: Could not inflate generic type due to VAR 1 ...
Status: RESOLVED INVALID
Alias: None
Product: iOS
Classification: Xamarin
Component: Mono runtime / AOT compiler ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: 15.4
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2017-07-19 12:21 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2017-07-19 14:00 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: Yes
Last known good build: 15.3 works fine

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 Developer Community or GitHub 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.

Related Links:
Status:
RESOLVED INVALID

Description Rolf Bjarne Kvinge [MSFT] 2017-07-19 12:21:27 UTC
Repro:

* Run the mini tests on a tvOS device, with xamarin-macios/master:

    make run-tvos-dev-mini -C tests

* Watch them crash:

> Running 'test_0_isreference_intrins' ...
> error: Could not inflate generic type due to VAR 1 (T2_INT) cannot be expanded in this context with 1 instantiations assembly:<no_image> type:<unknown type> member:<none>
> critical: Stacktrace:
> critical:   at <unknown> <0xffffffff>
> critical:   at GenericsTests/IsRefClass`1<T_INST>.is_ref () [0x00001] in /work/maccore/master/xamarin-macios/external/mono/mono/mini/generics.cs:1320
> critical:   at GenericsTests.test_0_isreference_intrins () [0x000bb] in /work/maccore/master/xamarin-macios/external/mono/mono/mini/generics.cs:1386
> critical:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) [0x0001e] in <9c5e65b47c594e11a3349992d4e5a779#C96BD3E1-C9AB-4518-4D42-D165E7D0AD9F>:0

Complete output: https://gist.github.com/rolfbjarne/98aa5234dc0bf5d213c9278b076c16b3
Comment 1 Rolf Bjarne Kvinge [MSFT] 2017-07-19 14:00:26 UTC
I can't reproduce anymore after a clean XI build, so this was probably something local.