AOF 6 Server crashing
Lucas-S-Vieira opened this issue ยท 15 comments
I've created a server for me and my friends and we are having an issue, when one of the players enter some kinda of portal, i dunno from what mod it is, the server crashes
Edit: It's a portal from Mine Cells
Crash report:
crash-2023-09-12_20.22.36-server.txt
java.lang.Error: Watchdog
This means your server took too long to process something
Thread: Server Watchdog
Stacktrace:
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
at net.minecraft.class_1255.method_20813(class_1255.java:152)
at net.minecraft.class_1255.method_18857(class_1255.java:142)
at net.minecraft.class_3215.getChunkBlocking(class_3215.java:1781)
Looks like it was generating chunks
further down we see the real problem:
"Worker-Main-22" daemon prio=5 Id=108 RUNNABLE
at com.mojang.datafixers.kinds.Applicative.ap2(Applicative.java:76)
at com.mojang.datafixers.optics.ListTraversal.lambda$wander$0(ListTraversal.java:19)
at com.mojang.datafixers.optics.ListTraversal$$Lambda$29658/0x000002464d48f280.apply(Unknown Source)
at com.mojang.datafixers.FunctionType$Instance.lambda$wander$4(FunctionType.java:94)
at com.mojang.datafixers.FunctionType$Instance$$Lambda$29652/0x000002464d48dd70.apply(Unknown Source)
at com.mojang.datafixers.FunctionType$$Lambda$29642/0x000002464d48c6c0.apply(Unknown Source)
at com.mojang.datafixers.util.Either.lambda$mapRight$1(Either.java:166)
at com.mojang.datafixers.util.Either$$Lambda$17058/0x000002464c05af80.apply(Unknown Source)
at com.mojang.datafixers.util.Either$Right.map(Either.java:99)
at com.mojang.datafixers.util.Either.mapRight(Either.java:166)
at com.mojang.datafixers.FunctionType$Instance.lambda$right$6(FunctionType.java:104)
at com.mojang.datafixers.FunctionType$Instance$$Lambda$29649/0x000002464d48d6b0.apply(Unknown Source)
at com.mojang.datafixers.FunctionType$$Lambda$29642/0x000002464d48c6c0.apply(Unknown Source)
at [email protected]/java.util.function.Function.lambda$compose$0(Function.java:68)
at [email protected]/java.util.function.Function$$Lambda$18451/0x000002464c1e0d58.apply(Unknown Source)
at [email protected]/java.util.function.Function.lambda$compose$0(Function.java:68)
at [email protected]/java.util.function.Function$$Lambda$18451/0x000002464c1e0d58.apply(Unknown Source)
at com.mojang.datafixers.FunctionType$$Lambda$29642/0x000002464d48c6c0.apply(Unknown Source)
at com.mojang.datafixers.FunctionType$Instance.lambda$first$1(FunctionType.java:81)
outdated mod structures...
Since modernfix is in the pack, turn off the watchdog timer by setting max-tick-time in server.properties to 0. once done, it will likely disconnect you next time you enter the mine cells portal but it should finish updating the data for the structure and modernfix will cache it. then you shouldnt run into this problem with this specific structure agian. sadly there are 2400 outdated structures in this pack...so if you didnt pregenerate your world, you are going to have a bad time.
also, you appear to be playing an older version of the pack without modernfix...if you dont plan to update your pack regularly, install modernfix https://www.curseforge.com/minecraft/mc-mods/modernfix/files/4728402
also, you appear to be playing an older version of the pack without modernfix...if you dont plan to update your pack regularly, install modernfix https://www.curseforge.com/minecraft/mc-mods/modernfix/files/4728402
To install this, all my players need to install it to?
nope, it should work serverside only, but i would recommend they do as it reduces load time and memory usage, even in vanilla
Other doubt, when im openning the server there's an error that appear:
Twilight Forest: Exception occurred in netty pipeline
io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: Index 50 out of bounds for length 1
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:480) ~[netty-codec-4.1.77.Final.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) ~[netty-codec-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327) [netty-codec-4.1.77.Final.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:314) [netty-codec-4.1.77.Final.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:435) [netty-codec-4.1.77.Final.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) [netty-codec-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?]
at net.minecraft.class_3238.channelRead(class_3238.java:95) [server-intermediary.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [netty-handler-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584) [netty-transport-4.1.77.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) [netty-transport-4.1.77.Final.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) [netty-common-4.1.77.Final.jar:?]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.77.Final.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.IndexOutOfBoundsException: Index 50 out of bounds for length 1
at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[?:?]
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[?:?]
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) ~[?:?]
at java.util.Objects.checkIndex(Objects.java:359) ~[?:?]
at java.util.ArrayList.get(ArrayList.java:427) ~[?:?]
at net.minecraft.class_2539$class_4532.method_22310(class_2539.java:432) ~[server-intermediary.jar:?]
at net.minecraft.class_2539.method_10783(class_2539.java:485) ~[server-intermediary.jar:?]
at net.minecraft.class_2543.decode(class_2543.java:32) ~[server-intermediary.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510) ~[netty-codec-4.1.77.Final.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449) ~[netty-codec-4.1.77.Final.jar:?]
... 31 more
I dunno what to do, doesnt interfer in the server, but is flooding the console
It might be worth it to post the log to a place like https://mclo.gs/ and then link it here.
It might be worth it to post the log to a place like https://mclo.gs/ and then link it here.
ok, thanks
are you intentionally using ipv6?
edit: I installed a fresh 1.8.2 version and added the same modernfix release to it, set it to an offline server, and cant reproduce the issue you are having. everything appears to be running fine. I do force ipv4 on my computer, and i notice yours is using ipv6 but i dont know what your server is doing in regards to networking.
are you intentionally using ipv6?
edit: I installed a fresh 1.8.2 version and added the same modernfix release to it, set it to an offline server, and cant reproduce the issue you are having. everything appears to be running fine. I do force ipv4 on my computer, and i notice yours is using ipv6 but i dont know what your server is doing in regards to networking.
I'm gonna try to force the use of ipv4
I forced my pc to use ipv4, im openning the server yer, but this is my server config:
#Minecraft server properties
#Tue Sep 12 22:41:04 BRT 2023
enable-jmx-monitoring=false
rcon.port=25575
level-seed=
gamemode=survival
enable-command-block=false
enable-query=false
generator-settings={}
enforce-secure-profile=true
level-name=world
motd=A Minecraft Server
query.port=25565
pvp=true
generate-structures=true
max-chained-neighbor-updates=1000000
difficulty=hard
network-compression-threshold=256
max-tick-time=0
require-resource-pack=false
use-native-transport=true
max-players=12
online-mode=false
enable-status=true
allow-flight=true
broadcast-rcon-to-ops=true
view-distance=10
server-ip=
resource-pack-prompt=
allow-nether=true
server-port=25565
enable-rcon=false
sync-chunk-writes=true
op-permission-level=4
prevent-proxy-connections=false
hide-online-players=false
resource-pack=
entity-broadcast-range-percentage=100
simulation-distance=10
rcon.password=
player-idle-timeout=0
force-gamemode=false
rate-limit=0
hardcore=false
white-list=false
broadcast-console-to-ops=true
spawn-npcs=true
previews-chat=false
spawn-animals=true
function-permission-level=2
level-type=minecraft:normal
text-filtering-config=
spawn-monsters=true
enforce-whitelist=false
spawn-protection=16
resource-pack-sha1=
max-world-size=29999984
are you intentionally using ipv6?
edit: I installed a fresh 1.8.2 version and added the same modernfix release to it, set it to an offline server, and cant reproduce the issue you are having. everything appears to be running fine. I do force ipv4 on my computer, and i notice yours is using ipv6 but i dont know what your server is doing in regards to networking.
What java jdk you're using?
I've deleted the servestarter.lock to force the mods to be re-installed, seems to work now, apparently
I'm gonna test along the day and if the errors appear again, i update in here