mail-archives/mono-bugs/2007-January/052942.html

95 строки
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 80552][Maj] New - [Windows] Font.ToHfont leaks GDI objects
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2080552%5D%5BMaj%5D%20New%20-%20%5BWindows%5D%20Font.ToHfont%20leaks%20GDI%0A%09objects&In-Reply-To=bug-80552%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="052941.html">
<LINK REL="Next" HREF="052943.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 80552][Maj] New - [Windows] Font.ToHfont leaks GDI objects</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2080552%5D%5BMaj%5D%20New%20-%20%5BWindows%5D%20Font.ToHfont%20leaks%20GDI%0A%09objects&In-Reply-To=bug-80552%40chernobyl.ximian.com"
TITLE="[Mono-bugs] [Bug 80552][Maj] New - [Windows] Font.ToHfont leaks GDI objects">bugzilla-daemon at bugzilla.ximian.com
</A><BR>
<I>Thu Jan 18 18:23:59 EST 2007</I>
<P><UL>
<LI>Previous message: <A HREF="052941.html">[Mono-bugs] [Bug 80207][Nor] Changed - ListView ColumnHeader has wrong height when Width is -1 or -2
</A></li>
<LI>Next message: <A HREF="052943.html">[Mono-bugs] [Bug 80552][Maj] Changed - [Windows] Font.ToHfont leaks GDI objects
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#52942">[ date ]</a>
<a href="thread.html#52942">[ thread ]</a>
<a href="subject.html#52942">[ subject ]</a>
<a href="author.html#52942">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">monkey at jpobst.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=80552">http://bugzilla.ximian.com/show_bug.cgi?id=80552</A>
--- shadow/80552 2007-01-18 18:23:59.000000000 -0500
+++ shadow/80552.tmp.2339 2007-01-18 18:23:59.000000000 -0500
@@ -0,0 +1,27 @@
+Bug#: 80552
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details: WinXPSP2
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: Sys.Drawing.
+AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">monkey at jpobst.com</A>
+QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [Windows] Font.ToHfont leaks GDI objects
+
+Calling Font.ToHfont seems to leak a GDI object every time it is called.
+
+Running the attached case on WinMono reports ~2030 GDI objects in use.
+Running on MS .Net reports ~30 GDI objects in use.
+
+(GDI object stats from the GDI Objects column of task manager's process list.)
+
+Apps crash on my machine (OutOfMemoryException) when they have about 10,000
+GDI objects in use.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="052941.html">[Mono-bugs] [Bug 80207][Nor] Changed - ListView ColumnHeader has wrong height when Width is -1 or -2
</A></li>
<LI>Next message: <A HREF="052943.html">[Mono-bugs] [Bug 80552][Maj] Changed - [Windows] Font.ToHfont leaks GDI objects
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#52942">[ date ]</a>
<a href="thread.html#52942">[ thread ]</a>
<a href="subject.html#52942">[ subject ]</a>
<a href="author.html#52942">[ 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>