[Mono-bugs] [Bug 438948] New: SWF. ListView crashes when deleting an item with DefaultGroup

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 24 19:28:52 EDT 2008


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


           Summary: SWF.ListView crashes when deleting an item with
                    DefaultGroup
           Product: Mono: Class Libraries
           Version: SVN
          Platform: i686
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mcarrion at novell.com
         QAContact: mono-bugs at lists.ximian.com
            Blocks: 428895
          Found By: Beta-Customer


Created an attachment (id=247963)
 --> (https://bugzilla.novell.com/attachment.cgi?id=247963)
File 1 of 3

I'm attaching three files. To reproduce the exception just select any item in
Default Group and click the Button.

Use to compile:

gmcs -r:System.Data,System,System.Windows.Forms,System.Drawing
Form1.Designer.cs Form1.cs Program.cs

The stack trace:

mario at malakarma:~/Documents/Windows> gmcs
-r:System.Data,System,System.Windows.Forms,System.Drawing Form1.Designer.cs
Form1.cs Program.cs -out:FormListView.exe && mono --debug FormListView.exe 
Could not set X locale modifiers
System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at System.Windows.Forms.ListView+ListViewItemCollection.get_Item (Int32
index) [0x00053] in
/home/mario/repository/mcarrion/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs:4967 
  at System.Windows.Forms.ListView.GetItemAtDisplayIndex (Int32 display_index)
[0x00000] in
/home/mario/repository/mcarrion/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs:2064 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.ListView:GetItemAtDisplayIndex (int)
  at System.Windows.Forms.ThemeWin32Classic.DrawListViewItems
(System.Drawing.Graphics dc, Rectangle clip, System.Windows.Forms.ListView
control) [0x00037] in
/home/mario/repository/mcarrion/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs:2647 
  at System.Windows.Forms.ListView+ItemControl.OnPaintInternal
(System.Windows.Forms.PaintEventArgs pe) [0x00000] in
/home/mario/repository/mcarrion/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs:2982 
  at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m)
[0x00078] in
/home/mario/repository/mcarrion/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5567 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x0016c] in
/home/mario/repository/mcarrion/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5327 
  at System.Windows.Forms.ListView+ItemControl.WndProc
(System.Windows.Forms.Message& m) [0x0009a] in
/home/mario/repository/mcarrion/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs:3005 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] in
/home/mario/repository/mcarrion/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:228 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] in
/home/mario/repository/mcarrion/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:209 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00085] in
/home/mario/repository/mcarrion/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:242 
mario at malakarma:~/Documents/Windows>


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