gambit icon indicating copy to clipboard operation
gambit copied to clipboard

BUG: Gambit asserts and crashes for some mouse actions in Equilibria split window

Open mdnahas opened this issue 3 years ago • 2 comments

Reproduce with:

Start gambit, Load a game tree, Click "Compute Nash Equilibria" In pop up window, Select "Compute all Nash Equilbria" Click "Okay" In pop up window, click "ok" Main window is now split into top and bottom. In bottom, click-and-drag your mouse as if trying to select the text in an equilbrium. Specifically, start you click outside the grid (in the bottom or far right of the window) and release the mouse button over the grid.

It will generate the following assertion. If you click "continue", gambit crashes.

ASSERT INFO: /home/mike/src/wx-install/include/wx-3.2/wx/vector.h(487): assert "idx < m_size" failed in at().

BACKTRACE: [1] g_closure_invoke [2] g_signal_emit_valist [3] g_signal_emit [4] gtk_main_do_event [5] g_main_context_dispatch [6] g_main_loop_run [7] gtk_main [8] __libc_start_main

mdnahas avatar Aug 22 '22 20:08 mdnahas

I regret I am not able to reproduce this.

tturocy avatar Sep 07 '22 14:09 tturocy

Try it with the attached file. It's proper extension is "gbt". (I changed it to "txt" to get Github to accept it.)

gambit_test1.txt

mdnahas avatar Sep 07 '22 15:09 mdnahas