Autosave leads to crash on replays

Bug #1206441 reported by wl-zocker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
High
cghislai

Bug Description

tested with r6880.

Steps to reproduce:
- Set the autosave interval to 1 minute.
- Watch the replay of any game.

After one minute of real time, Widelands crashes (game speed does not influence the time). The stdout says "Autosave: interval elapsed (60 s), saving".

I think autosave in replays is not necessary and should not take place.

Tags: crash replay

Related branches

Revision history for this message
cghislai (charlyghislain) wrote :

I agree that autosave may not be required for replays. But since saving during replay is allowed, the crash should not occur.

Revision history for this message
cghislai (charlyghislain) wrote :

This due to the absence of any chat provider.
 Should I disable autosaving in replays as well?

Changed in widelands:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → cghislai (charlyghislain)
milestone: none → build18-rc1
Changed in widelands:
status: Confirmed → In Progress
Revision history for this message
SirVer (sirver) wrote :

Yes, disable autosaving in replays. Make limited sense anyways.

Revision history for this message
cghislai (charlyghislain) wrote :

I removed the last link. The proper implementation for the savehandler will be done in the log_message branch. A few branches have changes in this file, so there will be conflicts... I will resolve them when branches get merged

Changed in widelands:
status: In Progress → Fix Committed
Revision history for this message
SirVer (sirver) wrote :

Released in build-18 rc1.

Changed in widelands:
status: Fix Committed → Fix Released
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.