I have a memory intensive Activity that is loading data in a separate thread
through a JNI database access layer, it works properly when I deploy to the
device, but crashes in debug mode.
I'm wondering if this is a bug in the Monodroid debugger. I've included the
debugging log below, I hope someone has a suggestion on a workaround since
this Activity is the entry point to a large portion of the application's
functionality and I would like to be able to debug code as a I develop.
03-16 11:35:57.590 I/ActivityManager( 189): START
{cmp=com.company.product/.workorders.WorkOrderSelectActivity} from pid 16436
03-16 11:35:57.600 D/WindowManager( 189): adjustConfigurationLw,
config:{1.0 0mcc0mnc (no locale) layoutdir=0 sw800dp w1280dp h752dp xlrg
land ?uimode ?night finger -keyb/v/h -nav/v} mLidOpen:-1
mHasDockFeature:true mHasHallSensorFeature:true config.hardKeyboardHidden:2
03-16 11:35:57.850 I/ActivityManager( 189): Displayed
com.company.product/.workorders.WorkOrderSelectActivity: +252ms
03-16 11:35:57.910 D/OpenGLRenderer(16436): Flushing caches (mode 0)
03-16 11:35:58.030 D/dalvikvm(16436): GC_CONCURRENT freed 368K, 5% free
7669K/8071K, paused 2ms+4ms
03-16 11:35:58.190 D/dalvikvm(16436): GC_FOR_ALLOC freed 259K, 5% free
7807K/8199K, paused 20ms
03-16 11:35:58.220 D/dalvikvm(16436): GC_FOR_ALLOC freed 66K, 6% free
7866K/8327K, paused 20ms
03-16 11:35:58.240 D/dalvikvm(16436): GC_FOR_ALLOC freed 1K, 6% free
7989K/8455K, paused 21ms
03-16 11:35:58.360 D/dalvikvm(16436): GC_CONCURRENT freed 464K, 7% free
8052K/8583K, paused 1ms+4ms
03-16 11:35:58.490 D/dalvikvm(16436): GC_CONCURRENT freed 240K, 4% free
8273K/8583K, paused 1ms+2ms
03-16 11:35:58.510 D/dalvikvm(16436): GC_FOR_ALLOC freed 63K, 5% free
8460K/8839K, paused 22ms
03-16 11:35:58.580 D/dalvikvm(16436): GC_FOR_ALLOC freed 384K, 7% free
8479K/9095K, paused 23ms
03-16 11:35:58.630 D/dalvikvm(16436): GC_FOR_ALLOC freed 400K, 7% free
8618K/9223K, paused 21ms
03-16 11:35:58.770 D/dalvikvm(16436): GC_FOR_ALLOC freed 364K, 5% free
8858K/9287K, paused 25ms
03-16 11:35:58.770 I/dalvikvm-heap(16436): Grow heap (frag case) to 9.217MB
for 562949-byte allocation
03-16 11:35:58.800 D/dalvikvm(16436): GC_FOR_ALLOC freed 0K, 5% free
9408K/9863K, paused 25ms
03-16 11:35:59.000 D/dalvikvm(16436): GC_EXPLICIT freed 1655K, 22% free
7752K/9863K, paused 2ms+2ms
03-16 11:35:59.000 I/monodroid-gc(16436): GC cleanup summary: 432 objects
tested - resurrecting 112.
03-16 11:36:00.680 V/product(16436): Attempting to parse:
162cd1c5-34d8-4f77-9f64-8e9ddda0fa89
03-16 11:36:00.690 V/product(16436): Attempting to parse:
162cd1c5-34d8-4f77-9f64-8e9ddda0fa89
03-16 11:36:00.980 D/dalvikvm(16436): GC_CONCURRENT freed 934K, 27% free
7217K/9863K, paused 2ms+2ms
03-16 11:36:01.100 D/dalvikvm(16436): GC_EXPLICIT freed 85K, 27% free
7212K/9863K, paused 2ms+2ms
03-16 11:36:01.100 I/monodroid-gc(16436): GC cleanup summary: 40 objects
tested - resurrecting 0.
03-16 11:36:01.420 D/dalvikvm(16436): GC_CONCURRENT freed 392K, 27% free
7220K/9863K, paused 2ms+2ms
03-16 11:36:01.740 D/dalvikvm(16436): GC_CONCURRENT freed 389K, 27% free
7235K/9863K, paused 2ms+2ms
03-16 11:36:01.890 D/dalvikvm(16436): GC_EXPLICIT freed 113K, 27% free
7226K/9863K, paused 2ms+3ms
03-16 11:36:01.890 I/monodroid-gc(16436): GC cleanup summary: 68 objects
tested - resurrecting 0.
03-16 11:36:02.180 D/dalvikvm(16436): GC_CONCURRENT freed 407K, 27% free
7219K/9863K, paused 1ms+2ms
03-16 11:36:02.480 D/dalvikvm(16436): GC_CONCURRENT freed 385K, 27% free
7229K/9863K, paused 1ms+2ms
03-16 11:36:02.800 D/dalvikvm(16436): threadid=12: thread exiting, not yet
detached (count=0)
03-16 11:36:02.830 D/dalvikvm(16436): GC_EXPLICIT freed 113K, 27% free
7272K/9863K, paused 2ms+2ms
03-16 11:36:02.840 I/monodroid-gc(16436): GC cleanup summary: 227 objects
tested - resurrecting 163.
03-16 11:36:02.980 D/AndroidRuntime(16493):
03-16 11:36:02.980 D/AndroidRuntime(16493): >>>>>> AndroidRuntime START
com.android.internal.os.RuntimeInit <<<<<<
03-16 11:36:02.980 D/AndroidRuntime(16493): CheckJNI is OFF
03-16 11:36:03.120 I/TextType( 468): TextType = 0x0
03-16 11:36:03.160 D/AndroidRuntime(16493): Calling main entry
com.android.commands.am.Am
03-16 11:36:03.170 D/AndroidRuntime(16493): Shutting down VM
03-16 11:36:03.180 D/dalvikvm(16493): GC_CONCURRENT freed 99K, 81% free
486K/2560K, paused 1ms+0ms
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Monodroid-Debugger-Crashes-when-loading-Activity-tp5571680p5571680.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid