mail-archives/mono-bugs/2010-October/104897.html

183 строки
5.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 646424] New: Multiple thread pool threads cause VM crash
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20646424%5D%20New%3A%20Multiple%20thread%20pool%20threads%20cause%20VM%0A%09crash&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="104894.html">
<LINK REL="Next" HREF="105010.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 646424] New: Multiple thread pool threads cause VM crash</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20646424%5D%20New%3A%20Multiple%20thread%20pool%20threads%20cause%20VM%0A%09crash&In-Reply-To="
TITLE="[Mono-bugs] [Bug 646424] New: Multiple thread pool threads cause VM crash">bugzilla_noreply at novell.com
</A><BR>
<I>Thu Oct 14 00:06:53 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="104894.html">[Mono-bugs] [Bug 641895] Java callable classes in libraries cannot be resolved at runtime
</A></li>
<LI>Next message: <A HREF="105010.html">[Mono-bugs] [Bug 646424] Multiple thread pool threads cause VM crash
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#104897">[ date ]</a>
<a href="thread.html#104897">[ thread ]</a>
<a href="subject.html#104897">[ subject ]</a>
<a href="author.html#104897">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=646424">https://bugzilla.novell.com/show_bug.cgi?id=646424</A>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=646424#c0">https://bugzilla.novell.com/show_bug.cgi?id=646424#c0</A>
Summary: Multiple thread pool threads cause VM crash
Classification: Mono
Product: MonoDroid
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: Runtime
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">steveniemitz at gmail.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
Blocker: ---
If you compile and run this:
<A HREF="http://pastebin.com/spH545DP">http://pastebin.com/spH545DP</A>
on preview 5 the app will crash shortly after the button text updates.
Here's the logcat output:
10-14 03:57:16.921: INFO/ActivityManager(59): Displayed activity
RunOnUI.RunOnUI/runOnUI.__Proxy__Activity1: 1622 ms (total 1622 ms)
10-14 03:57:16.941: DEBUG/dalvikvm(2253): Trying to load lib
/data/data/RunOnUI.RunOnUI/lib/libmonodroid.so 0x44e7ead8
10-14 03:57:16.941: DEBUG/dalvikvm(2253): Added shared lib
/data/data/RunOnUI.RunOnUI/lib/libmonodroid.so 0x44e7ead8
10-14 03:57:19.401: INFO/ActivityManager(59): Displayed activity
RunOnUI.RunOnUI/runOnUI.Activity1: 2657 ms (total 2657 ms)
10-14 03:57:24.841: DEBUG/dalvikvm(2253): GREF has increased to 201
10-14 03:57:25.271: DEBUG/dalvikvm(402): GC_EXPLICIT freed 129 objects / 8384
bytes in 840ms
10-14 03:57:29.481: DEBUG/dalvikvm(123): GC_EXPLICIT freed 273 objects / 13016
bytes in 54ms
10-14 03:57:32.906: DEBUG/dalvikvm(2253): threadid=8: thread exiting, not yet
detached (count=0)
10-14 03:57:32.906: DEBUG/dalvikvm(2253): threadid=8: thread exiting, not yet
detached (count=1)
10-14 03:57:32.906: ERROR/dalvikvm(2253): threadid=8: native thread exited
without detaching
10-14 03:57:32.906: ERROR/dalvikvm(2253): VM aborting
10-14 03:57:32.906: WARN/mono(2253): Thread 0x0 may have been prematurely
finalized
10-14 03:57:32.930: DEBUG/Zygote(33): Process 2253 terminated by signal (11)
10-14 03:57:32.930: INFO/ActivityManager(59): Process RunOnUI.RunOnUI (pid
2253) has died.
10-14 03:57:32.940: INFO/WindowManager(59): WIN DEATH: Window{4502e418
RunOnUI.RunOnUI/runOnUI.Activity1 paused=false}
10-14 03:57:33.000: INFO/UsageStats(59): Unexpected resume of
com.android.launcher while already resumed in RunOnUI.RunOnUI
10-14 03:57:33.220: WARN/InputManagerService(59): Got RemoteException sending
setActive(false) notification to pid 2253 uid 10034
If you watch DDMS while this runs you can see it create 2 worker threads. If
you set it up so it only ever has 1 threadpool thread outstanding at a time
(ex. remove the loop) it won't crash (from what I've seen so far).
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="104894.html">[Mono-bugs] [Bug 641895] Java callable classes in libraries cannot be resolved at runtime
</A></li>
<LI>Next message: <A HREF="105010.html">[Mono-bugs] [Bug 646424] Multiple thread pool threads cause VM crash
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#104897">[ date ]</a>
<a href="thread.html#104897">[ thread ]</a>
<a href="subject.html#104897">[ subject ]</a>
<a href="author.html#104897">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>