[Mono-bugs] [Bug 80956][Nor] New - SIGSEGV in Region.ReleaseHrgn

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 25 05:16:16 EST 2007


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 gert.driesen at pandora.be.

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

--- shadow/80956	2007-02-25 05:16:16.000000000 -0500
+++ shadow/80956.tmp.3087	2007-02-25 05:16:16.000000000 -0500
@@ -0,0 +1,75 @@
+Bug#: 80956
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SIGSEGV in Region.ReleaseHrgn
+
+Running the attached repro (taken from bug #80949) on Mono/Windows results 
+in the following exception:
+
+  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipDeleteRegion 
+(intptr) <0x00004>
+  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipDeleteRegion 
+(intptr) <0xffffffff>
+  at System.Drawing.Region.ReleaseHrgn (intptr) <0x00013>
+  at (wrapper remoting-invoke-with-check) 
+System.Drawing.Region.ReleaseHrgn (intptr) <0xffffffff>
+  at System.Windows.Forms.TextRenderer.DrawTextInternal 
+(System.Drawing.IDeviceContext,string,System.Drawing.Font,System.Drawing.Re
+ctangle,System.Drawing.Color,System.Drawing.Color,System.Windows.Forms.Text
+FormatFlags,bool) <0x00475>
+  at System.Windows.Forms.TextRenderer.DrawTextInternal 
+(System.Drawing.IDeviceContext,string,System.Drawing.Font,System.Drawing.Po
+int,System.Drawing.Color,System.Drawing.Color,System.Windows.Forms.TextForm
+atFlags,bool) <0x000e3>
+  at System.Windows.Forms.TextRenderer.DrawText 
+(System.Drawing.IDeviceContext,string,System.Drawing.Font,System.Drawing.Po
+int,System.Drawing.Color,System.Drawing.Color,System.Windows.Forms.TextForm
+atFlags) <0x00061>
+  at MainForm.OnPaint (System.Windows.Forms.PaintEventArgs) <0x000f0>
+  at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message&) 
+<0x0011c>
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) 
+<0x0014f>
+  at System.Windows.Forms.ScrollableControl.WndProc 
+(System.Windows.Forms.Message&) <0x0000d>
+  at System.Windows.Forms.ContainerControl.WndProc 
+(System.Windows.Forms.Message&) <0x0005b>
+  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&) 
+<0x02de0>
+  at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00014>
+  at System.Windows.Forms.NativeWindow.WndProc 
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0017f>
+  at (wrapper native-to-managed) System.Windows.Forms.NativeWindow.WndProc 
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0xffffffff>
+  at (wrapper managed-to-native) 
+System.Windows.Forms.XplatUIWin32.Win32DispatchMessage 
+(System.Windows.Forms.MSG&) <0x00004>
+  at (wrapper managed-to-native) 
+System.Windows.Forms.XplatUIWin32.Win32DispatchMessage 
+(System.Windows.Forms.MSG&) <0xffffffff>
+  at System.Windows.Forms.XplatUIWin32.DispatchMessage 
+(System.Windows.Forms.MSG&) <0x0000a>
+  at System.Windows.Forms.XplatUI.DispatchMessage 
+(System.Windows.Forms.MSG&) <0x00015>
+  at System.Windows.Forms.Application.RunLoop 
+(bool,System.Windows.Forms.ApplicationContext) <0x007c4>
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) 
+<0x00024>
+  at MainForm.Main () <0x0001f>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void 
+(object,intptr,intptr,intptr) <0xffffffff>
+
+It works fine on MS, and when using MWF with MS System.Drawing.


More information about the mono-bugs mailing list