Game crashes (maybe because of trainingssite)

Bug #1206197 reported by wl-zocker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
New
Undecided
Unassigned

Bug Description

r6680, Windows 7

I have played a game (I was observer, two Barbarian AI). Suddenly, the game crashes (I am back to my desktop) (stdout attached). I am not sure whether it is because of the trainingssite or not (have a look at the last line).

The replay of the game shows another behavior: It plays till the end, the I get the message that the replay is over. After confirming, Widelands quits. The stdout says: "REPLAY: Caught exception Stream ended unexpectedly (0 bytes read, 1 expected)". After that, there are 10 messages "REPLAY: Sync checked successfully." (And many of them before). I will also attach the replay files.

Tags: crash
Revision history for this message
wl-zocker (wl-zocker) wrote :
Revision history for this message
wl-zocker (wl-zocker) wrote :
Revision history for this message
wl-zocker (wl-zocker) wrote :
Revision history for this message
cghislai (charlyghislain) wrote :

The trainingsite output is just for debugging, you should not worry about that. I desycnh when watching the replay, so i can't trigger the crash.
I will try to watch a 2 com game as spectator see if it crashed.
Otherwise, don't you have the automatic savegame? Widelands try to save the game right before crashing, wo you can see if the wl_autosave savegame triggers the crash and upload it here. THanks!

Revision history for this message
wl-zocker (wl-zocker) wrote :

Unfortunallly, the wl_autosave got overwritten. However, I managed to reproduce the bug (2 computer players, checkmate), but I do not know if it is the same one. This time, the replay does not crash in the end, so I will attach it.
Might it be that there is still a problem with the dismantle feature (due to the recent changes)?

Revision history for this message
wl-zocker (wl-zocker) wrote :
Revision history for this message
cghislai (charlyghislain) wrote :

In reply to #5: yes this is probably related to dismantle feature that is still buggy in trunk. Moreover, any savegame will be buggy as well. See bug 1205010 for details.

Revision history for this message
cghislai (charlyghislain) wrote :

I was able to watch your replay till the end and I was able to watch two computer players playing till the end.
Please consider including a savegame!

I'll leave the bug status as new for now, we shall see if it persists after the branch containing the fix for bug 1205010 is merged.

Revision history for this message
wl-zocker (wl-zocker) wrote :

I have saved the game sometimes while watching the replay. Unfortunately, they suffer from bug 1206563, so I doubt they serve much. You have maybe have to play some more games (it has now happened 2 out of 2 times I tried it). I had hoped the replay would show something helpful (it ends when the game ended, and this end was caused by the error we are looking for).

Revision history for this message
cghislai (charlyghislain) wrote :

If you still have the savegame around, I may be able to analyze them with the fix from bug 1206563

Revision history for this message
wl-zocker (wl-zocker) wrote :

I have managed to create a savegame that works (even without the fix from bug 1206563) just some seconds before the crash.

Revision history for this message
cghislai (charlyghislain) wrote :

Thank you!
This is the same as bug 1205010, so I will mark it as duplicate.

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.