Android System WebView crashes Android apps! "Tombstones are disabled on JB MR2+ user builds" Android System WebView crashes Android apps! "Tombstones are disabled on JB MR2+ user builds" android android

Android System WebView crashes Android apps! "Tombstones are disabled on JB MR2+ user builds"


It turns out it was not Chrome but Android System WebView that caused the app to crash. Several other users on Google Play Store have left responses such as Crashes apps without any error.

EDIT:

Jonathan Pryor on Xamarin Bugzilla posted this comment:

As mentioned in Comment #2 and Comment #3, the problem is that the Google Play Service WebView and related types is clobbering existing SIGSEGV handlers, which screws things up for all native code which relies on signal handlers (e.g. Houdini).

As a workaround, it is possible to remove the need for a SIGSEGV handler for NullReferenceException raising, by setting the MONO_DEBUG variable to contain the value "explicit-null-checks":

http://docs.go-mono.com/?link=man%3amono(1)

This can be done by adding a file to your App project with a Build action of AndroidEnvironment:

http://developer.xamarin.com/guides/android/advanced_topics/environment/

Then adding the following line to the file:

MONO_DEBUG=explicit-null-checks


You can uninstall the WebView updates, so you can work on your project while this is fixed.

We found out that in our case it crashed when an exception was thrown. If we used Java.Lang.Exception instead of the C# Exceptions, it stopped crashing.