[Mono-bugs] [Bug 332883] New: Error with SetClip() mthod and CombineMode.Exclude
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Oct 11 06:22:07 EDT 2007
https://bugzilla.novell.com/show_bug.cgi?id=332883
Summary: Error with SetClip() mthod and CombineMode.Exclude
Product: Mono: Class Libraries
Version: 1.2
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Drawing.
AssignedTo: mono-bugs at ximian.com
ReportedBy: agallero at netscape.net
QAContact: mono-bugs at ximian.com
Found By: ---
Description of Problem:
When trying to add a GraphicsPath with CombineMode.Exclude to an empty clip
region I get an Exception.
Steps to reproduce the problem:
Compile the attached application with mcs testclip.cs -r:System.Drawing
Actual Results:
** (testclip.exe:16757): WARNING **: Path conversion requested 0 bytes
(8388608 x 8388608). Maximum size is 8388608 bytes.
** ERROR **: file region.c: line 1070 (GdipCombineRegionPath):
assertion failed: (region->bitmap)
aborting...
Stacktrace:
at (wrapper managed-to-native)
System.Drawing.GDIPlus.GdipSetClipPath
(intptr,intptr,System.Drawing.Drawing2D.CombineMode) <0x00004>
at (wrapper managed-to-native)
System.Drawing.GDIPlus.GdipSetClipPath
(intptr,intptr,System.Drawing.Drawing2D.CombineMode) <0xffffffff>
at System.Drawing.Graphics.SetClip
(System.Drawing.Drawing2D.GraphicsPath,System.Drawing.Drawing2D.CombineMode)
<0x00031>
at (wrapper remoting-invoke-with-check)
System.Drawing.Graphics.SetClip
(System.Drawing.Drawing2D.GraphicsPath,System.Drawing.Drawing2D.CombineMode)
<0xffffffff>
at Program.Main (string[]) <0x000d2>
at (wrapper runtime-invoke) Program.runtime_invoke_void_string[]
(object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
mono [0x81685e0]
[0xffffe440]
/lib/tls/libc.so.6(abort+0xeb) [0x4014fdbb]
/usr/local/lib/libglib-2.0.so.0 [0x40065d88]
/usr/local/lib/libglib-2.0.so.0(g_log+0x1e) [0x40065dae]
/usr/local/lib/libglib-2.0.so.0(g_assert_warning+0x53) [0x40065e13]
/usr/lib/libgdiplus.so [0x40c9aae6]
/usr/lib/libgdiplus.so(GdipSetClipPath+0x58) [0x40c7dc08]
[0x40adb6d1]
[0x40adb5b2]
[0x40adb543]
[0x40ad6efb]
[0x40ad6cfb]
mono [0x8155356]
mono(mono_runtime_invoke+0x27) [0x80927b7]
mono(mono_runtime_exec_main+0xb0) [0x80966e0]
mono(mono_runtime_run_main+0x215) [0x8096dd5]
mono(mono_main+0xa15) [0x8058e25]
mono [0x8057f0e]
/lib/tls/libc.so.6(__libc_start_main+0xd0) [0x4013bea0]
mono [0x8057e51]
Debug info from gdb:
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted
Expected Results:
no error.
How often does this happen?
Always
--
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