Seems like something similar to
https://bugzilla.xamarin.com/show_bug.cgi?id=13521



On 6 August 2013 17:33, JLee <mono.andr...@gridline.de> wrote:

> Hello,
>
> accessing IEditable paramter on AfterTextChange-Member of ITextWatcher
> craches my app immediately:
> I got this problem on several devices (S3, Note 2, One X) (all Android
> 4.1.2)
>
> Code:*
> public void AfterTextChanged(Android.Text.IEditable s)
> {
>     TextTransformation(s);
> }
>
> public void AfterTextChanged(Android.Text.IEditable s)
> {
>     char test = s.CharAt(i);   //<- this line causes the crash
> }
>
> Stackstrace:*
> 08-06 13:11:06.540 E/mono-rt (26902):   at <unknown> <0xffffffff>
> 08-06 13:11:06.540 E/mono-rt (26902):   at (wrapper managed-to-native)
> object.wrapper_native_0x4086b92d (intptr,intptr,string,string) <0xffffffff>
> 08-06 13:11:06.540 E/mono-rt (26902):   at (wrapper delegate-invoke)
> <Module>.invoke_intptr__this___intptr_intptr_string_string
> (intptr,intptr,string,string) <0xffffffff>
> 08-06 13:11:06.540 E/mono-rt (26902):   at
> Android.Runtime.JNIEnv.GetMethodID (intptr,string,string) <0x00053>
> 08-06 13:11:06.540 E/mono-rt (26902):   at
> Android.Text.IEditableInvoker.CharAt (int) <0x00053>
> 08-06 13:11:06.540 E/mono-rt (26902):   at
> xxx.EditTextHandler.TextTransformation (Android.Text.IEditable) <0x000df>
> 08-06 13:11:06.540 E/mono-rt (26902):   at
> xxx.EditTextHandler.AfterTextChanged (Android.Text.IEditable) <0x00337>
> 08-06 13:11:06.540 E/mono-rt (26902):   at
> Android.Text.ITextWatcherInvoker.n_AfterTextChanged_Landroid_text_Editable_
> (intptr,intptr,intptr) <0x0005b>
> 08-06 13:11:06.540 E/mono-rt (26902):   at (wrapper dynamic-method)
> object.46dcfcc9-baa6-4343-9a32-878d97b11c5d (intptr,intptr,intptr)
> <0x00043>
> 08-06 13:11:06.540 E/mono-rt (26902):   at (wrapper native-to-managed)
> object.46dcfcc9-baa6-4343-9a32-878d97b11c5d (intptr,intptr,intptr)
> <0xffffffff>
> 08-06 13:11:06.540 E/mono-rt (26902):
> 08-06 13:11:06.540 E/mono-rt (26902):
> =================================================================
> 08-06 13:11:06.540 E/mono-rt (26902): Got a SIGSEGV while executing native
> code. This usually indicates
> 08-06 13:11:06.540 E/mono-rt (26902): a fatal error in the mono runtime or
> one of the native libraries
> 08-06 13:11:06.540 E/mono-rt (26902): used by your application.
> 08-06 13:11:06.540 E/mono-rt (26902): ==================================
>
> Any idea?
>
> Lee
>
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Since-4-8-0-1-SIGSEGV-on-accessing-IEditable-from-ITextWatcher-s-AfterTextChange-tp5713467.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>



-- 
Gonçalo Oliveira
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to