#3188 closed defect (fixed)
Serializer crashes when rejoining
Reported by: | elexis | Owned by: | Itms |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 19 |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
For some days I get a crash with like 50% probability when I rejoin a hosted game with the most recent svn version.
StdDeserializer.cpp(114): Assertion failed: "m_ScriptBackrefs.size() > tag" Assertion failed: "m_ScriptBackrefs.size() > tag" Location: StdDeserializer.cpp:114 (GetScriptBackref)
Change History (9)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
With r16514 and earlier revisions I get the following AuraManager errors when rejoining twice:
WARNING: JavaScript warning: simulation/components/Auras.js line 437 reference to undefined property mod.value ... WARNING: JavaScript warning: simulation/components/Auras.js line 427 reference to undefined property mod.value ERROR: JavaScript error: simulation/components/AuraManager.js line 59 TypeError: value is undefined AuraManager.prototype.ApplyBonus@simulation/components/AuraManager.js:59:69 Auras.prototype.ApplyBonus@simulation/components/Auras.js:427:3 Auras.prototype.OnRangeUpdate@simulation/components/Auras.js:302:4 ERROR: Script message handler OnRangeUpdate failed ERROR: JavaScript error: simulation/components/AuraManager.js line 116 TypeError: value is undefined AuraManager.prototype.RemoveBonus@simulation/components/AuraManager.js:116:69 Auras.prototype.RemoveBonus@simulation/components/Auras.js:437:3 Auras.prototype.OnRangeUpdate@simulation/components/Auras.js:311:4 ERROR: Script message handler OnRangeUpdate failed
With r16515 and later 0ad crashes with the serializer error mentioned in the description.
follow-up: 5 comment:4 by , 9 years ago
After rebooting and using the most recent revision, i.e. 16562 I get the crash only occasionally, but either the AuraManager error or crash appears when rejoining twice.
With the nested_maps.diff patch in #3164 I only get an OOS on second rejoin, no errors, no crash. The OOS might be unrelated.
follow-up: 6 comment:5 by , 9 years ago
comment:6 by , 9 years ago
Milestone: | Alpha 19 → Backlog |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Replying to historic_bruno:
Maps were removed, is this report still valid, do you have oos dumps for it?
I didn't experience any crashes or Aura errors since r16591. oos dumps were not generated, since it is not oos but the application crashes. I don't have coredumps.
The crash was probably caused by the aura serialization error in combination with the new version of gloox.
comment:7 by , 9 years ago
Milestone: | Backlog |
---|
comment:9 by , 9 years ago
Milestone: | → Alpha 19 |
---|---|
Priority: | Release Blocker → Must Have |
It seems that it only crashes on the second rejoin.