The-Betweenlands icon indicating copy to clipboard operation
The-Betweenlands copied to clipboard

Server Crash with java.lang.StackOverflowError: Ticking entity

Open m719030572 opened this issue 3 years ago • 2 comments

Versions

Betweenlands version:

v3.8.1-release

Forge version:

forge 14.23.5.2860

Singleplayer or Multiplayer:

catserver with Bukkit: 1.12.2-R0.1-SpigotAPI

Installed mods:

https://play.mcmod.cn/sv20186176.html

Link to full crash log

https://github.com/m719030572/documents/blob/5e1666bce73471768f16ed7c488e2e1372739b18/crashlog

Description of the problem

How to reproduce:

No method of reproduction has been found yet.

Expected result:

Fix it or provides a way to avoid this crash.

Actual result:

Pictures:

m719030572 avatar Apr 20 '22 02:04 m719030572

Looking at the code, this was caused by two urchins attacking each other: when they do, they attack back (this is the thorns-like damage they have), this could theoretically happen an infinite amount of times per frame, using up all the resources on your computer, so instead, java steps in and crashes the game

JoshieGemFinder avatar May 12 '22 04:05 JoshieGemFinder

You might think one of the urchins should've died, but it looks like they don't actually take damage before dealing damage to the attacker, which is another urchin, which deals damage to it, but the damage never actually is dealt, because they're too busy dealing thorns damage

JoshieGemFinder avatar May 12 '22 04:05 JoshieGemFinder

Yeah, and this happened on my world, basically corrupting it because I can't go in and deal with em. We need a fix asap.

darthvader45 avatar Nov 20 '22 18:11 darthvader45

fixed a while ago

vadis365 avatar Jan 22 '23 00:01 vadis365

Thank you, really annoyed me for a while.

darthvader45 avatar Jan 22 '23 01:01 darthvader45