[Mono-bugs] [Bug 78381][Wis] New - Listbox crash.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri May 12 12:46:01 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 miguel at ximian.com.

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

--- shadow/78381	2006-05-12 12:46:01.000000000 -0400
+++ shadow/78381.tmp.25503	2006-05-12 12:46:01.000000000 -0400
@@ -0,0 +1,92 @@
+Bug#: 78381
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: miguel at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Listbox crash.
+
+The demo in winforms/databinding crashes with:
+
+mono$ mono --debug swf-databinding.exe
+Mono System.Windows.Forms Assembly [$auto_build_revision$]
+Keyboard: United States keyboard layout (phantom key version)
+Gtk colorscheme read
+
+Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out of
+range.
+Parameter name: GetItemRectangle index out of range.
+in [0x0014c] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:709)
+System.Windows.Forms.ListBox:GetItemRectangle (Int32 index)
+in [0x00002] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:1067)
+System.Windows.Forms.ListBox:GetItemDisplayRectangle (Int32 index, Int32
+first_displayble)
+in [0x00008] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:1415)
+System.Windows.Forms.ListBox:InvalidateItem (Int32 index)
+in [0x00030] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:1709)
+System.Windows.Forms.ListBox:set_FocusedItem (Int32 value)
+in [0x00047] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:1758)
+System.Windows.Forms.ListBox:CollectionChanged ()
+in [0x00021] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:1976)
+System.Windows.Forms.ListBox+ObjectCollection:Clear ()
+in [0x00001] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListControl.cs:308)
+System.Windows.Forms.ListControl:BindDataItems (IList items)
+in [0x00026] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:766)
+System.Windows.Forms.ListBox:OnDisplayMemberChanged (System.EventArgs e)
+in [0x00025] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListControl.cs:107)
+System.Windows.Forms.ListControl:set_DisplayMember (System.String value)
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.ListControl:set_DisplayMember (string)
+in <0x00050> MyFormProject.MainForm:BindControls ()
+in (wrapper remoting-invoke-with-check) MyFormProject.MainForm:BindControls ()
+in <0x00019> MyFormProject.MainForm:MainFormLoad (System.Object sender,
+System.EventArgs e)
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in [0x0002b] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1429)
+System.Windows.Forms.Form:OnLoad (System.EventArgs e)
+in [0x00079] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1378)
+System.Windows.Forms.Form:OnCreateControl ()
+in [0x00075] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2628)
+System.Windows.Forms.Control:CreateControl ()
+in [0x0001e] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3629)
+System.Windows.Forms.Control:SetVisibleCore (Boolean value)
+in [0x00002] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1646)
+System.Windows.Forms.Form:SetVisibleCore (Boolean value)
+in [0x00002] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2325)
+System.Windows.Forms.Control:set_Visible (Boolean value)
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:set_Visible (bool)
+in [0x00029] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:310)
+System.Windows.Forms.Application:RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context)
+in [0x00007] (at
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:288)
+System.Windows.Forms.Application:Run (System.Windows.Forms.Form mainForm)
+in <0x0001f> MyFormProject.MainForm:Main (System.String[] args)


More information about the mono-bugs mailing list