Bug 33080

Summary: JIT error only on ARMV7
Product: iOS Reporter: Arren Mund <amund>
Component: Mono runtime / AOT compilerAssignee: Zoltan Varga <vargaz>
Status: RESOLVED FIXED    
Severity: normal CC: dominic, kumpera, mono-bugs+monotouch
Priority: ---    
Version: XI 8.10   
Target Milestone: Untriaged   
Hardware: PC   
OS: Mac OS   
Tags: Is this bug a regression?: ---
Last known good build:
Attachments: Example of the crash

Description Arren Mund 2015-08-13 18:26:51 UTC
Created attachment 12496 [details]
Example of the crash

Running the attached project will crash with the following error if run on an ARMv7 device or targeting just ARMv7.  The attached project is setup to target just ARMv7.

Attempting to JIT compile method '(wrapper runtime-invoke) <Module>:runtime_invoke_void__this___long_long_double (object,intptr,intptr,intptr)' while running with --aot-only. See http://docs.xamarin.com/ios/about/limitations for more information.
Comment 1 Zoltan Varga 2015-08-14 02:17:36 UTC
As a workaround, change the signature of the GenericValue<T> constructor to:

public GenericValue(DimensionId dimension, UnitId unit, int dummy, T value)
Comment 2 Arren Mund 2015-08-14 10:08:30 UTC
I can confirm the workaround works.  Can you shed any light into why it works?
Comment 3 Zoltan Varga 2015-08-14 14:06:28 UTC
Fixed in mono master b76558e80ff01cb6ccd3627aedb9c4084636da61. The fix will be in a later xamarin.ios release.