[Mono-bugs] [Bug 78315][Min] Changed - [WIN32] Crash in System.Windows.Forms programs with --trace

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 19 09:58:51 EDT 2006

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 jordimash at gmail.com.


--- shadow/78315	2006-09-19 09:18:06.000000000 -0400
+++ shadow/78315.tmp.6370	2006-09-19 09:58:51.000000000 -0400
@@ -370,6 +370,16 @@
 This is not caused by the COM wrapper. As I said in the comment when 
 I reopened the bug I tested the crash without the COM wrapper and I 
 got the same result.
 ------- Additional Comments From sebastien at ximian.com  2006-09-19 09:18 -------
 *** Bug 79438 has been marked as a duplicate of this bug. ***
+------- Additional Comments From jordimash at gmail.com  2006-09-19 09:58 -------
+The problem is that we call DisposeImage and other resource destroy
+GDI API calls AFTER the libgdiplus has been shutdown.
+Our code at GDIPlus.ProcessExit calls WaitForPendingFinalizers but
+this only waits for the current thread, not the Windows Forms app one
+for example.
+Attached is a patch the fixes the problem in my machine. Jordi,

More information about the mono-bugs mailing list