MineColonies

MineColonies

53M Downloads

Server crash when a player try to join

bloodyraoul opened this issue ยท 12 comments

commented

Version : minecolonies-0.13.18-ALPHA-universal.jar
The server start normally
When the first player try to login, the server crash...
I have tried to remove minecolonies from server and I can log in
I dont know what to do to fix the issue....really need help

Logs:

commented

I see a lot of logs like that each time a player connect:
[03Jul2020 21:10:08.274] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: DiabolosMan joined the game
[03Jul2020 21:10:08.413] [Server thread/INFO] [Waila/]: Syncing config to DiabolosMan (02435715-bb81-4d65-81a3-ce7420554ba2)
[03Jul2020 21:10:08.426] [Server thread/INFO] [structurize/]: New Server UUID 09a084ff-14a2-4d70-94eb-c96ed757913a
[03Jul2020 21:10:08.493] [Netty Epoll Server IO #3/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize net.minecraftforge.server.command.ModIdArgument@25813e8d (class net.minecraftforge.server.command.ModIdArgument) - will not be sent to client!
[03Jul2020 21:10:08.493] [Netty Epoll Server IO #3/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize net.minecraftforge.server.command.EnumArgument@5783bc97 (class net.minecraftforge.server.command.EnumArgument) - will not be sent to client!
[03Jul2020 21:10:08.493] [Netty Epoll Server IO #3/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize com.ldtteam.structurize.commands.arguments.MultipleStringArgument@13a656e (class com.ldtteam.structurize.commands.arguments.MultipleStringArgument) - will not be sent to client!
[03Jul2020 21:10:14.391] [Server thread/WARN] [minecolonies/]: Colony 1 has a very big memory imprint, this could be a memory leak, please contact the mod author!
[03Jul2020 21:10:16.177] [Server thread/WARN] [minecolonies/]: Colony 3 has a very big memory imprint, this could be a memory leak, please contact the mod author!

[03Jul2020 21:10:18.224] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: DiabolosMan lost connection: Disconnected
[03Jul2020 21:10:18.224] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: DiabolosMan left the game

I did not do anything particular the day before the bug occured in minecolonie. I have a colony of 70 citizens, with nearly all building types
The only thing I did that was different from the other days is that I did lost of quests from "Strange" mod. One of the reward was a teleport to a very very far distant stone circle located in 19953056/63/24844848.... Yes, it is 19Millions/63/24Millions. I do not know if the distance from the colony has an impact and if minecolonies does calculations with the user coordonates. If it is the case, maybe there is an overflow somewhere ? This is the only thing that is different from the other days.
[03Jul2020 21:10:08.241] [Server thread/INFO] [net.minecraft.server.management.PlayerList/]: DiabolosMan[/86.227.235.64:52281] logged in with entity id 1017 at (1.9953200699999988E7, 62.0, 2.484486634095306E7)

When Minecolonies.jar is removed, the server works perfectly.

Thanks in advance for your help.

commented

@DiabolosMan the above will be fixed in the 18 version.

commented

@bloodyraoul every time the same crashlog?

commented

Yes, I have tried again this morning :
crashlog : https://gist.github.com/bloodyraoul/844534f8ce9a4d091f3900fe092f6d00

commented

okay I looked further into it. And this seems to be a forge bug. We just do an itemStack.copy there. It seems one of the workers got a corrupted itemStack.

commented

What happens if you disable the watchdog?

commented

I have tried to disable watchdog. I can login but I am immedialty quicked, the login sequence is now :
[06Jul2020 12:56:17.591] [Server thread/INFO] [net.minecraft.server.management.PlayerList/]: bloodyraoul[/91.168.186.93:29737] logged in with entity id 7270 at (-559.1906165715897, 77.0, -70.44437365393362)
[06Jul2020 12:56:17.599] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: bloodyraoul joined the game
[06Jul2020 12:56:17.637] [Server thread/INFO] [Waila/]: Syncing config to bloodyraoul (b1f7b606-9889-49c9-91a8-edc5c7499947)
[06Jul2020 12:56:17.753] [Netty Epoll Server IO #34/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize biomesoplenty.common.command.BiomeArgument@71f6edc6 (class biomesoplenty.common.command.BiomeArgument) - will not be sent to client!
[06Jul2020 12:56:17.753] [Netty Epoll Server IO #34/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize net.minecraftforge.server.command.ModIdArgument@449193c4 (class net.minecraftforge.server.command.ModIdArgument) - will not be sent to client!
[06Jul2020 12:56:17.753] [Netty Epoll Server IO #34/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize cpw.mods.inventorysorter.InventorySorterCommand$ContainerClassArgument@6b765e14 (class cpw.mods.inventorysorter.InventorySorterCommand$ContainerClassArgument) - will not be sent to client!
[06Jul2020 12:56:17.754] [Netty Epoll Server IO #34/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize cpw.mods.inventorysorter.InventorySorterCommand$ContainerClassArgument@4824742b (class cpw.mods.inventorysorter.InventorySorterCommand$ContainerClassArgument) - will not be sent to client!
[06Jul2020 12:56:17.754] [Netty Epoll Server IO #34/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize net.minecraftforge.server.command.EnumArgument@758a38d9 (class net.minecraftforge.server.command.EnumArgument) - will not be sent to client!
[06Jul2020 12:56:17.754] [Netty Epoll Server IO #34/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize net.minecraftforge.server.command.EnumArgument@73640696 (class net.minecraftforge.server.command.EnumArgument) - will not be sent to client!
[06Jul2020 12:56:17.755] [Netty Epoll Server IO #34/ERROR] [net.minecraft.command.arguments.ArgumentTypes/]: Could not serialize com.ldtteam.structurize.commands.arguments.MultipleStringArgument@f05732a (class com.ldtteam.structurize.commands.arguments.MultipleStringArgument) - will not be sent to client!
[06Jul2020 12:56:22.912] [Server thread/WARN] [minecolonies/]: Colony 1 has a very big memory imprint, this could be a memory leak, please contact the mod author!
[06Jul2020 12:56:22.975] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: bloodyraoul lost connection: Disconnected
[06Jul2020 12:56:22.975] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: bloodyraoul left the game

Client side, I have the error :
image

I dont know if all of this is related to the orignal problem but it seems because if I remove minecolonies from server, i can login

commented

if you do the request system reset on the console before logging it, will it work?

commented

It works ! thank you !
it is a good workaround but there is a bug in the request system ;)

commented

When it crashes again, please send us the colony.dat of the colony that is logged as "too big"

commented

I will

commented

The problem appears again today :
Colony 1 has a very big memory imprint, this could be a memory leak, please contact the mod author!
colony1_0.zip

fixed by resetting the request system from server console but not normal
/mc colony requestsystem-reset-all

Here is the colony.dat of the coloniy having the problem