[Mono-bugs] [Bug 78469][Nor] New - im: crash when clicking on

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat May 20 14:33:51 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 matt at use.net.

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

--- shadow/78469	2006-05-20 14:33:51.000000000 -0400
+++ shadow/78469.tmp.15373	2006-05-20 14:33:51.000000000 -0400
@@ -0,0 +1,229 @@
+Bug#: 78469
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: matt at use.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: im: crash when clicking on
+
+Steps to reproduce the problem:
+1. start imeem and log in
+2. in the roster, click the little right arrow next to your user name at 
+the top that should expand to your profile
+
+
+Actual Results:
+Unhandled Exception: System.NullReferenceException: Object reference not 
+set to an instance of an object
+in [0x00008] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:4266) 
+System.Windows.Forms.XplatUIX11:SetWindowPos (IntPtr handle, Int32 x, 
+Int32 y, Int32 width, Int32 height)
+in [0x0000b] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:814) 
+System.Windows.Forms.XplatUI:SetWindowPos (IntPtr handle, Int32 x, Int32 
+y, Int32 width, Int32 height)
+in [0x0005e] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3603) 
+System.Windows.Forms.Control:SetBoundsCore (Int32 x, Int32 y, Int32 width, 
+Int32 height, BoundsSpecified specified)
+in [0x00008] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3142) 
+System.Windows.Forms.Control:SetBounds (Int32 x, Int32 y, Int32 width, 
+Int32 height)
+in (wrapper remoting-invoke-with-check) 
+System.Windows.Forms.Control:SetBounds (int,int,int,int)
+in [0x00366] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2960) 
+System.Windows.Forms.Control:PerformLayout (System.Windows.Forms.Control 
+affectedControl, System.String affectedProperty)
+in [0x00003] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2825) 
+System.Windows.Forms.Control:PerformLayout ()
+in (wrapper remoting-invoke-with-check) 
+System.Windows.Forms.Control:PerformLayout ()
+in [0x00036] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4507) 
+System.Windows.Forms.Control:OnResize (System.EventArgs e)
+in [0x00008] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4519) 
+System.Windows.Forms.Control:OnSizeChanged (System.EventArgs e)
+in [0x000bb] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3751) 
+System.Windows.Forms.Control:UpdateBounds (Int32 x, Int32 y, Int32 width, 
+Int32 height, Int32 clientWidth, Int32 clientHeight)
+in [0x0003a] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3706) 
+System.Windows.Forms.Control:UpdateBounds ()
+in [0x00152] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3821) 
+System.Windows.Forms.Control:WndProc (System.Windows.Forms.Message m)
+in [0x00002] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:588) 
+System.Windows.Forms.ScrollableControl:WndProc 
+(System.Windows.Forms.Message m)
+in [0x00002] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs:336) 
+System.Windows.Forms.ContainerControl:WndProc 
+(System.Windows.Forms.Message m)
+in [0x00002] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/UserControl.cs:92) 
+System.Windows.Forms.UserControl:WndProc (System.Windows.Forms.Message m)
+in [0x00007] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:162) 
+System.Windows.Forms.Control+ControlNativeWindow:WndProc 
+(System.Windows.Forms.Message m)
+in [0x00056] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:146) 
+System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg msg, IntPtr 
+wParam, IntPtr lParam)
+in [0x00005] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:3990) 
+System.Windows.Forms.XplatUIX11:SendMessage (IntPtr hwnd, Msg message, 
+IntPtr wParam, IntPtr lParam)
+in [0x00024] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:3825) 
+System.Windows.Forms.XplatUIX11:RequestNCRecalc (IntPtr handle)
+in [0x00010] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:4015) 
+System.Windows.Forms.XplatUIX11:SetBorderStyle (IntPtr handle, 
+FormBorderStyle border_style)
+in [0x00007] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:715) 
+System.Windows.Forms.XplatUI:SetBorderStyle (IntPtr handle, 
+FormBorderStyle border_style)
+in [0x00179] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3232) 
+System.Windows.Forms.Control:CreateHandle ()
+in [0x00034] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3425) 
+System.Windows.Forms.Control:RecreateHandle ()
+in [0x0012a] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3812) 
+System.Windows.Forms.Control:WndProc (System.Windows.Forms.Message m)
+in [0x00002] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:588) 
+System.Windows.Forms.ScrollableControl:WndProc 
+(System.Windows.Forms.Message m)
+in [0x00002] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs:336) 
+System.Windows.Forms.ContainerControl:WndProc 
+(System.Windows.Forms.Message m)
+in [0x00002] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/UserControl.cs:92) 
+System.Windows.Forms.UserControl:WndProc (System.Windows.Forms.Message m)
+in [0x00007] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:162) 
+System.Windows.Forms.Control+ControlNativeWindow:WndProc 
+(System.Windows.Forms.Message m)
+in [0x00056] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:146) 
+System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg msg, IntPtr 
+wParam, IntPtr lParam)
+in [0x00005] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:3990) 
+System.Windows.Forms.XplatUIX11:SendMessage (IntPtr hwnd, Msg message, 
+IntPtr wParam, IntPtr lParam)
+in [0x00047] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:1490) 
+System.Windows.Forms.XplatUIX11:SendWMDestroyMessages 
+(System.Windows.Forms.Control c)
+in [0x00058] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:1492) 
+System.Windows.Forms.XplatUIX11:SendWMDestroyMessages 
+(System.Windows.Forms.Control c)
+in [0x00060] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2633) 
+System.Windows.Forms.XplatUIX11:DestroyWindow (IntPtr handle)
+in [0x00006] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:416) 
+System.Windows.Forms.XplatUI:DestroyWindow (IntPtr handle)
+in [0x00016] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:105) 
+System.Windows.Forms.NativeWindow:DestroyHandle ()
+in [0x0001d] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3251) 
+System.Windows.Forms.Control:DestroyHandle ()
+in [0x00013] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3417) 
+System.Windows.Forms.Control:RecreateHandle ()
+in [0x0001f] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:485) 
+System.Windows.Forms.Form:set_MaximizeBox (Boolean value)
+in <0x0007c> ax:ag ()
+in (wrapper remoting-invoke-with-check) ax:ag ()
+in <0x00028> vy:p (System.Object A_0, System.EventArgs A_1)
+in (wrapper delegate-invoke) 
+System.MulticastDelegate:invoke_void_object_EventArgs 
+(object,System.EventArgs)
+in <0x0003b> fp:e (System.Object A_0, System.EventArgs A_1)
+in <0x00039> fg:e (System.Object A_0, System.EventArgs A_1)
+in <0x00023> fp:e (System.EventArgs A_0)
+in <0x00196> fp:b (System.Windows.Forms.MouseEventArgs A_0, .lx A_1)
+in <0x002a9> fp:a (System.Windows.Forms.MouseEventArgs A_0, .lx A_1)
+in <0x00131> fp:a (System.Windows.Forms.MouseEventArgs A_0, .lx A_1)
+in <0x00131> fp:a (System.Windows.Forms.MouseEventArgs A_0, .lx A_1)
+in <0x000ea> o9:OnClick (System.EventArgs e)
+in [0x0003d] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:1255) 
+System.Windows.Forms.Control:HandleClick (Int32 clicks, 
+System.Windows.Forms.MouseEventArgs me)
+in [0x002e5] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3902) 
+System.Windows.Forms.Control:WndProc (System.Windows.Forms.Message m)
+in [0x00002] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:588) 
+System.Windows.Forms.ScrollableControl:WndProc 
+(System.Windows.Forms.Message m)
+in [0x00002] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs:336) 
+System.Windows.Forms.ContainerControl:WndProc 
+(System.Windows.Forms.Message m)
+in [0x00002] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/UserControl.cs:92) 
+System.Windows.Forms.UserControl:WndProc (System.Windows.Forms.Message m)
+in [0x00007] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:162) 
+System.Windows.Forms.Control+ControlNativeWindow:WndProc 
+(System.Windows.Forms.Message m)
+in [0x00056] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:146) 
+System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg msg, IntPtr 
+wParam, IntPtr lParam)
+in [0x0001c] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2647) 
+System.Windows.Forms.XplatUIX11:DispatchMessage (System.Windows.Forms.MSG 
+msg)
+in [0x00006] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:420) 
+System.Windows.Forms.XplatUI:DispatchMessage (System.Windows.Forms.MSG 
+msg)
+in [0x00259] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:494) 
+System.Windows.Forms.Application:RunLoop (Boolean Modal, 
+System.Windows.Forms.ApplicationContext context)
+in [0x00006] 
+(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:380) 
+System.Windows.Forms.Application:Run ()
+in <0x00169> et:c ()
+in <0x00397> o7:b (System.String[] A_0)
+
+
+Expected Results:
+shouldn't crash.
+
+How often does this happen? 
+every time.
+
+Additional Information:
+Using GC_DONT_GC doesn't help.


More information about the mono-bugs mailing list