Bug 23800 - Unhandled exception when setting ListView.ItemsSource on Android
Summary: Unhandled exception when setting ListView.ItemsSource on Android
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.3
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-10-13 18:57 UTC by Dan Vanderboom
Modified: 2016-03-18 08:36 UTC (History)
6 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

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 FIXED

Description Dan Vanderboom 2014-10-13 18:57:00 UTC
I'm havingproblems setting ItemsSource on ListView to some List<T> or ObservableCollection<T> (intermittently), but on Android and not iOS.

The exception:

System.Diagnostics.Debugger.Mono_UnhandledException_internal () in 
System.Diagnostics.Debugger.Mono_UnhandledException (ex=) in 
object.a25b50c7-9fd9-4c62-a055-7321d657fd37 (Parameters=) in 
System.Lazy<object>.InitValue (Parameters=) in 
System.Lazy<object>.get_Value (Parameters=) in 
Xamarin.Forms.Xaml.ElementNode.<SetDataTemplate>b__9 (Parameters=) in 
Xamarin.Forms.DataTemplate.CreateContent (Parameters=) in 
Xamarin.Forms.TemplatedItemsList<Xamarin.Forms.ItemsView<Xamarin.Forms.Cell>,Xamarin.Forms.Cell>.CreateContent (Parameters=) in 
Xamarin.Forms.TemplatedItemsList<Xamarin.Forms.ItemsView<Xamarin.Forms.Cell>,Xamarin.Forms.Cell>.GetOrCreateContent (Parameters=) in 
Xamarin.Forms.TemplatedItemsList<Xamarin.Forms.ItemsView<Xamarin.Forms.Cell>,Xamarin.Forms.Cell>.get_Item (Parameters=) in 
Xamarin.Forms.Platform.Android.ListViewAdapter.GetCellsFromPosition (Parameters=) in 
Xamarin.Forms.Platform.Android.ListViewAdapter.GetCellForPosition (Parameters=) in 
Xamarin.Forms.Platform.Android.ListViewAdapter.GetView (Parameters=) in 
Android.Widget.BaseAdapter.n_GetView_ILandroid_view_View_Landroid_view_ViewGroup_ (Parameters=) in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.18-series/3b7ef0a7/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Widget.BaseAdapter.cs:460
object.a25b50c7-9fd9-4c62-a055-7321d657fd37 (Parameters=) in 
Android.Runtime.JNIEnv.CallVoidMethod (Parameters=) in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.18-series/3b7ef0a7/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:504
Android.Views.ViewGroup.Layout (Parameters=) in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.18-series/3b7ef0a7/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Views.ViewGroup.cs:3047
Xamarin.Forms.Platform.Android.ViewRenderer<Xamarin.Forms.ListView,Android.Widget.ListView>.OnLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.ListViewRenderer.OnLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (Parameters=) in 
object.8bc9ffdf-1e78-4f46-ad58-128c416bde10 (Parameters=) in 
Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (Parameters=) in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.18-series/3b7ef0a7/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.ListView>.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.OnLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (Parameters=) in 
object.8bc9ffdf-1e78-4f46-ad58-128c416bde10 (Parameters=) in 
Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (Parameters=) in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.18-series/3b7ef0a7/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.OnLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (Parameters=) in 
object.8bc9ffdf-1e78-4f46-ad58-128c416bde10 (Parameters=) in 
Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (Parameters=) in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.18-series/3b7ef0a7/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.OnLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (Parameters=) in 
object.8bc9ffdf-1e78-4f46-ad58-128c416bde10 (Parameters=) in 
Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (Parameters=) in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.18-series/3b7ef0a7/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.OnLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (Parameters=) in 
object.8bc9ffdf-1e78-4f46-ad58-128c416bde10 (Parameters=) in 
Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (Parameters=) in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.18-series/3b7ef0a7/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.OnLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (Parameters=) in 
object.8bc9ffdf-1e78-4f46-ad58-128c416bde10 (Parameters=) in 
Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (Parameters=) in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.18-series/3b7ef0a7/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.Page>.OnLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (Parameters=) in 
object.8bc9ffdf-1e78-4f46-ad58-128c416bde10 (Parameters=) in 
Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (Parameters=) in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.18-series/3b7ef0a7/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.Page>.UpdateLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.Platform.OnLayout (Parameters=) in 
Xamarin.Forms.Platform.Android.PlatformRenderer.OnLayout (Parameters=) in 
Android.Views.ViewGroup.n_OnLayout_ZIIII (Parameters=) in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.18-series/3b7ef0a7/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Views.ViewGroup.cs:3275
object.933dbe24-23f5-46fb-8a9d-e29d316137fe (Parameters=) in 

