[Bug] rare crash of server during village capture
stepech opened this issue ยท 4 comments
Versions
-
Minecraft: 1.15.2
-
Forge: 31.2.45
-
Vampirism: 1.15.2-1.6.1
-
ModPack: Custom:
forge-1.15.2-31.2.45-server.jar Minecraft {[email protected] DONE}
useful_backpacks-1.15.2-1.10.3.77.jar Useful Backpacks {[email protected] DONE}
astralsorcery-1.15.2-1.12.10.jar Astral Sorcery {[email protected] DONE}
structurize-0.13.94-ALPHA-universal.jar Structurize {[email protected] DONE}
u_team_core-1.15.2-3.0.2.169.jar U Team Core {[email protected] DONE}
minecolonies-0.13.379-ALPHA-universal.jar Minecolonies {[email protected] DONE}
Vampirism-1.15.2-1.6.1.jar Vampirism {[email protected] DONE, [email protected] DONE}
observerlib-1.15.2-1.2.1.jar ObserverLib {[email protected] DONE}
jei-1.15.2-6.0.3.15.jar Just Enough Items {[email protected] DONE}
Ma-Essentials-1.15.2-3.1.1.jar Ma Essentials {[email protected] DONE}
forge-1.15.2-31.2.45-universal.jar Forge {[email protected] DONE}
Guide-API-VP-1.15.2-2.2.1.jar Guide-API VP {[email protected] DONE}
curios-FORGE-1.15.2-2.0.2.6.jar Curios API {[email protected] DONE}
journeymap-1.15.2-5.7.0b3.jar Journeymap {[email protected] DONE}
citadel-1.1.11.jar Citadel {[email protected] DONE}
iceandfire-2.1.0-1.15.2.jar Ice and Fire {[email protected] DONE}
Issue Description
Upon finishing capturing of the village through its totem, server crashed with error written on client side - saying buffer overflow, and crash-log on server side, shutting whole server down. It must be very rare as we capture villages quite often and this is first time it caused some issue.
Reproduce Steps
Honestly... Idk. Just capture village as a vampire and may be the error will occur, may be not. You can see it in the crash-log attached. The error happened right at the moment when last defender was killed and the village should switch its sides.
There is one more error I just spotted in a client side log, may be it is somehow connected to this one. (Line 271, 305, server crash 496)
Additional Information
This crash seem not possible since Serverworld#onBlockStateChange
removes the previous POI data and then sets the new POI
data.
It does not look like we are doing anything wrong.
The only reason i could thing of is a threading issue (the remove POI data would be called after the add POI data Serverworld#onBlockStateChange
)
Did the totem worked after a server restart?
It did indeed. It behaves as if nothing happened. It just crashed the server once, but now everything looks normal.