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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=81100 --- shadow/81100 2007-03-09 18:35:49.000000000 -0500 +++ shadow/81100.tmp.847 2007-03-09 18:35:49.000000000 -0500 @@ -0,0 +1,43 @@ +Bug#: 81100 +Product: Mono: Class Libraries +Version: 1.2 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: ListBox segfaults on SelectedIndex change in DoubleClick handler + +When SelectedIndex is set to -1 in a DoubleClick handler it enters an +exception loop and segfaults. Test case attached. The exception and +stacktrace are: + +System.ArgumentOutOfRangeException: Argument is out of range. +Parameter name: GetItemRectangle index out of range. + at System.Windows.Forms.ListBox.GetItemRectangle (Int32 index) [0x00000] + at System.Windows.Forms.ListBox.GetItemDisplayRectangle (Int32 index, +Int32 first_displayble) [0x00000] + at System.Windows.Forms.ListBox.InvalidateItem (Int32 index) [0x00000] + at System.Windows.Forms.ListBox.OnLostFocus (System.Object sender, +System.EventArgs e) [0x00000] + at (wrapper delegate-invoke) +System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) + at System.Windows.Forms.Control.OnLostFocus (System.EventArgs e) [0x00000] + at System.Windows.Forms.Control.WmKillFocus +(System.Windows.Forms.Message& m) [0x00000] + at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) +[0x00000] + at System.Windows.Forms.ListBox.WndProc (System.Windows.Forms.Message& m) +[0x00000] + at System.Windows.Forms.Control+ControlNativeWindow.WndProc +(System.Windows.Forms.Message& m) [0x00000] + at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, +IntPtr wParam, IntPtr lParam) [0x00000] _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
