Closed GLUEHazard closed 1 year ago
The log you shared seems to end abruptly, is that all of it?
Yes it stops there my server runs for about 5 min and then freezes
On Sat, May 6, 2023, 9:05 PM Jon @.***> wrote:
The log you shared seems to end abruptly, is that all of it?
— Reply to this email directly, view it on GitHub https://github.com/xJon/Hexxit-II/issues/201#issuecomment-1537258612, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VD6F2S6TYUVPGNPVTVCRLXE3YONANCNFSM6AAAAAAXYOHBEM . You are receiving this because you authored the thread.Message ID: @.***>
actually there might be a character limit
this file is the full log
This log shows the server starting and a player joining, are you sure it's the correct log?
yes. so the server would finally start and run for a maximum of 5 min then freeze. i can stay in the game for about another minute and then it says timed out
I have 8GB of ram alocated to the server so i dont think its an issue there
Can you include the part of the log in which the server freezes?
it just stops working like i cant connect to the server anymore and the cmd promt stays up but i cant type anything in. idk how else to explain it
idk if its a network issue or what and how to fix it
it only happens with technic servers both texxit and hexit do the same thing
So does it happen also with newer servers?
No, it doesn't.
On Sat, May 6, 2023, 10:50 PM Jon @.***> wrote:
So does it happen also with newer servers?
— Reply to this email directly, view it on GitHub https://github.com/xJon/Hexxit-II/issues/201#issuecomment-1537274895, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VD6F5XOW6U7SCISFVWXELXE4EYJANCNFSM6AAAAAAXYOHBEM . You are receiving this because you authored the thread.Message ID: @.***>
it only happens after the server has been started up a second time
@GLUEHazard Could you share a thread dump (information from the process thread that's running your server) once your server is frozen / not responding?
You'd need to have Java JDK installed (e.g. https://adoptium.net/), then run in cmd jstack <pid>
, where <pid>
is equal to the the process ID number of your server (you can view it in task manager under Processes
by enabling the PID column).
Server wont start once I installed java jdk
You have most likely installed an incompatible JDK, you need Java 8 64-bit.
11648: jvm.dll not loaded by target process The -F option can be used when the target process is not responding this? this process says suspended
Error attaching to core file: Windbg Error: OpenDumpFile failed! sun.jvm.hotspot.debugger.DebuggerException: Windbg Error: OpenDumpFile failed! at sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.attach0(Native Method) at sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.attach(WindbgDebuggerLocal.java:160) at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:673) at sun.jvm.hotspot.HotSpotAgent.setupDebuggerWin32(HotSpotAgent.java:569) at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:335) at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:304) at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:156) at sun.jvm.hotspot.tools.Tool.start(Tool.java:191) at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) at sun.tools.jstack.JStack.main(JStack.java:106)
@GLUEHazard Is that what's printed to the console after you use jstack <pid>
?
yes
so i did jstack 5880 (which is the PID for the Java process) and it just hangs
Microsoft Windows [Version 10.0.22000.1880] (c) Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>jstack 5880
So it hangs rather than print the other things?
yes, i cant type or do anything else in the cmd process
idk if we could hop in a discord or something so i could screen share my issue so i can show you
@GLUEHazard Can you do jstack -F <pid>
? That should force a thread dump.
C:\WINDOWS\system32>jstack -F 5880 Error: -F option used Cannot connect to core dump or remote debug server. Use jhsdb jstack instead
so i can get a dump until the point the process gets suspended
Can you try jhsdb jstack --pid
?
C:\WINDOWS\system32>jhsdb jstack --pid 2456
Attaching to process ID 2456, please wait...
java.lang.RuntimeException: Type "GrowableArrayBase", referenced in VMStructs::localHotSpotVMStructs in the remote VM, was not present in the remote VMStructs::localHotSpotVMTypes table (should have been caught in the debug build of that VM). Can not continue.
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotTypeDataBase.lookupOrFail(HotSpotTypeDataBase.java:596)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotTypeDataBase.lookupType(HotSpotTypeDataBase.java:120)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotTypeDataBase.lookupOrCreateClass(HotSpotTypeDataBase.java:631)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotTypeDataBase.createType(HotSpotTypeDataBase.java:744)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:195)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotTypeDataBase.
I believe this could mean in this case it requires JDK 8 to do this.
If you're willing to try to uninstall the current JDK and install https://adoptium.net/temurin/releases/?version=8 and try again using jstack 5880
or jstack -F 5880
, it might help.
I apologize for not being confident in my support here, this is a strange case that I have yet to encounter before.
same message
like I said idk if we could hop in a discord
same message
Did you uninstall the previous JDK version?
Beyond that, I'm not sure how to help further right now. I'll see if someone else could help.
Error attaching to process: sun.jvm.hotspot.runtime.VMVersionMismatchException: Supported versions are 25.372-b07. Target VM is 25.371-b11 sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.runtime.VMVersionMismatchException: Supported versions are 25.372-b07. Target VM is 25.371-b11
I believe this means there's a subversion mismatch between Java 8 371 (SE, running the server) and Java 8 372 (the JDK for the thread dump). Unfortunately I don't believe there is Java 8 SE 372. This seems to only affect when using -F
, does it still hang without using -F
?
yes
so it only hangs once the server freezes
C:\WINDOWS\system32>jstack 10180 2023-05-07 16:41:48 Full thread dump OpenJDK 64-Bit Server VM (25.372-b07 mixed mode):
"Downloader 0" #55 daemon prio=5 os_prio=0 tid=0x000002579d71b000 nid=0x4350 waiting on condition [0x000000840c4fe000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method)
"pool-3-thread-3" #54 prio=5 os_prio=0 tid=0x000002579d725800 nid=0x2d90 waiting on condition [0x000000840c3ff000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)
"pool-3-thread-2" #53 prio=5 os_prio=0 tid=0x000002579d724800 nid=0x4990 waiting on condition [0x000000840c1fe000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)
"pool-3-thread-1" #52 prio=5 os_prio=0 tid=0x000002579d723800 nid=0x19ec waiting on condition [0x000000840bcfe000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)
"Keep-Alive-SocketCleaner" #51 daemon prio=8 os_prio=1 tid=0x000002579d722000 nid=0x724 in Object.wait() [0x000000840bbff000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method)
"pool-2-thread-1" #50 prio=5 os_prio=0 tid=0x000002579d721800 nid=0x1ca8 waiting on condition [0x000000840c0ff000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)
"Netty Server IO #0" #44 daemon prio=5 os_prio=0 tid=0x000002579d718000 nid=0x4724 runnable [0x000000840bdfe000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:314) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:293) at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:174) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
"LadyLib HTTP Helper" #41 prio=5 os_prio=0 tid=0x000002579d71e000 nid=0x7a0 waiting on condition [0x000000840baff000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method)
"ForkJoinPool.commonPool-worker-2" #28 daemon prio=5 os_prio=0 tid=0x000002579ca7a000 nid=0x494c waiting on condition [0x000000840b9fe000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method)
"ForkJoinPool.commonPool-worker-1" #27 daemon prio=5 os_prio=0 tid=0x000002579d5bc000 nid=0x2ff4 waiting on condition [0x000000840b8ff000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)
"DestroyJavaVM" #26 prio=5 os_prio=0 tid=0x00000257dcd45800 nid=0xd18 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE
"Server console handler" #25 daemon prio=5 os_prio=0 tid=0x00000257ff5c9800 nid=0x1bb8 runnable [0x000000840b7ff000] java.lang.Thread.State: RUNNABLE at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:255) at java.io.BufferedInputStream.read1(BufferedInputStream.java:284) at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
"Server thread" #23 prio=5 os_prio=0 tid=0x00000257fd915000 nid=0x34c8 runnable [0x000000840b6ff000]
java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.
"Server Infinisleeper" #22 daemon prio=5 os_prio=0 tid=0x00000257ffbe5800 nid=0x1ad4 waiting on condition [0x000000840b5ff000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at net.minecraft.server.dedicated.DedicatedServer$1.run(DedicatedServer.java:82)
"Snooper Timer" #21 daemon prio=5 os_prio=0 tid=0x00000257fc041000 nid=0x1f18 in Object.wait() [0x000000840b4ff000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method)
"Service Thread" #11 daemon prio=9 os_prio=0 tid=0x00000257fa179000 nid=0xb74 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE
"C1 CompilerThread3" #10 daemon prio=9 os_prio=2 tid=0x00000257fa147000 nid=0x1398 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE
"C2 CompilerThread2" #9 daemon prio=9 os_prio=2 tid=0x00000257fa139800 nid=0x1020 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE
"C2 CompilerThread1" #8 daemon prio=9 os_prio=2 tid=0x00000257fa137000 nid=0x27d0 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" #7 daemon prio=9 os_prio=2 tid=0x00000257fa135000 nid=0x4938 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE
"Attach Listener" #6 daemon prio=5 os_prio=2 tid=0x00000257fa12f000 nid=0x1dd8 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" #5 daemon prio=9 os_prio=2 tid=0x00000257fa12a000 nid=0x30ac runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE
"Surrogate Locker Thread (Concurrent GC)" #4 daemon prio=9 os_prio=0 tid=0x00000257fa129800 nid=0x382c waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE
"Finalizer" #3 daemon prio=8 os_prio=1 tid=0x00000257fa0bc800 nid=0xe40 in Object.wait() [0x000000840aafe000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method)
"Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x00000257fa0b4000 nid=0x3a58 in Object.wait() [0x000000840a9ff000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method)
"VM Thread" os_prio=2 tid=0x00000257fa0b1800 nid=0x1c48 runnable
"Gang worker#0 (Parallel GC Threads)" os_prio=2 tid=0x00000257dcd5d800 nid=0x2704 runnable
"Gang worker#1 (Parallel GC Threads)" os_prio=2 tid=0x00000257dcd5f000 nid=0x1248 runnable
"Gang worker#2 (Parallel GC Threads)" os_prio=2 tid=0x00000257dcd61000 nid=0x26a8 runnable
"Gang worker#3 (Parallel GC Threads)" os_prio=2 tid=0x00000257dcd63000 nid=0x3b1c runnable
"Gang worker#4 (Parallel GC Threads)" os_prio=2 tid=0x00000257dcd65800 nid=0x4840 runnable
"Gang worker#5 (Parallel GC Threads)" os_prio=2 tid=0x00000257dcd67000 nid=0x11dc runnable
"Gang worker#6 (Parallel GC Threads)" os_prio=2 tid=0x00000257dcd6c000 nid=0xd28 runnable
"Gang worker#7 (Parallel GC Threads)" os_prio=2 tid=0x00000257dcd6d800 nid=0x32b4 runnable
"G1 Main Concurrent Mark GC Thread" os_prio=2 tid=0x00000257dce09000 nid=0x2e50 runnable
"Gang worker#0 (G1 Parallel Marking Threads)" os_prio=2 tid=0x00000257dce0a000 nid=0x2e4 runnable
"Gang worker#1 (G1 Parallel Marking Threads)" os_prio=2 tid=0x00000257dce0a800 nid=0x19e4 runnable
"G1 Concurrent Refinement Thread#0" os_prio=2 tid=0x00000257dcd8a800 nid=0x38c8 runnable
"G1 Concurrent Refinement Thread#1" os_prio=2 tid=0x00000257dcd86800 nid=0xa38 runnable
"G1 Concurrent Refinement Thread#2" os_prio=2 tid=0x00000257dcd85000 nid=0x23f0 runnable
"G1 Concurrent Refinement Thread#3" os_prio=2 tid=0x00000257dcd82000 nid=0x3e24 runnable
"G1 Concurrent Refinement Thread#4" os_prio=2 tid=0x00000257dcd81000 nid=0xe08 runnable
"G1 Concurrent Refinement Thread#5" os_prio=2 tid=0x00000257dcd7e000 nid=0x11d0 runnable
"G1 Concurrent Refinement Thread#6" os_prio=2 tid=0x00000257dcd79800 nid=0x49f4 runnable
"G1 Concurrent Refinement Thread#7" os_prio=2 tid=0x00000257dcd73000 nid=0x3584 runnable
"G1 Concurrent Refinement Thread#8" os_prio=2 tid=0x00000257dcd72000 nid=0x48d8 runnable
"VM Periodic Task Thread" os_prio=2 tid=0x00000257fa17c800 nid=0x3c94 waiting on condition
JNI global references: 2964
C:\WINDOWS\system32>
I assume using jcmd <pid> Thread.print
also wouldn't work, but perhaps you can try?
this is what i get before it freezes
C:\WINDOWS\system32>jcmd 10180 Thread.print 10180: It hangs as well
[16:43:58] [Server thread/WARN] [minecraft/WorldServer]: Keeping entity mocreatures:ostrich that already exists with UUID 55ab8921-7d93-4ec2-8218-269ddd01d37e [16:43:58] [Server thread/WARN] [minecraft/WorldServer]: Keeping entity mocreatures:fly that already exists with UUID b73a965c-edb5-4a0c-8862-125847345d71 [16:43:58] [Server thread/WARN] [minecraft/WorldServer]: Keeping entity mocreatures:goldfish that already exists with UUID c6924091-1fa2-45c0-b921-305114544a94 [16:43:58] [Server thread/WARN] [minecraft/WorldServer]: Keeping entity minecraft:llama that already exists with UUID decf1e4b-0d02-4537-98d1-f67f01a7db3c [16:43:58] [Server thread/WARN] [minecraft/WorldServer]: Keeping entity mocreatures:fly that already exists with UUID f983c798-6211-4480-b058-1fada4d52617
You said that this issue happens with Tekxit as well? I don't believe it has Mo' Creatures installed so I doubt that is the cause, although you could try manually removing it.
When the server hangs, can you try to in the server window to press the CTRL, SHIFT, and Pause keys together?
I pressed the CTRL, SHIFT, and Pause keys together and it did something but didnt fix it. I cant type anything in it now
In this case because there's no error in the log as the game freezes rather than crash, and we've unable to get a thread dump, and you mentioned this also happens with Tekxit but not with other modpacks not from Technic - the only suggestion I have is is for you to manually remove some mods to find which one/s cause the issue. You can also try to cross compare which mods are both in Hexxit II and Tekxit but not in other modpacks that didn't cause this issue for you. You can try with Mo' Creatures and Custom Mob Spawner as you said they appeared last in the log, or other ones, I'm truly unsure as I'm not able to reproduce this issue. Sorry for not having a better idea than that.
Closed due to inactivity (will reopen if requested). Also worth trying out with the new update.
Basic details
Describe the issue when starting an old server (one that has been opened before) it freezes and server wont start. But, using a fresh install of a server it works