I'm not sure if this is the issue or not but from the device specs I
take it that they device is running Android 2.1. There is a known
issues with 2.1 where Samsung release a broken kernel. The following
text is taking from the Xamarin web site....

"Warnings
Warning: Samsung shipped a broken kernel with Android 2.1, which is
not able to support JIT compilation. If you possess a Galaxy-class
device with Android 2.1, you will get unexpected results, this is
caused by a kernel bug that breaks cache coherency, rendering any
engine doing JIT compilation useless. Check with your
manufacturer/carrier for an Android 2.2 update."


Since I see some calls to Reflection.Emit, this may be this issue.
Hopefully someone better at reading the log and more knowledgeable
than me can help answer.

Mike Child



On Fri, Dec 9, 2011 at 12:02 PM, klimaye <klim...@gmail.com> wrote:
> The app is on the store and crashes as soon as it is started. This does not
> happen on a host of other devices.
>
> We tested on Samsung Galaxy S2 and this did not happen. This happens on the
> Samsung Galaxy S1 phone.
>
> Device Spec :
> Phone :  Samsung Galaxy SGH - 1897
> Kernel : 2.6.9
> Firmware : 2.1
>
> Please advice, we would like our customers to get an update ASAP if
> possible.
>
> If there is a newer build I can try, please let me know.
>
> Thanks
>
>
> Log :
>
> I/monodroid-gc(31885): environment does not support jni NewWeakGlobalRef
> E/mono    (31885):
> E/mono    (31885): Unhandled Exception: System.NullReferenceException:
> Object reference not set to an instance of an object
> E/mono    (31885):   at System.Reflection.Emit.DynamicMethod..ctor
> (System.String name, MethodAttributes attributes, CallingConventions
> callingConvention, System.Type returnType, System.Type[] parameterTypes,
> System.Type owner, Boolean skipVisibility) [0x00000] in <filename unknown>:0
> E/mono    (31885):   at System.Reflection.Emit.DynamicMethod..ctor
> (System.String name, System.Type returnType, System.Type[] parameterTypes,
> System.Type owner, Boolean skipVisibility) [0x00000] in <filename unknown>:0
> I/ActivityManager( 2244): Starting activity: Intent {
> act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
> flg=0x10200000 cmp=Test.PocketRx/pocketrxmono.AppStartActivity }
> I/ActivityManager( 2244): Start proc Test.PocketRx for activity
> Test.PocketRx/pocketrxmono.AppStartActivity: pid=31990 uid=10134 gids={3003,
> 1006}
> I/ActivityThread(31990): Publishing provider Test.PocketRx.__mono_init__:
> mono.MonoRuntimeProvider
> D/dalvikvm(31990): Trying to load lib
> /data/data/TEST.PocketRx/lib/libmonodroid.so 0x47a6da30
> D/dalvikvm(31990): Added shared lib
> /data/data/TEST.PocketRx/lib/libmonodroid.so 0x47a6da30
> I/monodroid-gc(31990): environment does not support jni NewWeakGlobalRef
> W/        (31990): invalid code stream, instruction before IMT value is not
> a LDC in mono_arch_find_imt_method() (code 0x4ba05fd4 value 0: 0xe58d0008
> -1: 0xe591f064 -2: 0xe1a0e00f)
> F/        (31990): * Assertion at ../../../../mono/mini/mini-arm.c:5559,
> condition `IS_LDR_PC (code_ptr [0])' not met
> I/mono    (31990): Stacktrace:
> I/mono    (31990):
> I/mono    (31990):   at
> System.Collections.CaseInsensitiveHashCodeProvider.AreEqual
> (System.Globalization.CultureInfo,System.Globalization.CultureInfo)
> <0x00023>
> I/mono    (31990):   at
> System.Collections.CaseInsensitiveHashCodeProvider..cctor () <0x00027>
> I/mono    (31990):   at (wrapper runtime-invoke) object.runtime_invoke_void
> (object,intptr,intptr,intptr) <0xffffffff>
> I/mono    (31990):   at System.Security.Cryptography.CryptoConfig.Initialize
> () <0x0001b>
> I/mono    (31990):   at
> System.Security.Cryptography.CryptoConfig.CreateFromName (string,object[])
> <0x0006f>
> I/mono    (31990):   at
> System.Security.Cryptography.CryptoConfig.CreateFromName (string) <0x00017>
> I/mono    (31990):   at
> System.Security.Cryptography.RandomNumberGenerator.Create (string) <0x00013>
> I/mono    (31990):   at
> System.Security.Cryptography.RandomNumberGenerator.Create () <0x0000f>
> I/mono    (31990):   at System.Guid.NewGuid () <0x0008f>
> I/mono    (31990):   at Android.Runtime.JNINativeWrapper.CreateDelegate
> (System.Delegate,System.Reflection.MethodInfo,System.Reflection.MethodInfo)
> <0x00187>
> I/mono    (31990):   at Android.Runtime.JNINativeWrapper.CreateDelegate
> (System.Delegate) <0x0001b>
> I/mono    (31990):   at Android.App.Application.GetOnCreateHandler ()
> <0x00067>
> I/mono    (31990):   at Android.Runtime.JNIEnv.RegisterJniNatives
> (intptr,int,intptr,intptr,int) <0x0055b>
> I/mono    (31990):   at (wrapper runtime-invoke)
> <Module>.runtime_invoke_void_intptr_int_intptr_intptr_int
> (object,intptr,intptr,intptr) <0xffffffff>
> W/ActivityManager( 2244): Activity pause timeout for HistoryRecord{48316e68
> Test.PocketRx/pocketrxmono.AppStartActivity}
> W/ActivityManager( 2244): Activity idle timeout for HistoryRecord{48316e68
> Test.PocketRx/pocketrxmono.AppStartActivity}
>
> --
> View this message in context: 
> http://mono-for-android.1047100.n5.nabble.com/App-Crashes-on-Samssung-Galaxy-SGH-1897-Uncatchable-Exception-thrown-by-mono-tp5062375p5062375.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
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to