[mono-android] Stacktrace-less crash in 4.0.1 (I think)
Steven Pack
steven_john_pack at yahoo.com.au
Thu Dec 15 06:51:15 EST 2011
Hi All,
I got the dreaded stack-traceless NullReferenceException again on Monodroid
4.0.1 At least I think I that's what I'm on
MonoDevelop About window says:
Mono for Android: 4.0.1.234125318
Build information:
Release ID: 20805000
Git revision: c4deb930539ae87247b0bc43919dfcb98df215c2
Build date: 2011-12-09 23:27:52+0000
So, that looks good, but the assemblies themselves still say 4.0.0.0 (should
they be 4.0.1.234125318?)
System.Core 4.0.0.0
/Library/Frameworks/Mono.framework/Versions/2.10.6/lib/mono/gac/System.Core/
4.0.0.0__b77a5c561934e089/System.Core.dll
glib-sharp 2.12.0.0
/Library/Frameworks/Mono.framework/Versions/2.10.6/lib/mono/gac/glib-sharp/2
.12.0.0__35e10195dab3c99f/glib-sharp.dll
System 4.0.0.0
/Library/Frameworks/Mono.framework/Versions/2.10.6/lib/mono/gac/System/4.0.0
.0__b77a5c561934e089/System.dll
When I run the app, my versions are:
Console.WriteLine (GetType ().Assembly.ImageRuntimeVersion);
Console.WriteLine (GetType ().Assembly.GetName ().Version.ToString ());
Console.WriteLine (typeof(Android.App.Activity).Assembly.GetName
().Version.ToString ());
Console.WriteLine (typeof(Mono.Data.Sqlite.SqliteCommand).Assembly.GetName
().Version.ToString ());
I/mono-stdout( 495): v2.0.50727
I/mono-stdout( 495): 1.0.4366.40581
I/mono-stdout( 495): 0.0.0.0
I/mono-stdout( 495): 2.0.5.0
And here is an example of the crash no change from 4.0. It only ever
happens during resume, so I'm sure how to go about a repro.
Help!
2011-12-15 12:33:39.962 I 97/ActivityManager: Start proc
com.xxxdictionary.android for activity
com.xxxdictionary.android/.WordSearchActivity: pid=22217 uid=10037
gids={1015, 3003}
2011-12-15 12:33:39.972 I 22217/pthread: ## thread 22218 is created success
2011-12-15 12:33:39.972 I 22217/pthread: ## thread 22217 is creating thread
@dalvik/vm/Thread.c:1795
2011-12-15 12:33:39.972 I 22217/pthread: ## thread 22219 is created success
2011-12-15 12:33:40.022 I 22217/pthread: ## thread 22217 is creating thread
@dalvik/vm/Thread.c:1795
2011-12-15 12:33:40.022 I 22217/pthread: ## thread 22220 is created success
2011-12-15 12:33:40.032 I 22217/pthread: ## thread 22217 is creating thread
@frameworks/base/libs/utils/Threads.cpp:139
2011-12-15 12:33:40.042 I 22217/pthread: ## thread 22221 is created success
2011-12-15 12:33:40.052 I 22217/pthread: ## thread 22221 is creating thread
@frameworks/base/libs/utils/Threads.cpp:139
2011-12-15 12:33:40.052 I 22217/pthread: ## thread 22222 is created success
2011-12-15 12:33:40.122 D 67/dalvikvm: GC_EXPLICIT freed 304 objects / 11504
bytes in 160ms
2011-12-15 12:33:40.212 I 22217/ActivityThread: Publishing provider
com.xxxdictionary.android.__mono_init__: mono.MonoRuntimeProvider
2011-12-15 12:33:40.212 D 22217/dalvikvm: Trying to load lib
/data/data/com.xxxdictionary.android/lib/libmonodroid.so 0x44cce350
2011-12-15 12:33:40.262 D 22217/dalvikvm: Added shared lib
/data/data/com.xxxdictionary.android/lib/libmonodroid.so 0x44cce350
2011-12-15 12:33:40.312 D 67/dalvikvm: GC_EXPLICIT freed 57 objects / 2568
bytes in 180ms
2011-12-15 12:33:40.442 D 67/dalvikvm: GC_EXPLICIT freed 2 objects / 48
bytes in 125ms
2011-12-15 12:33:40.582 I 97/LSState:
EventReceiver:android.intent.action.NOTIFICATION_UPDATE
2011-12-15 12:33:40.982 I 22217/pthread: ## thread 22223 is created success
2011-12-15 12:33:40.982 I 22217/monodroid-gc: environment supports jni
NewWeakGlobalRef
2011-12-15 12:33:41.762 I 22217/mono: Stacktrace:
2011-12-15 12:33:41.792 E 22217/mono:
Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object
2011-12-15 12:33:41.822 I 97/ActivityManager: Process
com.xxxdictionary.android (pid 22217) has died.
2011-12-15 12:33:41.833 E 97/ActivityManager: fail to set top app changed!
2011-12-15 12:33:41.843 D 67/Zygote: Process 22217 exited cleanly (1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodroid/attachments/20111215/bb15a1b9/attachment.html
More information about the Monodroid
mailing list