[Mono-bugs] [Bug 78742][Nor] New - System.Drawing.Graphics.DrawLine method throws System.Exception in System.Drawing.GDIPlus.CheckStatus

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jul 1 00:52:30 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 roman.s at sbcglobal.net.

http://bugzilla.ximian.com/show_bug.cgi?id=78742

--- shadow/78742	2006-07-01 00:52:30.000000000 -0400
+++ shadow/78742.tmp.31139	2006-07-01 00:52:30.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 78742
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: Fedora Core 5
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: peter at novonyx.com                            
+ReportedBy: roman.s at sbcglobal.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Drawing.Graphics.DrawLine method throws System.Exception in System.Drawing.GDIPlus.CheckStatus
+
+Description of Problem:
+
+System.Drawing.Graphics.DrawLine method throws System.Exception in
+System.Drawing.GDIPlus.CheckStatus method. Simple test application
+that works very well with MS .NET Framework crashes with Mono.
+
+Steps to reproduce the problem:
+1. Compile (mcs @TestLines.rsp) and run (mono TestLines.exe) test application
+
+Actual Results:
+
+Unhandled Exception: System.Exception: Generic Error.
+in <0x00053> System.Drawing.GDIPlus:CheckStatus (Status status)
+in <0x00048> System.Drawing.Graphics:DrawLine (System.Drawing.Pen pen,
+Int32 x1, Int32 y1, Int32 x2, Int32 y2)
+in (wrapper remoting-invoke-with-check) System.Drawing.Graphics:DrawLine
+(System.Drawing.Pen,int,int,int,int)
+in <0x0013f> WinFormApp.Form1:OnPaint (System.Windows.Forms.PaintEventArgs e)
+
+Expected Results:
+
+Should work (and works for MS .NET Framework)
+
+How often does this happen? 
+
+Almost always. You need to be very lucky to run it without crash.
+
+Additional Information:


More information about the mono-bugs mailing list