KaiijuMC / Kaiiju

Folia fork for anarchists.
GNU General Public License v3.0
178 stars 21 forks source link

net.minecraft.ReportedException: Exception ticking world #55

Closed xiaoyueyoqwq closed 1 year ago

xiaoyueyoqwq commented 1 year ago

Logs: https://paste.ubuntu.com/p/CcRv93rtFW/

Well, I think this crash should be a bug in Folia, and I have also encountered several crashes before this, the server will uninstall all plugins but the player will not exit the server because of this, they can even send messages, but they cannot interact with the blocks, and the server cannot save maps and player data normally, so if this crash is triggered, some of the player data of the server may be lost

Plugins and datapacks list I think you are already know ;)

ver: This server is running Kaiiju version git-Kaiiju-"57bd665" (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT) (Git: 57bd665 on ver/1.19.4) You are running the latest version

sofianedjerbi commented 1 year ago

I know this crash.. i don't know if i'm able to fix it..

xiaoyueyoqwq commented 1 year ago

I know this crash.. i don't know if i'm able to fix it..

i think you need more information: image

This play use command /back when server was crash, perhaps this error is still related to teleportation, as was the previous player teleportation server block crash, like Cannot move entity off-main issue

sofianedjerbi commented 1 year ago

I've been trying to fix this for weeks. It always happen on teleportation or on huge chunk loading. I'm going to add more debug info

sofianedjerbi commented 1 year ago

Can you please test this branch

https://github.com/KaiijuMC/Kaiiju/tree/dev/fixes

It kick the player instead of crashing the server Note this might lead to unexpected behaviour, so it need tests

I'll close this issue while waiting for upstream changes

xiaoyueyoqwq commented 1 year ago

Can you please test this branch

https://github.com/KaiijuMC/Kaiiju/tree/dev/fixes

It kick the player instead of crashing the server Note this might lead to unexpected behaviour, so it need tests

I'll close this issue while waiting for upstream changes

Okay, I try it now

xiaoyueyoqwq commented 1 year ago

Can you please test this branch

https://github.com/KaiijuMC/Kaiiju/tree/dev/fixes

It kick the player instead of crashing the server Note this might lead to unexpected behaviour, so it need tests

I'll close this issue while waiting for upstream changes

Maybe you can try to add this branch to Releases now

sofianedjerbi commented 1 year ago

The workaround seems to work:

  [mar. 00:03:37 INFO  Server/PlayerConnection] skoaboi issued server command: /tp 0 100 0
  [mar. 00:03:37 INFO  Server] [skoaboi: Teleported skoaboi to 0.500000, 100.000000, 0.500000]
  [mar. 00:03:37 INFO  Server/PlayerConnection] skoaboi lost connection: Already sent chunk [0, -3] in world world
  [mar. 00:03:37 INFO  voicechat] Disconnecting client skoaboi
  [mar. 00:03:37 INFO  Server] skoaboi left the game
- [mar. 00:03:37 ERROR Minecraft] Already sent chunk [0, -3] in world world

No crash, just an error