Welcome to the Poker Sleuth bug tracker. If you're experiencing a new problem, please register an account with the bug tracker in order to record your bug. After registering, you may also subscribe to existing issues in order to be notified whenever there's an update.

Issue261

Title Crash when clicking the down arrow in the hand reviewer, in some cases
Priority urgent Status fixed
Versions Poker Sleuth 1.9
Superseder Nosy List Daniel

Created on 2010-04-01.04:09:10 by Daniel, last changed by Daniel.

Messages
msg422 (view) Author: Daniel Date: 2010-04-01.04:27:41

Fixed in 1.9.0.816

msg421 (view) Author: Daniel Date: 2010-04-01.04:10:01

If a hand is received twice by the reviewer from the back end, hand_start_index may grow higher than it should.

There might be other places where the hand_start_index grows too large.

msg420 (view) Author: Daniel Date: 2010-04-01.04:09:10

The user reports:
Noted a hand for later from the task bar (just because I can now!!!) Actually it was the olny hand that appeared there as I havent played for a couple of days. Opened up the hand reviewer and didn't see the instanote. Clicked hide immediate folds, which just left the one hand. Clicked the down arrow to see if reviewer would load older hands from history and here I am ;)

PokerSleuth 1.9.0.815 (Microsoft Windows NT 5.1.2600 Service Pack 2)
PokerNotes
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.SortedList`2.GetKey(Int32 index)
at System.Collections.Generic.SortedList`2.KeyList.get_Item(Int32 index)
at PokerNotes.MainForm.btNewer_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

History
Date User Action Args
2010-04-01 04:27:41Danielsetstatus: in-progress -> fixed
messages: + msg422
2010-04-01 04:10:01Danielsetstatus: new -> in-progress
messages: + msg421
2010-04-01 04:09:11Danielcreate