Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mdnahas opened this issue Aug 22, 2022 · 2 comments
Labels
gui Items which involve the graphical interface/wxWidgets

Comments

@mdnahas
Copy link

mdnahas commented Aug 22, 2022

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

@tturocy
Copy link
Member

tturocy commented Sep 7, 2022

I regret I am not able to reproduce this.

@mdnahas
Copy link
Author

mdnahas commented Sep 7, 2022

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

@tturocy tturocy changed the title Gambit asserts and crashes for some mouse actions in Equilibria split window BUG: Gambit asserts and crashes for some mouse actions in Equilibria split window Aug 2, 2023
@tturocy tturocy added the gui Items which involve the graphical interface/wxWidgets label Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gui Items which involve the graphical interface/wxWidgets
Projects
None yet
Development

No branches or pull requests

2 participants