[Mono-bugs] [Bug 358444] New: PropertyGrid: crash on drag of color cell

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 4 04:38:27 EST 2008


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


           Summary: PropertyGrid: crash on drag of color cell
           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: ---


This occured to me by chance, my mouse/mousing went a bit wonky and did the odd
sequence of events.

In PropertyGrid open the Color picker, switch to the Custom tab panel.  Click
on a color cell and drag the pointer off of the color picker (e.g. onto the
PropertyGrid itself), then do the same again.  The following crash occurs.

Occurs on Linux and Win32 at SVN HEAD.  Occurs in 1.2.6 also, but only needs a
single drag and drop action.

[[

Unhandled Exception: System.IndexOutOfRangeException: Array index is out of
range.

at CustomColorPicker.OnMouseUp (System.Windows.Forms.MouseEventArgs) [0x00016]
in
D:\cygwin\usr\src\mono\mcs\class\System.Drawing.Design\System.Drawing.Design\ColorEditor.cs:349
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message&)
[0x0007f] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:5410
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&)
[0x0017c] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:5157
at System.Windows.Forms.ScrollableControl.WndProc
(System.Windows.Forms.Message&) [0x00000] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ScrollableControl.cs:797
at System.Windows.Forms.ContainerControl.WndProc
(System.Windows.Forms.Message&) [0x0003d] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ContainerControl.cs:589
at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message&)
[0x00000] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\UserControl.cs:143
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 MWFTestApplication.MainWindow.Main (string[]) [0x00014] in
D:\cygwin\usr\src\mono\winforms\propertygrid\swf-propertygrid.cs:45
]]


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