I hope that makes more sense to you than it does to me. :)
Comment 1 Ram Chandra 2014-10-14 10:08:25 UTC
I tried this issue but I am unable to reproduce this issue.

When I set ListView.ItemsSource to ObservableCollection<T> I am not getting any exception and  application is working fine.

Screencast: http://www.screencast.com/t/I74g8jJM7sku

Could you please attached sample application and build information? So that we can reproduce this issue at our end.

You can get build information from here:

Xamarin Studio => About Xamarin Studio => Show Details => Copy Information

Environment Info:

=== Xamarin Studio ===

Version 5.6.1 (build 5)
Installation UUID: 6ea47b0d-1852-4aaf-808d-373ff0a5002b
Runtime:
	Mono 3.10.0 ((detached/633e444)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000020

=== Apple Developer Tools ===

Xcode 6.0.1 (6528)
Build 6A317

=== Xamarin.Mac ===

Version: 1.10.0.18 (Business Edition)

=== Xamarin.Android ===

Version: 4.18.0 (Business Edition)
Android SDK: /Users/jatin66/Desktop/Backup/android-sdk-macosx
	Supported Android versions:
		1.6   (API level 4)
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.0   (API level 11)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.iOS ===

Version: 8.2.0.203 (Business Edition)
Hash: 6049af6
Branch: 
Build date: 2014-10-12 21:49:14-0400

=== Build Information ===

Release ID: 506010005
Git revision: 4a603dc77610b9eff2a41582146c56b69a81ceba
Build date: 2014-10-09 11:07:06-04

=== Operating System ===

Mac OS X 10.9.5
Comment 2 Alan Tonisson 2015-01-05 01:48:01 UTC
I'm getting this too.
I'm getting this error:

    [mono-rt] Stacktrace:
    [mono-rt] 
    [mono-rt]   at <unknown> <0xffffffff>
    [mono-rt]   at (wrapper managed-to-native) object.wrapper_native_0x408027e9 (intptr,intptr) <IL 0x00026, 0xffffffff>
    [mono-rt]   at Android.Runtime.JNIEnv.NewGlobalRef (intptr) [0x00000] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.cs:514
    [mono-rt]   at Java.Lang.Object.RegisterInstance (Android.Runtime.IJavaObject,intptr,Android.Runtime.JniHandleOwnership,intptr&) [0x00038] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Java.Lang/Object.cs:182
    [mono-rt]   at Java.Lang.Object.SetHandle (intptr,Android.Runtime.JniHandleOwnership) [0x00000] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Java.Lang/Object.cs:166
    [mono-rt]   at Java.Lang.String..ctor (string) [0x000ce] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Java.Lang.String.cs:461
    [mono-rt]   at Android.Widget.TextView.set_Text (string) [0x00000] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Widget.TextView.cs:2442
    [mono-rt]   at Xamarin.Forms.Platform.Android.LabelRenderer.UpdateText () <IL 0x0008d, 0x003e3>
    [mono-rt]   at Xamarin.Forms.Platform.Android.LabelRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs`1<Xamarin.Forms.Label>) <IL 0x00064, 0x0024f>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.SetElement (TElement) <IL 0x000fc, 0x0060b>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement) <IL 0x0002e, 0x0012b>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement,Xamarin.Forms.Platform.Android.IVisualElementRenderer,Xamarin.Forms.Platform.Android.RendererPool,bool) <IL 0x00029, 0x001bf>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement,Xamarin.Forms.VisualElement) <IL 0x00116, 0x00827>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementPackager.<.ctor>b__0 (object,Xamarin.Forms.Platform.Android.VisualElementChangedEventArgs) <IL 0x0000d, 0x000a3>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs`1<TElement>) <IL 0x0002e, 0x00137>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.SetElement (TElement) <IL 0x000fc, 0x0060b>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement) <IL 0x0002e, 0x0012b>
    [mono-rt]   at Xamarin.Forms.Platform.Android.ViewCellRenderer/ViewCellContainer.Update (Xamarin.Forms.ViewCell) <IL 0x000a1, 0x00637>
    [mono-rt]   at Xamarin.Forms.Platform.Android.ViewCellRenderer.GetCellCore (Xamarin.Forms.Cell,Android.Views.View,Android.Views.ViewGroup,Android.Content.Context) <IL 0x00013, 0x00143>
    [mono-rt]   at Xamarin.Forms.Platform.Android.CellRenderer.GetCell (Xamarin.Forms.Cell,Android.Views.View,Android.Views.ViewGroup,Android.Content.Context) <IL 0x00055, 0x002a3>
    [mono-rt]   at Xamarin.Forms.Platform.Android.CellFactory.GetCell (Xamarin.Forms.Cell,Android.Views.View,Android.Views.ViewGroup,Android.Content.Context,Xamarin.Forms.View) <IL 0x00028, 0x00193>
    [mono-rt]   at Xamarin.Forms.Platform.Android.ListViewAdapter.GetView (int,Android.Views.View,Android.Views.ViewGroup) <IL 0x0009f, 0x005d7>
    [mono-rt]   at Android.Widget.BaseAdapter.n_GetView_ILandroid_view_View_Landroid_view_ViewGroup_ (intptr,intptr,int,intptr,intptr) [0x0001a] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Widget.BaseAdapter.cs:460
    [mono-rt]   at (wrapper dynamic-method) object.fd82b136-3447-47e0-8438-bb9d1a28adb2 (intptr,intptr,int,intptr,intptr) <IL 0x00023, 0x0005f>
    [mono-rt]   at (wrapper native-to-managed) object.fd82b136-3447-47e0-8438-bb9d1a28adb2 (intptr,intptr,int,intptr,intptr) <IL 0x00028, 0xffffffff>
    [mono-rt]   at <unknown> <0xffffffff>
    [mono-rt]   at (wrapper managed-to-native) object.wrapper_native_0x40806ae1 (intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00120, 0xffffffff>
    [mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_intptr_intptr_intptr_JValue[] (intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00062, 0xffffffff>
    [mono-rt]   at Android.Runtime.JNIEnv.CallVoidMethod (intptr,intptr,Android.Runtime.JValue[]) [0x00040] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:504
    [mono-rt]   at Android.Views.ViewGroup.Layout (int,int,int,int) [0x0002d] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Views.ViewGroup.cs:3047
    [mono-rt]   at Xamarin.Forms.Platform.Android.ViewRenderer`2.OnLayout (bool,int,int,int,int) <IL 0x00064, 0x00223>
    [mono-rt]   at Xamarin.Forms.Platform.Android.ListViewRenderer.OnLayout (bool,int,int,int,int) <IL 0x00032, 0x00163>
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x000f7>
    [mono-rt]   at (wrapper dynamic-method) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x00093>
    [mono-rt]   at (wrapper native-to-managed) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,int,int,int,int,int) <IL 0x00032, 0xffffffff>
    [mono-rt]   at <unknown> <0xffffffff>
    [mono-rt]   at (wrapper managed-to-native) object.wrapper_native_0x40805a29 (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00124, 0xffffffff>
    [mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_intptr_intptr_intptr_intptr_JValue[] (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00068, 0xffffffff>
    [mono-rt]   at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x00060] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (int,int,int,int,int,int) <IL 0x00160, 0x008f3>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x000be, 0x00557>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.UpdateLayout () <IL 0x0000e, 0x0006f>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.OnLayout (bool,int,int,int,int) <IL 0x00038, 0x001ff>
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x000f7>
    [mono-rt]   at (wrapper dynamic-method) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x00093>
    [mono-rt]   at (wrapper native-to-managed) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,int,int,int,int,int) <IL 0x00032, 0xffffffff>
    [mono-rt]   at <unknown> <0xffffffff>
    [mono-rt]   at (wrapper managed-to-native) object.wrapper_native_0x40805a29 (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00124, 0xffffffff>
    [mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_intptr_intptr_intptr_intptr_JValue[] (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00068, 0xffffffff>
    [mono-rt]   at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x00060] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (int,int,int,int,int,int) <IL 0x00160, 0x008f3>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x000be, 0x00557>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.UpdateLayout () <IL 0x0000e, 0x0006f>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.OnLayout (bool,int,int,int,int) <IL 0x00038, 0x001ff>
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x000f7>
    [mono-rt]   at (wrapper dynamic-method) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x00093>
    [mono-rt]   at (wrapper native-to-managed) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,int,int,int,int,int) <IL 0x00032, 0xffffffff>
    [mono-rt]   at <unknown> <0xffffffff>
    [mono-rt]   at (wrapper managed-to-native) object.wrapper_native_0x40805a29 (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00124, 0xffffffff>
    [mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_intptr_intptr_intptr_intptr_JValue[] (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00068, 0xffffffff>
    [mono-rt]   at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x00060] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (int,int,int,int,int,int) <IL 0x00160, 0x008f3>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x000be, 0x00557>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.UpdateLayout () <IL 0x0000e, 0x0006f>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.OnLayout (bool,int,int,int,int) <IL 0x00038, 0x001ff>
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x000f7>
    [mono-rt]   at (wrapper dynamic-method) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x00093>
    [mono-rt]   at (wrapper native-to-managed) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,int,int,int,int,int) <IL 0x00032, 0xffffffff>
    [mono-rt]   at <unknown> <0xffffffff>
    [mono-rt]   at (wrapper managed-to-native) object.wrapper_native_0x40805a29 (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00124, 0xffffffff>
    [mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_intptr_intptr_intptr_intptr_JValue[] (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00068, 0xffffffff>
    [mono-rt]   at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x00060] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (int,int,int,int,int,int) <IL 0x00160, 0x008f3>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x000be, 0x00557>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.UpdateLayout () <IL 0x0000e, 0x0006f>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.OnLayout (bool,int,int,int,int) <IL 0x00038, 0x001ff>
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x000f7>
    [mono-rt]   at (wrapper dynamic-method) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x00093>
    [mono-rt]   at (wrapper native-to-managed) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,int,int,int,int,int) <IL 0x00032, 0xffffffff>
    [mono-rt]   at <unknown> <0xffffffff>
    [mono-rt]   at (wrapper managed-to-native) object.wrapper_native_0x40805a29 (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00124, 0xffffffff>
    [mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_intptr_intptr_intptr_intptr_JValue[] (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00068, 0xffffffff>
    [mono-rt]   at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x00060] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (int,int,int,int,int,int) <IL 0x00160, 0x008f3>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x000be, 0x00557>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.UpdateLayout () <IL 0x0000e, 0x0006f>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.OnLayout (bool,int,int,int,int) <IL 0x00038, 0x001ff>
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x000f7>
    [mono-rt]   at (wrapper dynamic-method) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x00093>
    [mono-rt]   at (wrapper native-to-managed) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,int,int,int,int,int) <IL 0x00032, 0xffffffff>
    [mono-rt]   at <unknown> <0xffffffff>
    [mono-rt]   at (wrapper managed-to-native) object.wrapper_native_0x40805a29 (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00124, 0xffffffff>
    [mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_intptr_intptr_intptr_intptr_JValue[] (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00068, 0xffffffff>
    [mono-rt]   at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x00060] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (int,int,int,int,int,int) <IL 0x00160, 0x008f3>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x000be, 0x00557>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.UpdateLayout () <IL 0x0000e, 0x0006f>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.OnLayout (bool,int,int,int,int) <IL 0x00038, 0x001ff>
    [mono-rt]   at Xamarin.Forms.Platform.Android.NavigationRenderer.OnLayout (bool,int,int,int,int) <IL 0x00008, 0x00093>
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x000f7>
    [mono-rt]   at (wrapper dynamic-method) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x00093>
    [mono-rt]   at (wrapper native-to-managed) object.022853be-fd61-4e37-a191-314804145417 (intptr,intptr,int,int,int,int,int) <IL 0x00032, 0xffffffff>
    [mono-rt]   at <unknown> <0xffffffff>
    [mono-rt]   at (wrapper managed-to-native) object.wrapper_native_0x40805a29 (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00124, 0xffffffff>
    [mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_intptr_intptr_intptr_intptr_JValue[] (intptr,intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00068, 0xffffffff>
    [mono-rt]   at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x00060] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892
    [mono-rt]   at Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (int,int,int,int,int,int) <IL 0x00160, 0x008f3>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x000be, 0x00557>
    [mono-rt]   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1.UpdateLayout () <IL 0x0000e, 0x0006f>
    [mono-rt]   at Xamarin.Forms.Platform.Android.Platform.OnLayout (bool,int,int,int,int) <IL 0x000a0, 0x005af>
    [mono-rt]   at Xamarin.Forms.Platform.Android.PlatformRenderer.OnLayout (bool,int,int,int,int) <IL 0x0001b, 0x000d3>
    [mono-rt]   at Android.Views.ViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) [0x00009] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Views.ViewGroup.cs:3275
    [mono-rt]   at (wrapper dynamic-method) object.6ba5df6d-8969-44c4-bdb3-037e301d83f7 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x00093>
    [mono-rt]   at (wrapper native-to-managed) object.6ba5df6d-8969-44c4-bdb3-037e301d83f7 (intptr,intptr,int,int,int,int,int) <IL 0x00032, 0xffffffff>
    [mono-rt] 
    [mono-rt] =================================================================
    [mono-rt] Got a SIGSEGV while executing native code. This usually indicates
    [mono-rt] a fatal error in the mono runtime or one of the native libraries 
    [mono-rt] used by your application.
    [mono-rt] =================================================================
    [mono-rt] 
    [libc] Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)
    
Is it related?
I'm running
Android version 4.04
Xamarin.Android version 4.20.0.28 (Indie Edition)
Xamarin Forms version 1.3.0.6292
Comment 3 Paul Diston 2015-01-08 11:55:19 UTC
Any update on this issue?
Comment 4 Jason Smith [MSFT] 2016-03-18 08:36:47 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we no longer believe it affects the current version of Xamarin.Forms. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.
 
For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d

Warm regards,
Xamarin Forms Team