Skip to content

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

@mdnahas

Description

@mdnahas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    guiItems which involve the graphical interface/wxWidgets

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions