assertion failed if you press "up/down" button in an empty message window

Bug #924140 reported by Angelo Locritani on 2012-01-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Pressing up/down on an empty news list causes a crash because of failure of the following assertion:

src/ui_basic/table.h:199: void* UI::Table<void*>::operator[](uint32_t) const: assertion `i < m_entry_records.size()' failed.

this is an extract of backtrace (complete backtrace attached)
#20 0x084f842e in UI::Table<void*>::select (this=0x102ad998, i=0)
    at src/ui_basic/
#21 0x084f839b in UI::Table<void*>::move_selection (this=0x102ad998, offset=1)
    at src/ui_basic/
#22 0x084f8039 in UI::Table<void*>::handle_key (this=0x102ad998, down=true, code=...)
    at src/ui_basic/
#23 0x08720e61 in GameMessageMenu::handle_key (this=0x102a96c0, down=true, code=...)
    at src/wui/

Angelo Locritani (alocritani) wrote :
Tino (tino79) on 2012-01-31
Changed in widelands:
assignee: nobody → Tino (tino79)
milestone: none → build17-rc1
status: New → Fix Committed
importance: Undecided → Medium
SirVer (sirver) wrote :

Released in build17-rc1.

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments