simibubi / Above-and-Beyond

[Forge Modpack] Create's official Challenge-pack
140 stars 47 forks source link

Game stalling on world load #115

Open meemo opened 2 years ago

meemo commented 2 years ago

I have been running a server for around a week now and this morning I noticed that the game had been in a crash loop for a couple of hours. Ocassionally I was able to attempt to join the server, but I end up timing out (this is the Tick time crash report). In these roughly 20 crashes there were 3 different types of crash reports, and here are 1 of each:

xreliquary: https://pastebin.com/fdvrvWHe AE2: https://pastebin.com/vpxAjrn6

Tick time: https://pastebin.com/BYXDz0yC

Reading online about similar issues I tried increasing maximum tick time without success:

600.0 seconds maximum tick time: https://pastebin.com/3sAmvY6J

I tried loading the world and each of the backups I had in singleplayer, but that caused the game to hang on 100% so it would never fully load into the game.

MultiMC log: https://paste.ee/p/eTJ8G

After talking with other users on the Create discord server it appears that this is a recurring issue. Does anyone know what would be causing this and/or have a fix?

GarethCarew commented 2 years ago

I only ever had a crash due to Tick time.

Here is a link to a gist with the log. It stalled in MP as well as SP.

a3626a commented 2 years ago

Using 'debug' command, i profiled the moment when user joins. profile-results-2022-01-22_16.57.54.txt

98.69% of tick time is caused by 'minecraft:item' so I deleted every item entities.

kill @e[type=item] image

And it fixes the issue.

Some automation setups might create item entities. However they are expected to be vanished after 5 minutes. I am not sure what is causing items not to be despawned.