[Mono-bugs] [Bug 358442] New: [regression] MDI: Double-click on child window control box crash

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 4 04:36:43 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=358442


           Summary: [regression] MDI: Double-click on child window control
                    box crash
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Double-click on the control icon of an MDI child -- i.e. the icon at the top
left where the windows menu opens from.  The following crash occurs.

Occurs on Linux and Win32 at SVN HEAD.  Doesn't occur in previous versions.

[[
Unhandled Exception: System.ObjectDisposedException: Cannot access a disposed
object.

Object name: 'MDIApplicationSample.MDIChildForm'.

at System.Windows.Forms.Control.CreateHandle () [0x00135] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:4401
at System.Windows.Forms.Form.CreateHandle () [0x00000] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:1914
at System.Windows.Forms.Control.get_Handle () [0x0002b] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:2840
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.get_Handle
() <0x00036>
at System.Windows.Forms.Control.set_Capture (bool) [0x00019] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:2427
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control.set_Capture (bool) <0x0004b>
at System.Windows.Forms.MenuTracker.TrackPopupMenu
(System.Windows.Forms.Menu,System.Drawing.Point) [0x000d5] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\MenuAPI.cs:287
at System.Windows.Forms.ContextMenu.Show
(System.Windows.Forms.Control,System.Drawing.Point) [0x00027] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ContextMenu.cs:121
at (wrapper remoting-invoke-with-check) System.Windows.Forms.ContextMenu.Show
(System.Windows.Forms.Control,System.Drawing.Point) <0x0013d>
at System.Windows.Forms.MdiWindowManager.ShowPopup (System.Drawing.Point)
[0x000f1] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\MdiWindowManager.cs:283
at System.Windows.Forms.MdiWindowManager.HandleTitleBarUp (int,int) [0x00030]
in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\MdiWindowManager.cs:479
at System.Windows.Forms.InternalWindowManager.HandleNCLButtonUp
(System.Windows.Forms.Message&) [0x0008e] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\InternalWindowManager.cs:779
at System.Windows.Forms.InternalWindowManager.WndProc
(System.Windows.Forms.Message&) [0x000e5] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\InternalWindowManager.cs:210
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&) [0x00000]
in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:2432
at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) [0x00000] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:225
at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) [0x00000] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:206
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) [0x0006a] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:188
at System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) [0x0002c] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:1886
at (wrapper native-to-managed)
System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00065>
at (wrapper managed-to-native)
System.Windows.Forms.XplatUIWin32.Win32DispatchMessage
(System.Windows.Forms.MSG&) <0x00004>
at System.Windows.Forms.XplatUIWin32.DispatchMessage
(System.Windows.Forms.MSG&) [0x00000] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:2081
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&)
[0x00000] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUI.cs:576
at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) [0x00359] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:849
at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext) [0x00014] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:635
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) [0x00000]
in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:623
at MDIApplicationSample.Program.Main () <0x0002c>
]]


-- 
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