Crash when attempting to load a game after toggeling opengl rendering

Bug #1257476 reported by Hans Joachim Desserud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Medium
Unassigned

Bug Description

Steps to reproduce:
1. Start a new game.
2. Go to Single Player -> Load game.
3. Go back to main menu.
4. Go to Options -> Advanced settings.
5. Toggle opengl rendering, ie turn it off if it is on and vise versa.
6. Click Ok/Use to apply the changes and go back to main menu.
7. Go to Single Player -> Load game.

Expected result:
The load game screen listing saved games.

Actual result:
The game crashes, see attached backtrace.

I haven't investigated much, but it only seems to trigger if I have loaded the save game screen prior to changing rendering, otherwise it works fine. (Might be some previous values lingering?) It does seem to trigger regardless of whether opengl has been turned on or off so it might be the switch itself it fails to handle, as it works fine in either mode alone.
Other screens might be affected too, though I haven't had time to investigate properly.

Widelands r6820.

Tags: crash opengl ui
Revision history for this message
Hans Joachim Desserud (hjd) wrote :
Revision history for this message
SirVer (sirver) wrote :

Setting to incomplete for bug sweeping.

Changed in widelands:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for widelands because there has been no activity for 60 days.]

Changed in widelands:
status: Incomplete → Expired
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

No longer able to trigger this when enabling opengl, have not been able to test disabling due to bug 1389346. Might have been fixed by the switch to SDL2 and/or recent refactoring in this screen.

SirVer (sirver)
Changed in widelands:
status: Expired → 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

Bug attachments

Remote bug watches

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