[Mono-bugs] [Bug 61414][Nor] Changed - System.Drawing.Graphics.DrawString crash
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 12 Jul 2004 07:51:46 -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 rkumar@novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=61414
--- shadow/61414 2004-07-11 17:50:48.000000000 -0400
+++ shadow/61414.tmp.22898 2004-07-12 07:51:46.000000000 -0400
@@ -1,22 +1,21 @@
Bug#: 61414
Product: Mono: Class Libraries
Version: unspecified
-OS:
+OS: unknown
OS Details:
-Status: NEW
+Status: NEEDINFO
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: Sys.Drawing.
AssignedTo: mono-bugs@ximian.com
ReportedBy: cleonard@go.ro
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
-Cc:
Summary: System.Drawing.Graphics.DrawString crash
I get a crash on this sample code below, at the SECOND DrawString.
using System;
using System.Drawing;
@@ -52,6 +51,29 @@
in <0x000a3> System.Drawing.Graphics:DrawString
(string,System.Drawing.Font,System.Drawing.Brush,single,single)
in <0x000be> (wrapper remoting-invoke-with-check)
System.Drawing.Graphics:DrawString
(string,System.Drawing.Font,System.Drawing.Brush,single,single)
in <0x00125> Font:Main ()
+
+------- Additional Comments From rkumar@novell.com 2004-07-12 07:51 -------
+Could you please try the following patch in libgdiplus and let us know
+the results ?
+
+Index: src/gdip.h
+===================================================================
+RCS file: /cvs/public/libgdiplus/src/gdip.h,v
+retrieving revision 1.86
+diff -u -r1.86 gdip.h
+--- src/gdip.h 9 Jul 2004 11:43:50 -0000 1.86
++++ src/gdip.h 12 Jul 2004 10:03:31 -0000
+@@ -74,7 +74,7 @@
+ struct cairo_font {
+ int refcount;
+ cairo_matrix_t matrix;
+- //void *glyph_cache;
++ void *glyph_cache;
+ const struct cairo_font_backend *backend;
+ };
+
+
+Thanks!