[Mono-bugs] [Bug 60663][Nor] New - MeasureString and DrawString crash

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 23 Jun 2004 17:57:19 -0400 (EDT)


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 david.mitchell@telogis.com.

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

--- shadow/60663	2004-06-23 17:57:19.000000000 -0400
+++ shadow/60663.tmp.18338	2004-06-23 17:57:19.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 60663
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Gentoo
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: david.mitchell@telogis.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MeasureString and DrawString crash
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Graphics.MeasureString and Graphics.DrawString can be used in combination
+to cause a crash (seg fault).
+
+Steps to reproduce the problem:
+1. Compile the attached test case (mcs -debug -r:System.Drawing draw.cs)
+2. Run it (mono --debug draw.exe)
+
+Actual Results:
+Null Reference Exception
+
+
+Expected Results:
+Clean exit
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+Try taking the g.MeasureString line out (line 13) and the program runs fine
+but it shouldn't make a difference to this program.