mail-archives/monodroid/2011-December/007756.html

122 строки
3.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [mono-android] Thread Exceptions Without Stacktrace
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Thread%20Exceptions%20Without%20Stacktrace&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="007796.html">
<LINK REL="Next" HREF="007759.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[mono-android] Thread Exceptions Without Stacktrace</H1>
<B>Aaron Knabb</B>
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Thread%20Exceptions%20Without%20Stacktrace&In-Reply-To="
TITLE="[mono-android] Thread Exceptions Without Stacktrace">aknabb at mobileepiphany.com
</A><BR>
<I>Mon Dec 12 17:11:24 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="007796.html">[mono-android] How to Initialize text-to-speech for monodroid
</A></li>
<LI>Next message: <A HREF="007759.html">[mono-android] Thread Exceptions Without Stacktrace
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7756">[ date ]</a>
<a href="thread.html#7756">[ thread ]</a>
<a href="subject.html#7756">[ subject ]</a>
<a href="author.html#7756">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I've seen several similar issues on this topic, but the only solution seems
to be &quot;wait for the next version.&quot; I am running the latest 4.0 build, but I
keep seeing the following problem:
I have a worker thread that is randomly crashing and taking down the whole
app with it. I don't get any exception in the logs, and I am unable to trap
it with try/catch blocks. This thread does some web service work, disk
access, db access, and some bitmap manipulation. The only consistent thing
I can see in the logs is a GC_EXPLICIT that occurs right before the crash.
Note that other such calls execute fine on that thread, but the last call
on the thread is always a GC_EXPLICIT.
I'm having trouble making progress on it because I don't really know where
to start looking. It seems like it might be GC related, but I can't say
that for sure. Also, a simple test app doesn't seem to be an option because
the thread apparently needs to be heavily bogged down to see the problem.
Anyone got any ideas?
-Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20111212/093b3c6c/attachment.html">http://lists.ximian.com/pipermail/monodroid/attachments/20111212/093b3c6c/attachment.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="007796.html">[mono-android] How to Initialize text-to-speech for monodroid
</A></li>
<LI>Next message: <A HREF="007759.html">[mono-android] Thread Exceptions Without Stacktrace
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7756">[ date ]</a>
<a href="thread.html#7756">[ thread ]</a>
<a href="subject.html#7756">[ subject ]</a>
<a href="author.html#7756">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
mailing list</a><br>
</body></html>