[Mono-bugs] [Bug 79517][Blo] Changed - Link Label crashes when setting Text property
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Sep 28 15:23:08 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 sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79517
--- shadow/79517 2006-09-28 03:49:56.000000000 -0400
+++ shadow/79517.tmp.22778 2006-09-28 15:23:08.000000000 -0400
@@ -91,6 +91,29 @@
source and .exe illustrating crash
------- Additional Comments From mrj001 at shaw.ca 2006-09-28 03:49 -------
I am using Mono 1.1.17.1 with libgdiplus 1.1.17.
+
+------- Additional Comments From sebastien at ximian.com 2006-09-28 15:23 -------
+Did a quick check to see if this was coming from SD/libgdiplus. The
+CharacterRange values of the StringFormat received by
+System.Drawing.Graphics.MeasureCharacterRanges is invalid.
+
+** (<unknown>:10337): WARNING **: (start < 0) || (end > length) - i 1,
+start 12, end 37, length 35
+
+Unhandled Exception: System.ArgumentException: Invalid Parameter. A
+null reference or invalid value was found.
+ at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0006d] in
+/home/poupou/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:180
+ at System.Drawing.Graphics.MeasureCharacterRanges (System.String
+text, System.Drawing.Font font, RectangleF layoutRect,
+System.Drawing.StringFormat stringFormat) [0x000be] in
+/home/poupou/svn/mcs/class/System.Drawing/System.Drawing/Graphics.cs:1901
+ at (wrapper remoting-invoke-with-check)
+System.Drawing.Graphics:MeasureCharacterRanges
+(string,System.Drawing.Font,System.Drawing.RectangleF,System.Drawing.StringFormat)
+ at System.Windows.Forms.LinkLabel.CreateLinkPieces () [0x00259] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LinkLabel.cs:585
+
More information about the mono-bugs
mailing list