Bug 35361 - Problem in Entry with binding
Summary: Problem in Entry with binding
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.5.1
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-10-29 12:54 UTC by Alessandro
Modified: 2016-04-13 19:20 UTC (History)
7 users (show)

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:

Description Alessandro 2015-10-29 12:54:27 UTC
I have this problem modifying (sometimes) text in an Entry.

[IInputConnectionWrapper] endBatchEdit on inactive InputConnection
[mono-rt] Stacktrace:
[mono-rt]   at <unknown> <0xffffffff>
[mono-rt]   at (wrapper managed-to-native) object.wrapper_native_0x415ba931 (intptr,intptr,intptr,Android.Runtime.JValue*) <IL 0x0002e, 0xffffffff>
[mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_intptr_intptr_intptr_JValue* (intptr,intptr,intptr,Android.Runtime.JValue*) <IL 0x0006a, 0xffffffff>
[mono-rt]   at Android.Runtime.JNIEnv.CallVoidMethod (intptr,intptr,Android.Runtime.JValue*) [0x00040] in /Users/builder/data/lanes/2319/146daa26/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:567
[mono-rt]   at Android.Views.View.Measure (int,int) [0x00057] in /Users/builder/data/lanes/2319/146daa26/source/monodroid/src/Mono.Android/platforms/android-23/src/generated/Android.Views.View.cs:15624
[mono-rt]   at Xamarin.Forms.Platform.Android.ViewRenderer`2.GetDesiredSize (int,int) <IL 0x0001e, 0x000cb>
[mono-rt]   at Xamarin.Forms.Platform.Android.LabelRenderer.GetDesiredSize (int,int) <IL 0x000fb, 0x00897>
[mono-rt]   at Xamarin.Forms.Platform.Android.Platform.GetNativeSize (Xamarin.Forms.VisualElement,double,double) <IL 0x00090, 0x00393>
[mono-rt]   at Xamarin.Forms.VisualElement.OnSizeRequest (double,double) <IL 0x0003b, 0x00337>
[mono-rt]   at Xamarin.Forms.VisualElement.GetSizeRequest (double,double) <IL 0x0003b, 0x0030b>
[mono-rt]   at Xamarin.Forms.StackLayout.CalculateNaiveLayout (Xamarin.Forms.StackLayout/LayoutInformation,Xamarin.Forms.StackOrientation,double,double,double,double) <IL 0x00202, 0x00f6b>
[mono-rt]   at Xamarin.Forms.StackLayout.CalculateLayout (Xamarin.Forms.StackLayout/LayoutInformation,double,double,double,double,bool) <IL 0x00061, 0x0033f>
[mono-rt]   at Xamarin.Forms.StackLayout.LayoutChildren (double,double,double,double) <IL 0x00068, 0x002d7>
[mono-rt]   at Xamarin.Forms.Layout.UpdateChildrenLayout () <IL 0x000c7, 0x00777>
[mono-rt]   at Xamarin.Forms.Layout.OnSizeAllocated (double,double) <IL 0x00010, 0x000bb>
[mono-rt]   at Xamarin.Forms.VisualElement.SizeAllocated (double,double) <IL 0x00003, 0x00083>
[mono-rt]   at Xamarin.Forms.Layout.OnChildMeasureInvalidated () <IL 0x00077, 0x003bf>
[mono-rt]   at Xamarin.Forms.Layout.OnChildMeasureInvalidated (object,System.EventArgs) <IL 0x00001, 0x00057>
[mono-rt]   at Xamarin.Forms.VisualElement.InvalidateMeasure () <IL 0x00014, 0x00083>
[mono-rt]   at Xamarin.Forms.Label/<>c.<.cctor>b__47_0 (Xamarin.Forms.BindableObject,object,object) <IL 0x00006, 0x00083>
[mono-rt]   at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty,Xamarin.Forms.BindableObject/BindablePropertyContext,object,bool,Xamarin.Forms.BindableObject/SetValueFlags,bool) <IL 0x00111, 0x00787>
[mono-rt]   at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty,object,Xamarin.Forms.BindableObject/SetValueFlags,Xamarin.Forms.BindableObject/SetValuePrivateFlags) <IL 0x00154, 0x008f7>
[mono-rt]   at Xamarin.Forms.BindingExpression.ApplyCore (object,Xamarin.Forms.BindableObject,Xamarin.Forms.BindableProperty,bool) <IL 0x00212, 0x010fb>
[mono-rt]   at Xamarin.Forms.BindingExpression.Apply (bool) <IL 0x00048, 0x001cb>
[mono-rt]   at Xamarin.Forms.BindingExpression/BindingExpressionPart.<PropertyChanged>b__38_0 () <IL 0x00007, 0x00053>
[mono-rt]   at Java.Lang.Thread/RunnableImplementor.Run () [0x0000b] in /Users/builder/data/lanes/2319/146daa26/source/monodroid/src/Mono.Android/src/Java.Lang/Thread.cs:36
[mono-rt]   at Java.Lang.IRunnableInvoker.n_Run (intptr,intptr) [0x00009] in /Users/builder/data/lanes/2319/146daa26/source/monodroid/src/Mono.Android/platforms/android-23/src/generated/Java.Lang.IRunnable.cs:71
[mono-rt]   at (wrapper dynamic-method) object.ccbceec3-c359-44a9-86e5-224987d7dc1c (intptr,intptr) <IL 0x00011, 0x0003b>
[mono-rt]   at (wrapper native-to-managed) object.ccbceec3-c359-44a9-86e5-224987d7dc1c (intptr,intptr) <IL 0x0002a, 0xffffffff>
[mono-rt]   at <unknown> <0xffffffff>
[mono-rt]   at (wrapper managed-to-native) object.wrapper_native_0x415ba931 (intptr,intptr,intptr,Android.Runtime.JValue*) <IL 0x0002e, 0xffffffff>
[mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_intptr_intptr_intptr_JValue* (intptr,intptr,intptr,Android.Runtime.JValue*) <IL 0x0006a, 0xffffffff>
[mono-rt]   at Android.Runtime.JNIEnv.CallVoidMethod (intptr,intptr,Android.Runtime.JValue*) [0x00040] in /Users/builder/data/lanes/2319/146daa26/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:567
[mono-rt]   at Android.App.Activity.RunOnUiThread (Java.Lang.IRunnable) [0x00044] in /Users/builder/data/lanes/2319/146daa26/source/monodroid/src/Mono.Android/platforms/android-23/src/generated/Android.App.Activity.cs:5727
[mono-rt]   at Android.App.Activity.RunOnUiThread (System.Action) [0x00000] in /Users/builder/data/lanes/2319/146daa26/source/monodroid/src/Mono.Android/src/Android.App/Activity.cs:23
[mono-rt]   at Xamarin.Forms.Forms/AndroidPlatformServices.BeginInvokeOnMainThread (System.Action) <IL 0x0000b, 0x0008f>
[mono-rt]   at Xamarin.Forms.Device.BeginInvokeOnMainThread (System.Action) <IL 0x00006, 0x0006f>
[mono-rt]   at Xamarin.Forms.BindingExpression/BindingExpressionPart.PropertyChanged (object,System.ComponentModel.PropertyChangedEventArgs) <IL 0x00085, 0x0047b>
[mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) <IL 0x0002f, 0x0008b>
[mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) <IL 0x0002f, 0x0008b>
[mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) <IL 0x0002f, 0x0008b>
[mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) <IL 0x0002f, 0x0008b>
[mono-rt]   at (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) <IL 0x00061, 0xffffffff>
[mono-rt]   at Fev.Models.ListaPallet.OnPropertyChanged (string) <IL 0x00017, 0x000b3>
[mono-rt]   at Fev.Models.ListaPallet.set_barcode (string) [0x00011] in /Users/alessandrocaliaro/Projects/Soluzione1/Fev/Models/Ricevimento.cs:106
[mono-rt]   at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <IL 0x00062, 0xffffffff>
[mono-rt]   at <unknown> <0xffffffff>
[mono-rt]   at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <IL 0x00038, 0xffffffff>
[libc] Fatal signal 11 (SIGSEGV) at 0x3f800004 (code=1), thread 17628 (1.esselunga.fev)

I try to create a demo project...
Comment 3 Alessandro 2015-11-05 16:34:04 UTC
Hi guys, have someone take a look to this problem? We have to present the app to our customer but with this problem we can't.
We would like to have also a suggestion for eventually a workaround to bypass this problem. It's a Binding problem or it depends by CarouselPage?
Comment 4 Alessandro 2015-11-07 08:26:19 UTC
By now I have "solved" the problem removing the PageRiepilogoRicevimento from NavigationStack and including it as "last" page in CarouselPage. So we have not the "Crash".

Comment 5 Stephane Delcroix 2016-01-20 16:03:25 UTC
Hi Alessandro,

The link in comment #2 doesn't work. could you please fix it ?

Comment 6 Alessandro 2016-01-20 16:22:58 UTC
Sorry Stephane, I have reset the Mac so I have lost it... I need time to recreate because the project went forward.
Comment 7 Stephane Delcroix 2016-01-20 16:25:11 UTC
you're a lucky guy, if everything turns out ok, I'll get my hands on a tc70 tomorrow and I'll try to reproduce your issue with the original attachement
Comment 8 Stephane Delcroix 2016-01-21 14:49:06 UTC
Hi Alessandro,

your app fails to connect to its server, and doesn't pass step 1.

could you please share the smallest possible reproduction for this issue (no dependencies, no network connection required) so we can help you with this ?

I have a symbol tc75 handy, just for helping you (well, not you only)

warm regards,

the xf team
Comment 9 Alessandro 2016-01-21 15:42:37 UTC
Stephen, I think you have the "full" source.
I have to cut some rows to have a source working offline.
I am working on this project because I have to close some requests. Next week I hope to have some times to send you a project. Stay tuned.
Comment 10 Alessandro 2016-01-23 13:08:01 UTC
Stephan, I am not able to send you the source with the problem because my "workaround" to solve the problem has changed too much the project.
I have tried to reproduce with a new project (navigation page with carouser, bindings and a pushmodelasync page) but it works.

It could be resolved with a XF upgrade...

I will inform you if I will catch again the error.
Comment 11 Rui Marinho 2016-04-13 19:20:16 UTC
Thank you for your bug report. As we have not received the information requested, we cannot properly triage your bug and are marking it resolved.

Warm regards,
Xamarin Forms Team