[Mono-bugs] [Bug 77452][Maj] Changed - Mdi Form misbehaves on windows when Create a Child Form

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 9 14:22:49 EST 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 gcreme at ncsadvantage.com.

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

--- shadow/77452	2006-02-03 04:45:32.000000000 -0500
+++ shadow/77452.tmp.2131	2006-02-09 14:22:49.000000000 -0500
@@ -150,6 +150,122 @@
 On Win32 I can reproduce the problems shown in your video.
 
 Jackson, I think part of the problem on Win32 is that both Windows 
 and our internal WindowManager compete for drawing the caption and 
 handling the window. We already talked about that, am assigning to 
 you.
+
+------- Additional Comments From gcreme at ncsadvantage.com  2006-02-09 14:22 -------
+Ok.  I have re-compiled from the source - SVN Revision 56719 - and
+when I run it on Red hat enterprise linux 3, I can get the mdi form to
+come up (which is good), but when I click the button to show the child
+form, I get the following stack dump: 
+
+Mono System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6
+14:35:24]
+Keyboard: United States keyboard layout (phantom key version)
+Gtk colorscheme read
+ 
+=================================================================
+Got a SIGSEGV while executing native code. This usually indicates
+a fatal error in the mono runtime or one of the native libraries
+used by your application.
+=================================================================
+ 
+Stacktrace:
+ 
+in (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipDrawRectangleI
+(intptr,intptr,int,int,int,int) <0x4>
+in (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipDrawRectangleI
+(intptr,intptr,int,int,int,int) <0xffffffa5>
+in System.Drawing.Graphics:DrawRectangle
+(System.Drawing.Pen,int,int,int,int) <0x3d>
+in System.Drawing.Graphics:DrawRectangle
+(System.Drawing.Pen,System.Drawing.Rectangle) <0x5e>
+in (wrapper remoting-invoke-with-check)
+System.Drawing.Graphics:DrawRectangle
+(System.Drawing.Pen,System.Drawing.Rectangle) <0x6c8>
+in System.Windows.Forms.ThemeWin32Classic:CPDrawFocusRectangle
+(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color)
+<0x228>
+in System.Windows.Forms.ControlPaint:DrawFocusRectangle
+(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color)
+<0x76>
+in System.Windows.Forms.ControlPaint:DrawFocusRectangle
+(System.Drawing.Graphics,System.Drawing.Rectangle) <0x93>
+in System.Windows.Forms.InternalWindowManager:PaintWindowDecorations
+(System.Windows.Forms.PaintEventArgs) <0x128>
+in System.Windows.Forms.InternalWindowManager:HandleMessage
+(System.Windows.Forms.Message&) <0x101>
+in System.Windows.Forms.Form:WndProc (System.Windows.Forms.Message&)
+<0x155>
+in ControlNativeWindow:WndProc (System.Windows.Forms.Message&) <0x14>
+in System.Windows.Forms.NativeWindow:WndProc
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x11e>
+in System.Windows.Forms.XplatUIX11:DispatchMessage
+(System.Windows.Forms.MSG&) <0x16>
+in System.Windows.Forms.XplatUI:DispatchMessage
+(System.Windows.Forms.MSG&) <0x15>
+in System.Windows.Forms.Application:RunLoop
+(bool,System.Windows.Forms.ApplicationContext) <0x610>
+in System.Windows.Forms.Application:Run (System.Windows.Forms.Form) <0x24>
+in SimpleMDI.mdiForm:Main () <0x1f>
+in (wrapper runtime-invoke) System.Object:runtime_invoke_void
+(object,intptr,intptr,intptr) <0xc759d90e>
+ 
+Native stacktrace:
+ 
+        mono(mono_handle_native_sigsegv+0x80) [0x8120470]
+        mono [0x810f222]
+        /lib/tls/libpthread.so.0 [0x400d0df0]
+        /usr/local/lib/libgdiplus.so [0x41023918]
+        /usr/local/lib/libgdiplus.so(pixman_compositeGeneral+0x42f)
+[0x41023ea3]
+        /usr/local/lib/libgdiplus.so(INT_pixman_composite+0x4be)
+[0x41015af2]
+        /usr/local/lib/libgdiplus.so [0x40ffd559]
+        /usr/local/lib/libgdiplus.so [0x41002985]
+        /usr/local/lib/libgdiplus.so [0x40ffb0d7]
+        /usr/local/lib/libgdiplus.so [0x40ffa941]
+       
+/usr/local/lib/libgdiplus.so(_cairo_surface_clip_and_composite_trapezoids+0x1ba)
+[0x40ffb2b6]
+        /usr/local/lib/libgdiplus.so [0x40ffb431]
+        /usr/local/lib/libgdiplus.so(_cairo_gstate_stroke+0xbd)
+[0x40ffac85]
+        /usr/local/lib/libgdiplus.so(cairo_stroke_preserve+0x33)
+[0x40ff5473]
+        /usr/local/lib/libgdiplus.so(cairo_stroke+0x1d) [0x40ff5431]
+        /usr/local/lib/libgdiplus.so(GdipDrawRectangle+0xbd) [0x40fce0a9]
+        /usr/local/lib/libgdiplus.so(GdipDrawRectangleI+0x39) [0x40fce165]
+        [0x41668a84]
+        [0x416689ee]
+        [0x4166895f]
+        [0x416688bf]
+        [0x41668eb9]
+        [0x4168799f]
+        [0x4168790c]
+        [0x41687061]
+        [0x41686e42]
+        [0x41661b16]
+        [0x416619b5]
+        [0x4166183f]
+        [0x4166170f]
+        [0x416616ee]
+        [0x416a9211]
+        [0x416a8b45]
+        [0x40b72778]
+        [0x40b7181e]
+        mono [0x810f107]
+        mono(mono_runtime_invoke+0x18) [0x8085a7c]
+        mono(mono_runtime_exec_main+0x4f) [0x80867d7]
+        mono(mono_runtime_run_main+0x15c) [0x80864d4]
+        mono(strftime+0x196b) [0x805cdeb]
+        mono(mono_main+0x73e) [0x805d64a]
+        mono(__strtoul_internal+0x357) [0x805c367]
+        /lib/tls/libc.so.6(__libc_start_main+0xf8) [0x40122748]
+        mono(sinh+0x41) [0x805c2c1]
+Aborted
+
+


More information about the mono-bugs mailing list