crash when info window opened if statistics window has been opened

Bug #1306728 reported by fk
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Medium
Unassigned

Bug Description

Hitting the 'I' button crashes the game, if the statistics window has been opened (with the second left button at the bottom of the screen) earlier in the game. If the statistics window has not been opened, then the information window can be opened as many times as desired without crashing.

Related branches

Revision history for this message
fk (fredkuijper) wrote :

Version: bzr6934-201404102017

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting this issue.

I have not been able reproduce this issue with r6934 on Ubuntu 13.10.

> if the statistics window has been opened (with the second left button at the bottom of the screen) earlier in the game
Simply opening the window with four buttons and then pressing 'i'? Or after opening the statistics window itself?

tags: added: crash statistics
Changed in widelands:
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
fk (fredkuijper) wrote :

No, not with four buttons. :D I'm sorry if it is not obvious.

The error happens when I have opened the statistics window (or statistics menu), and then close it (although this may not be necessary), and then press 'i' to open the info window.

The error does not happen if I have not opened the statistics window at all during the game, and press 'i' no matter how many times.

I could also say that I can trigger a crash with the 'i' key, but I must first have opened the statistics menu/window to enable this.

Revision history for this message
fk (fredkuijper) wrote :

(btw. Please ask again if it is still not obvious, this seems like a serious bug.)

Revision history for this message
fk (fredkuijper) wrote :

Added a picture with the menu's and buttons.

If I press the button in the menu at the bottom of the screen, the "Hoofdmenu" opens. Then if I press the rightmost button in this "Hoofdmenu" this opens the "Voorraad" window.

With the "Hoofdmenu" opened it is save to both press the rightmost button in this menu, and to press the 'i' key, which both result in opening the "Voorraad" window, or in closing it with the next press.

However, if the "Hoofdmenu" is closed and I press 'i' then a crash occurs instead of opening the "Voorraad" window.

(Sorry for the strange names.)

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for elaborating. When following the instructions in comment #5 I have been able to reproduce it.

(A more detailed description always helps, and especially since I couldn't trigger a crash I wanted to know whether I was doing the right thing. :) )

Changed in widelands:
status: Incomplete → Confirmed
Revision history for this message
SirVer (sirver) wrote :

Fixed in r6935. Thanks for reporting.

Changed in widelands:
status: Confirmed → Fix Committed
milestone: none → build19-rc1
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.