[Mono-bugs] [Bug 81100][Nor] New - ListBox segfaults on SelectedIndex change in DoubleClick handler
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Mar 9 18:35:49 EST 2007
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 contact at i-nz.net.
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: toshok at ximian.com
+ReportedBy: contact at i-nz.net
+QAContact: mono-bugs at ximian.com
+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]
More information about the mono-bugs
mailing list