[Mono-bugs] [Bug 468987] New: Adding specific unicode char to listview in details view crashes with gdi+ generic error
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jan 23 15:01:11 EST 2009
https://bugzilla.novell.com/show_bug.cgi?id=468987
Summary: Adding specific unicode char to listview in details
view crashes with gdi+ generic error
Classification: Mono
Product: Mono: Class Libraries
Version: 2.2.x
Platform: x86-64
OS/Version: Ubuntu
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: mono at esar.org.uk
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=267387)
--> (https://bugzilla.novell.com/attachment.cgi?id=267387)
test program
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.5)
Gecko/2008121623 Ubuntu/8.10 (intrepid) Firefox/3.0.5
If the unicode character 0xD9D8 is added to a listview item in details view
then the exception "System.Exception: Generic Error [GDI+ status:
GenericError]" is thrown with the following back trace:
System.Exception: Generic Error [GDI+ status: GenericError]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0007c] in
/home/stephen/monodev/src/mono-2.2/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:216
at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, Int32
x, Int32 y, Int32 width, Int32 height) [0x00029] in
/home/stephen/monodev/src/mono-2.2/mcs/class/System.Drawing/System.Drawing/Graphics.cs:1605
at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush,
Rectangle rect) [0x00011] in
/home/stephen/monodev/src/mono-2.2/mcs/class/System.Drawing/System.Drawing/Graphics.cs:1596
at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:FillRectangle
(System.Drawing.Brush,System.Drawing.Rectangle)
at System.Windows.Forms.ThemeWin32Classic.DrawListViewItem
(System.Drawing.Graphics dc, System.Windows.Forms.ListView control,
System.Windows.Forms.ListViewItem item) [0x00418] in
/home/stephen/monodev/src/mono-2.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs:3008
at System.Windows.Forms.ThemeWin32Classic.DrawListViewItems
(System.Drawing.Graphics dc, Rectangle clip, System.Windows.Forms.ListView
control) [0x00074] in
/home/stephen/monodev/src/mono-2.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs:2655
at System.Windows.Forms.ListView+ItemControl.OnPaintInternal
(System.Windows.Forms.PaintEventArgs pe) [0x00000] in
/home/stephen/monodev/src/mono-2.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs:3146
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m)
[0x00078] in
/home/stephen/monodev/src/mono-2.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5569
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x0016c] in
/home/stephen/monodev/src/mono-2.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5329
at System.Windows.Forms.ListView+ItemControl.WndProc
(System.Windows.Forms.Message& m) [0x0009a] in
/home/stephen/monodev/src/mono-2.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs:3169
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] in
/home/stephen/monodev/src/mono-2.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:228
at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] in
/home/stephen/monodev/src/mono-2.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:209
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00085] in
/home/stephen/monodev/src/mono-2.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:242
Reproducible: Always
Steps to Reproduce:
1. compile attached test program (gmcs -r:System.Windows.Forms uclvcrash.cs)
2. run program (mono --debug uclvcrash.exe)
3.
Actual Results:
program crashes
Expected Results:
program doesn't crash
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list