Description
When a server crash occurs, instead of the server crashing and shutting down (upon which the server process exits and thus e.g. server admin software can detect the crashed state and restart server), the server process gets indefinitely stuck throwing uncaught exceptions in various spark sampler threads.
Reproduction Steps
- Set up a 26.1.2 Neoforge client + server (I used
26.1.2.17, latest as of this, but this's occurred on earlier NF versions on 26.1.2) and add spark mod (spark-1.10.172-neoforge)
- Cause a server crash - could be from seemingly any source, I've just been using known problematic mod interactions that cause such a crash, like adding
sophisticatedcore-26.1-1.4.25.1687 and sophisticatedbackpacks-26.1-3.25.47.1680, as on this version if you give yourself a backpack and try to open it, the server crashes (I could also reproduce the same behaviour with entirely different sets of mods and causing a crash with them)
- On server crash, instead of the server process exiting after finishing the crash report, the process will be indefinitely stuck throwing exceptions
Expected Behaviour
Server process to exit after crash
Platform Information
- Minecraft Version: 26.1.2
- Platform Type: Server
- Platform Brand: NeoForge
- Platform Version: 26.1.2.17
Spark Version
v1.10.172
Logs and Configs
Latest.log: latest.log
Debug.log: debug.log
Do note that this exception spam is absent in latest/debug logs (since I suspect server thread is already closed/gone at this point), and is only further present in console logs (visible on admin panels or terminal/console windows across various operating systems), example on Windows host where this very rapidly gets spammed indefinitely:
Tall screenshot:
Extra Details
No response
Description
When a server crash occurs, instead of the server crashing and shutting down (upon which the server process exits and thus e.g. server admin software can detect the crashed state and restart server), the server process gets indefinitely stuck throwing uncaught exceptions in various spark sampler threads.
Reproduction Steps
26.1.2.17, latest as of this, but this's occurred on earlier NF versions on 26.1.2) and add spark mod (spark-1.10.172-neoforge)sophisticatedcore-26.1-1.4.25.1687andsophisticatedbackpacks-26.1-3.25.47.1680, as on this version if you give yourself a backpack and try to open it, the server crashes (I could also reproduce the same behaviour with entirely different sets of mods and causing a crash with them)Expected Behaviour
Server process to exit after crash
Platform Information
Spark Version
v1.10.172
Logs and Configs
Latest.log: latest.log
Debug.log: debug.log
Do note that this exception spam is absent in latest/debug logs (since I suspect server thread is already closed/gone at this point), and is only further present in console logs (visible on admin panels or terminal/console windows across various operating systems), example on Windows host where this very rapidly gets spammed indefinitely:
Tall screenshot:
Extra Details
No response