[mono-android] Mono Stacktrace and ANR
Andrew Sinclair
andrew at magic5software.com
Thu Nov 17 04:42:26 EST 2011
David,
See my response to Piotr's "Random exceptions..." e-mail just now, I think
you're seeing the same problem.
Andy
-----Original Message-----
From: monodroid-bounces at lists.ximian.com
[mailto:monodroid-bounces at lists.ximian.com] On Behalf Of HSSoftware
Sent: 16 November 2011 23:52
To: monodroid at lists.ximian.com
Subject: [mono-android] Mono Stacktrace and ANR
I am getting an ANR from Android 5 seconds after seeing a mono stacktrace. I
would appreciate any guidance.
The code is in a ListView list adapter, trying to get a blob image from an
SQLite database. This same code sequence executes fine many times before
this failure. Heapsize is at about 18 MB, well within Kindle Fire 64 MB
limit. Is this a GC issue?
I have a longer trace available if desired.
11-16 17:37:49.982: I/AALog(2417): [990 18.1 +0.0] ShowImagesAsyncTask
workId=52479 seq=819 hasImg=False hasThumb=False
11-16 17:37:49.982: D/skia(2417): Loading ARM decoder...
11-16 17:37:49.982: D/skia(2417): Loading ARM decoder...
11-16 17:37:49.990: D/skia(2417): Loading ARM decoder...
11-16 17:37:49.998: D/skia(2417): Loading ARM decoder...
11-16 17:37:50.005: D/skia(2417): Loading ARM decoder...
11-16 17:37:50.013: D/skia(2417): Loading ARM decoder...
11-16 17:37:50.091: I/mono(2417): Stacktrace:
11-16 17:37:50.091: I/mono(2417): at Android.Runtime.JNIEnv._GetArray
(intptr,System.Type) <0x00117>
11-16 17:37:50.091: I/mono(2417): at Android.Runtime.JNIEnv.GetArray
(intptr,Android.Runtime.JniHandleOwnership,System.Type) <0x00023>
11-16 17:37:50.091: I/mono(2417): at
Android.Database.AbstractCursor.GetBlob (int) <0x00143>
11-16 17:37:50.091: I/mono(2417): at Aakf.Database.DbGet.GetImageThumbnail
(int,byte[]&) <0x00137>
11-16 17:37:50.091: I/mono(2417): at
Aakf.Cache.WorkThumbnailCache.RetrieveFromDatabase
(Aakf.Cache.WorkThumbnailCacheElement) <0x00033>
11-16 17:37:50.091: I/mono(2417): at
Aakf.Cache.WorkThumbnailCache.GetThumbnail (AakfBiz.DataObjects.WorkObj)
<0x00093>
11-16 17:37:50.091: I/mono(2417): at
Aakf.Screens.WallScreen.WorkThumbnailAdapter.GetView
(int,Android.Views.View,Android.Views.ViewGroup) <0x002b7>
11-16 17:37:50.091: I/mono(2417): at
Android.Widget.IAdapterInvoker.n_GetView_ILandroid_view_View_Landroid_view_V
iewGroup_
(intptr,intptr,int,intptr,intptr) <0x0008b>
11-16 17:37:50.091: I/mono(2417): at (wrapper dynamic-method)
object.2b988d1f-e5da-4b61-8a98-687f0824fd94
(intptr,intptr,int,intptr,intptr) <0x0004b>
11-16 17:37:50.091: I/mono(2417): at (wrapper native-to-managed)
object.2b988d1f-e5da-4b61-8a98-687f0824fd94
(intptr,intptr,int,intptr,intptr) <0xffffffff>
11-16 17:37:55.240: I/InputDispatcher(1399): Application is not responding:
Window{406b9340 com.xxx.yyy/aakf.screens.imagegrid.ImageGridActivity
paused=false}. 5014.6ms since event, 5005.5ms since wait started
11-16 17:37:55.240: I/WindowManager(1399): Input event dispatching timed out
sending to com.xxx.yyy/aakf.screens.imagegrid.ImageGridActivity
11-16 17:37:55.248: I/Process(1399): Sending signal. PID: 2417 SIG: 3
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Mono-Stacktrace-and-ANR-tp4999
478p4999478.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid at lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
More information about the Monodroid
mailing list