[mono-android] Background thread kills application

Jonathan Pryor jonp at xamarin.com
Mon Oct 22 19:06:46 UTC 2012


On Oct 22, 2012, at 9:47 AM, Jeremy A. Kolb - ARA/NED <jkolb at ara.com> wrote:
> I’m running into a weird problem where I have a background thread initiated by ThreadPool.QueueUserWorkItem().  If the thread takes too long to execute

How long is "too long"? Which Android version are you seeing this on? Which target device?

> I just see START and then WIN DEATH.

Usually that's indicative of a crash somewhere. Try looking at logcat directly instead of using the IDE's Application Output window and see if there are any unhandled exceptions.

	http://docs.xamarin.com/android/advanced_topics/android_debug_log

Thanks,
 - Jon



More information about the Monodroid mailing list