sm-g935f (Android M), aka Samsung Galaxy S7 appeared in the last few days in our Xamarin Insights logs. All "SIGILL (mscorlib)" crashes.
Stacktrace:
System.ExecutionEngineException SIGILL
We released the app a few weeks ago. We used (and still are using) Xamarin for Visual Studio 3.x (to be precise: 3.11.1689 - so we didn't update to Xamarin 4.x).
So far all good till the Samsung Galaxy S7 crashes appeared. I'm wondering what can be the problem. Anyone had issues with the same device?
Sharing some more infos:
Nuget packages referenced in the app:
<package id="PCLCrypto" version="1.0.2.15130" targetFramework="MonoAndroid50" />
<package id="PCLStorage" version="1.0.2" targetFramework="MonoAndroid22" />
<package id="Validation" version="2.0.6.15003" targetFramework="MonoAndroid50" />
<package id="Xamarin.Android.Support.v4" version="22.2.1.0" targetFramework="MonoAndroid50" />
<package id="Xamarin.Forms" version="1.4.2.6359" targetFramework="MonoAndroid50" />
<package id="Xamarin.Insights" version="1.10.2.110" targetFramework="MonoAndroid50" />
<package id="ZXing.Net.Mobile" version="1.5.4.0" targetFramework="MonoAndroid50" />
Properties > Application:
Compile using Android version: API Level 21 (Android 5.0)
Minimum Android to target: API Level 15 (Android 4.0.3)
Target Android version API Level 21
Properties > Android options (Release)
Packaging: Only "Enable Proguard" is checked.
Linker: "Only SDK Assemblies"
Advanced: Supported architectures:
* armeabi
* armeabi-v7a
* armeabi-v8a
* (no x86 or x86_64)
I just tried the app in the Nexus 4 Marshmallow Preview 1 Xamarin Player image, and the app started without problems. It seems that on S7 devices it crashes just after the splash screen, so just at the beginning.
I'm still waiting for a real S7 device to investigate, but in the meantime any ideas/suggestions are appreciated. Thank you.