Skip to content

1.21.4 + Floodgate Server Crash? #577

Open
@spookymgmt

Description

@spookymgmt

This is a tinfoil hat conspiracy, lets hop into it.

[20:14:46] [User Authenticator #290/INFO]: UUID of player _LeGoose420 is 00000000-0000-0000-0009-01f3e6db40de
[20:14:46] [Server thread/INFO]: [floodgate] Floodgate player logged in as _LeGoose420 joined (UUID: 00000000-0000-0000-0009-01f3e6db40de)
[20:14:56] [Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - If you think this is a Leaf bug, please report it at https://github.com/Winds-Studio/Leaf/issues - THIS IS NOT A PAPER BUG OR CRASH - 1.21.4-DEV-ed05b9a (MC: 1.21.4) ---
[20:14:56] [Watchdog Thread/ERROR]: The server has not responded for 10 seconds! Creating thread dump
[20:14:56] [Watchdog Thread/ERROR]: ------------------------------
[20:14:56] [Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Leaf!):
[20:14:56] [Watchdog Thread/ERROR]: ------------------------------
[20:14:56] [Watchdog Thread/ERROR]: Current Thread: Server thread
[20:14:56] [Watchdog Thread/ERROR]: 	PID: 95 | Suspended: false | Native: false | State: WAITING
[20:14:56] [Watchdog Thread/ERROR]: 	Stack:
[20:14:56] [Watchdog Thread/ERROR]: 		[email protected]/java.lang.Object.wait0(Native Method)
[20:14:56] [Watchdog Thread/ERROR]: 		[email protected]/java.lang.Object.wait(Object.java:366)
[20:14:56] [Watchdog Thread/ERROR]: 		[email protected]/java.lang.Object.wait(Object.java:339)
[20:14:56] [Watchdog Thread/ERROR]: 		io.netty.util.concurrent.DefaultPromise.awaitUninterruptibly(DefaultPromise.java:276)
[20:14:56] [Watchdog Thread/ERROR]: 		io.netty.channel.DefaultChannelPromise.awaitUninterruptibly(DefaultChannelPromise.java:137)
[20:14:56] [Watchdog Thread/ERROR]: 		io.netty.channel.DefaultChannelPromise.awaitUninterruptibly(DefaultChannelPromise.java:30)
[20:14:56] [Watchdog Thread/ERROR]: 		io.netty.util.concurrent.DefaultPromise.syncUninterruptibly(DefaultPromise.java:412)
[20:14:56] [Watchdog Thread/ERROR]: 		io.netty.channel.DefaultChannelPromise.syncUninterruptibly(DefaultChannelPromise.java:125)
[20:14:56] [Watchdog Thread/ERROR]: 		io.netty.channel.DefaultChannelPromise.syncUninterruptibly(DefaultChannelPromise.java:30)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.network.Connection.syncAfterConfigurationChange(Connection.java:328)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.network.Connection.setupInboundProtocol(Connection.java:352)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:373)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.server.network.ServerConfigurationPacketListenerImpl.handleConfigurationFinished(ServerConfigurationPacketListenerImpl.java:163)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.handle(ServerboundFinishConfigurationPacket.java:22)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.handle(ServerboundFinishConfigurationPacket.java:8)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:29)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.network.protocol.PacketUtils$$Lambda/0x00007faa8c7bcdb0.run(Unknown Source)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.server.TickTask.run(TickTask.java:18)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1474)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:165)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1455)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1449)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:118)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1584)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1274)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:298)
[20:14:56] [Watchdog Thread/ERROR]: 		net.minecraft.server.MinecraftServer$$Lambda/0x00007faa88ea6b50.run(Unknown Source)
[20:14:56] [Watchdog Thread/ERROR]: 		[email protected]/java.lang.Thread.runWith(Thread.java:1596)
[20:14:56] [Watchdog Thread/ERROR]: 		[email protected]/java.lang.Thread.run(Thread.java:1583)
[20:14:56] [Watchdog Thread/ERROR]: ------------------------------

Notice how a floodgate player joined, and EXACTLY 10 seconds later the server throws an error, threads halt?

Not a coincidence, in every single occasion of my server crashing, it's always the same story.

exactly 10 seconds

[03:50:53] [Server thread/INFO]: [floodgate] Floodgate player logged in as _ThedemonXS joined (UUID: 00000000-0000-0000-0009-01f5f1f683c5)
[03:51:03] [Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - If you think this is a Leaf bug, please report it at https://github.com/Winds-Studio/Leaf/issues - THIS IS NOT A PAPER BUG OR CRASH - 1.21.4-DEV-1b09a21 (MC: 1.21.4) ---
[03:51:03] [Watchdog Thread/ERROR]: The server has not responded for 10 seconds! Creating thread dump

Exactly 10 seconds

[22:55:59] [Server thread/INFO]: [floodgate] Floodgate player logged in as _HenryDanger914 joined (UUID: 00000000-0000-0000-0009-01f4f75cf9a5)
[22:56:09] [Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - If you think this is a Leaf bug, please report it at https://github.com/Winds-Studio/Leaf/issues - THIS IS NOT A PAPER BUG OR CRASH - 1.21.4-DEV-1b09a21 (MC: 1.21.4) ---

Exactly 10 seconds

[23:29:21] [Server thread/INFO]: [floodgate] Floodgate player logged in as _HenryDanger914 joined (UUID: 00000000-0000-0000-0009-01f4f75cf9a5)
[23:29:31] [Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - If you think this is a Leaf bug, please report it at https://github.com/Winds-Studio/Leaf/issues - THIS IS NOT A PAPER BUG OR CRASH - 1.21.4-DEV-1b09a21 (MC: 1.21.4) ---

Exactly 10 seconds

[20:14:46] [Server thread/INFO]: [floodgate] Floodgate player logged in as _LeGoose420 joined (UUID: 00000000-0000-0000-0009-01f3e6db40de)
[20:14:56] [Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - If you think this is a Leaf bug, please report it at https://github.com/Winds-Studio/Leaf/issues - THIS IS NOT A PAPER BUG OR CRASH - 1.21.4-DEV-ed05b9a (MC: 1.21.4) ---

Exactly 10 seconds

[23:24:16] [User Authenticator #58/INFO]: UUID of player _Isaiahroy1050 is 00000000-0000-0000-0009-01f1ae752db7
[23:24:26] [Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - If you think this is a Leaf bug, please report it at https://github.com/Winds-Studio/Leaf/issues - THIS IS NOT A PAPER BUG OR CRASH - 1.21.4-DEV-ed05b9a (MC: 1.21.4) ---

You get the point lol

While scanning the repo I found dis

Sorry back to the 10 second thing

 private void applySkin0(FloodgatePlayer floodgatePlayer, SkinData skinData, boolean firstTry) {
        Player player = Bukkit.getPlayer(floodgatePlayer.getCorrectUniqueId());

        // player is probably not logged in yet
        if (player == null) {
            if (firstTry) {
                versionSpecificMethods.schedule(
                        () -> applySkin0(floodgatePlayer, skinData, false),
                        10 * 20
                );
            }
            return;
        }

Specifically

                versionSpecificMethods.schedule(
                        () -> applySkin0(floodgatePlayer, skinData, false),
                        10 * 20

^^ is that not 200 ticks (10 seconds)??

Is something failing with applying skin? timeout? ratelimit? malformed skin? something?

:insert cat picture:

pls someone save me

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more infoFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions