[Mono-bugs] [Bug 80799][Wis] New - Multithreaded App crashes in random locations

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 11 18:12:27 EST 2007

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


--- shadow/80799	2007-02-11 18:12:27.000000000 -0500
+++ shadow/80799.tmp.26534	2007-02-11 18:12:27.000000000 -0500
@@ -0,0 +1,67 @@
+Bug#: 80799
+Product: Mono: Class Libraries
+Version: 1.0
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: joncham at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Multithreaded App crashes in random locations
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+This app will not start up, and crashes in random locations. Not sure if
+it's a winforms problem or some race condition in the runtime as it always
+seems to die in a pinvoke.
+Steps to reproduce the problem:
+1. Run attached sample.
+Actual Results:
+Random exceptions 
+  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipMeasureString
+ectangleF&,int&,int&) <0x00004>
+  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipMeasureString
+ectangleF&,int&,int&) <0xffffffff>
+  at System.Drawing.Graphics.MeasureString
+(string,System.Drawing.Font,System.Drawing.SizeF) <0x00188>
+  at System.Drawing.Graphics.MeasureString (string,System.Drawing.Font)
+  at (wrapper remoting-invoke-with-check)
+System.Drawing.Graphics.MeasureString (string,System.Drawing.Font) <0xffffffff>
+  at System.Windows.Forms.Form.GetAutoScaleSize
+(System.Drawing.Graphics,System.Drawing.Font) <0x00050>
+  at System.Windows.Forms.Form..ctor () <0x0003e>
+  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form..ctor
+() <0xffffffff>
+  at MultiThreadExceptionTest.MyThreadStart () <0x0001b>
+  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void ()
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
+(object,intptr,intptr,intptr) <0xffffffff>
+This application has requested the Runtime to terminate it in an unusual way.
+Please contact the application's support team for more information.
+Expected Results:
+No crash (like on .Net)
+How often does this happen? 
+Additional Information:

More information about the mono-bugs mailing list