LunaPixelStudios / Medieval-MC

https://lunapixel.studio/discord
https://lunapixel.studio/discord
15 stars 9 forks source link

Server Keeps Crashing #676

Closed Jaffythethird closed 12 months ago

Jaffythethird commented 1 year ago

Describe the Bug

To preface, I've not seen it happen without the Icarae player in game, but I think it's because he can traverse a lot of ground and encounter whatever doesn't want to spawn in or something. I've pasted 4 crash logs, and they're all a little different. A few that I didn't post said both the concurrent error, as well as running out of memory because the heap filled up. There are a LOT of errors loading things up in the console logs, but that may be normal. Though the error says out of memory sometimes, I've got 20GB and it's only one player exploring out of the 2 or 3 online. I think something it flooding the heap when something is encountered, but of course I don't know what that is yet.

Reproduction Steps

I am running this server in a dockerized instance of Minecraft via the itzg/docker-minecraft-server and I am using the following docker-compose.yml: https://pastebin.com/9nz6iq8N

Happens most often when the Icarae player is exploring, but has happened while they weren't.

Screenshots and Videos

No response

Crash Report or Log

https://pastebin.com/tYevJaYq

Operating System

Ubuntu 22.04.3 LTS

Minecraft Version

1.19

Modloader

Fabric

Modpack Version

v23

Optifine

No

Other Mods

No response

chorbintime commented 1 year ago

Update the cupboard mod and add -Dmixin.debug.verbose=true to your java args, then send a new log

Jaffythethird commented 1 year ago

Updated cupboard and added that to the java args, but of the cupboard log. Perhaps I should have put it in the docker-compose file to apply to the whole thing?

New log: https://pastebin.com/5STFte3U

My last 4 logs all had this same error. We know about where in the server something is loading in and crashing it at this point, but still no clue what it is.

EDIT: Just updated the java args for the whole thing. Next crash should have more data

SHXRKIEgg commented 1 year ago

Could you provide the latest debug.log?

Jaffythethird commented 1 year ago

Could you provide the latest debug.log?

I'll be honest, I don't have a debug.log anywhere in these files.

Frontear commented 1 year ago

A latest.log will work as well. The -Dmixin.debug.verbose=true argument adds more information to log files and unfortunately not crash reports, so we'd need the latest.log too. Seeing a ConcurrentModificationException but it's impossible to know which mod is firing that, so hopefully the mixin debug that glean more info into it.

Jaffythethird commented 1 year ago

My latest.log is here: https://pastebin.com/eQiGxcBB

No crashes during this one. If I get a crash with this on, I'll be sure to send it

Jaffythethird commented 1 year ago

Finally got a crash. Here's the main log: https://pastebin.com/ityXt1Qc Also found an "rei-issues" log file: https://pastebin.com/U9RR6b4C

And finally, the startup post-crash (latest.log): https://pastebin.com/muv2Zemr (Fun fact, the mod [Load My F-ng Tags] trips the SMART filter in pastebin unless you rename them to something like I did there)

Frontear commented 1 year ago

this crash is claiming out of memory

Jaffythethird commented 1 year ago

Is 20GB really too little for 1-4 people playing on a server with this pack?

chorbintime commented 1 year ago

allocating too much ram will cause memory leaks. you only need 5-6gb