corrupted replays at replays.wesnoth.org
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
-
- Posts: 876
- Joined: November 28th, 2008, 6:18 pm
corrupted replays at replays.wesnoth.org
Some replays at replays.wesnoth.org are corrupted. I reported the bug to to gna: https://gna.org/bugs/index.php?19603
The summary is in my next post, you can skip next obsolete posts, because they contain some wrong statements:
The summary is in my next post, you can skip next obsolete posts, because they contain some wrong statements:
Post 1, obsolete
Post 2, obsolete
- Attachments
-
- Hamlets.7z
- this is an attachment of Post 2
- (27.68 KiB) Downloaded 235 times
Last edited by SlowThinker on April 1st, 2012, 5:56 pm, edited 2 times in total.
I work on Conquest Minus • I use DFoolWide, Retro Terrain Package and the add-on 'High Contrast Water'
I moved to Nosebane's corner (Doc Paterson's signature); I am spending my time there, so PM me if I don't answer your post in forums
I moved to Nosebane's corner (Doc Paterson's signature); I am spending my time there, so PM me if I don't answer your post in forums
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: corrupted replays at replays.wesnoth.org
Hm, well; in order to maybe make a good bug report out of it one would need to find out the "events" which took place during those games, or under which conditions they were created. "Events" meaning things that could confuse the engine or cause it to write such obviously bad data. Also whether only those server replays are affected or whether this can also happen for locally saved replays.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
-
- Posts: 876
- Joined: November 28th, 2008, 6:18 pm
Re: corrupted replays at replays.wesnoth.org
Effects of the bug
Some replays at replays.wesnoth.org are corrupted. Only the replays at replay.wesnoth.org are affected, manual saves/replays seem to be in good order.
The effects of the bug are:
__________________________________
Cause of the bug (how to reproduce)
It looks like
__________________________________
Tests that support my statements
Next game (the replay works and the file seems not to be corrupted) ...
http://replays.wesnoth.org/1.10/2012040 ... _(8086).gz
... has been reloaded three times, no player disconnected during the game
http://replays.wesnoth.org/1.10/2012040 ... _(8092).gz
http://replays.wesnoth.org/1.10/2012040 ... _(8106).gz
http://replays.wesnoth.org/1.10/2012040 ... _(8124).gz
(all three replays produce the warning quoted above ("Invalid WML found ...") and the files are corrupted)
Next game has not been reloaded, only the host's client has been killed. The replay works and the file seems not to be corrupted:
http://replays.wesnoth.org/1.10/2012040 ... _(7927).gz
Some replays at replays.wesnoth.org are corrupted. Only the replays at replay.wesnoth.org are affected, manual saves/replays seem to be in good order.
The effects of the bug are:
- In the beginning of the replay you get this error message:
then soon OOSes start to be reported.
Code: Select all
<Invalid WML found> [replay], [statistics] not supported at scenario toplevel
- If you look into the replay file you will see the structure is strange. Especially notice a nested replay_start:
[replay_start][replay_start][/replay_start][/replay_start]
Selections from the file (comments are mine):Code: Select all
... [replay] [/replay] [replay_start] ... turns="" ... # unusual subcontainers follow: [multiplayer] ... [/multiplayer] [snapshot] ... [/snapshot] [replay_start] ... [/replay_start] [replay] ... [/replay] ... [/replay_start]
notes, not so important
Cause of the bug (how to reproduce)
It looks like
the bug happens if and only if the game has been reloaded
(my original hypothesis was wrong: the fact whether the hosting player disconnected or not has nothing to do with the bug)__________________________________
Tests that support my statements
Next game (the replay works and the file seems not to be corrupted) ...
http://replays.wesnoth.org/1.10/2012040 ... _(8086).gz
... has been reloaded three times, no player disconnected during the game
http://replays.wesnoth.org/1.10/2012040 ... _(8092).gz
http://replays.wesnoth.org/1.10/2012040 ... _(8106).gz
http://replays.wesnoth.org/1.10/2012040 ... _(8124).gz
(all three replays produce the warning quoted above ("Invalid WML found ...") and the files are corrupted)
Next game has not been reloaded, only the host's client has been killed. The replay works and the file seems not to be corrupted:
http://replays.wesnoth.org/1.10/2012040 ... _(7927).gz
I work on Conquest Minus • I use DFoolWide, Retro Terrain Package and the add-on 'High Contrast Water'
I moved to Nosebane's corner (Doc Paterson's signature); I am spending my time there, so PM me if I don't answer your post in forums
I moved to Nosebane's corner (Doc Paterson's signature); I am spending my time there, so PM me if I don't answer your post in forums