Sodium Reloaded (Unofficial)

Sodium Reloaded (Unofficial)

0 Downloads

Sodium Client causing Paper Server crash Fatal Error: SIGSEGV (0xb) at pc=0x00007fadf3869ccc, pid=3211, tid=3251

m0ze1r opened this issue ยท 1 comments

commented

Version information

mc1.18-pre8-0.4.0+alpha4

Expected Behavior

No rendering issues

Actual Behavior

Crashes entire Java Lib & PaperMC Server

Reproduction Steps

  1. Join a PaperMC server with CLIENT SIDE MOD Sodium-fabric-mc1.18-0.4.0+alpha4
  2. Render Blocks
  3. Wait for Server Crash

Java version

OpenJDK Runtime Environment GraalVM CE 21.3.0 (build 17.0.1+12-jvmci-21.3-b05)

CPU

Intel Core i5-6500

GPU

Intel HD Graphics 530

Additional information

I'm the Server Admin

We've had a player recently causing the entire server to crash as they join / play
As soon as they were told to move to Optifine the server crashes ceased

These are the mods the player was joining with: https://i.imgur.com/3ZJvxVM.png

Server is running on Paper 1.18.1-140 and has Dynmap v3.3-beta-2-577 | Floodgate v2.1.0-SNAPSHOT | Geyser-spigot 2.0.0-SNAPSHOT | Sleep-most v4.12.0

This issue has been also raised on GraalVM: oracle/graal#4188

Entire Log can be found here: https://raw.githubusercontent.com/m0ze1r/Java-logs/main/hs_err_pid3211.log

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fadf3869ccc, pid=3211, tid=3251
#
# JRE version: OpenJDK Runtime Environment GraalVM CE 21.3.0 (17.0.1+12) (build 17.0.1+12-jvmci-21.3-b05)
# Java VM: OpenJDK 64-Bit Server VM GraalVM CE 21.3.0 (17.0.1+12-jvmci-21.3-b05, mixed mode, sharing, tiered, jvmci, jvmci compiler, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xd3dccc]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /media/hd2/minecraft/minecraft/mc-1-18/core.3211)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/oracle/graal/issues
#

---------------  S U M M A R Y ------------

Command Line: -XX:ThreadPriorityPolicy=1 -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCIProduct -XX:-UnlockExperimentalVMOptions -Xms10G -Xmx10G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true paper-1.18.1-140.jar

Host: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz, 4 cores, 23G, Manjaro Linux
Time: Sun Jan  9 04:54:40 2022 AEDT elapsed time: 1837.275640 seconds (0d 0h 30m 37s)

---------------  T H R E A D  ---------------

Current thread (0x00007fad4d31b2d0):  JavaThread "Worker-Main-1" daemon [_thread_in_vm, id=3251, stack(0x00007fad23cff000,0x00007fad23e00000)]

Stack: [0x00007fad23cff000,0x00007fad23e00000],  sp=0x00007fad23dfe070,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xd3dccc]
V  [libjvm.so+0xd3f179]
V  [libjvm.so+0x7e8b70]
j  ca.spottedleaf.starlight.common.light.SWMRNibbleArray.updateVisible()Z+13
J 16099 jvmci ca.spottedleaf.starlight.common.light.StarLightEngine.updateVisible(Lnet/minecraft/world/level/chunk/ILightAccess;)V (159 bytes) @ 0x00007faddb9a62f4 [0x00007faddb9a6100+0x00000000000001f4]
J 34289 c1 ca.spottedleaf.starlight.common.light.StarLightEngine.forceHandleEmptySectionChanges(Lnet/minecraft/world/level/chunk/ILightAccess;Lnet/minecraft/world/level/chunk/IChunkAccess;[Ljava/lang/Boolean;)V (135 bytes) @ 0x00007fadd66e0154 [0x00007fadd66decc0+0x0000000000001494]
J 25680 c1 ca.spottedleaf.starlight.common.light.StarLightInterface.forceLoadInChunk(Lnet/minecraft/world/level/chunk/IChunkAccess;[Ljava/lang/Boolean;)V (72 bytes) @ 0x00007fadd61fe5b4 [0x00007fadd61fe480+0x0000000000000134]
J 25502 c1 net.minecraft.server.level.LightEngineThreaded.lambda$lightChunk$20(Lnet/minecraft/world/level/chunk/IChunkAccess;ZLnet/minecraft/world/level/ChunkCoordIntPair;)Lnet/minecraft/world/level/chunk/IChunkAccess; (68 bytes) @ 0x00007fadd59b7744 [0x00007fadd59b71a0+0x00000000000005a4]
J 25501 c1 net.minecraft.server.level.LightEngineThreaded$$Lambda$4733+0x00000008018dad88.get()Ljava/lang/Object; (20 bytes) @ 0x00007fadd5e63054 [0x00007fadd5e62fc0+0x0000000000000094]
J 25311 c1 java.util.concurrent.CompletableFuture$AsyncSupply.run()V [email protected] (61 bytes) @ 0x00007fadd65e81bc [0x00007fadd65e7e60+0x000000000000035c]
J 30207 jvmci ca.spottedleaf.starlight.common.light.StarLightInterface.propagateChanges()V (280 bytes) @ 0x00007faddc74d6cc [0x00007faddc74c860+0x0000000000000e6c]
J 30259 jvmci net.minecraft.server.level.LightEngineThreaded.lambda$tryScheduleUpdate$27()V (17 bytes) @ 0x00007faddc7d13b4 [0x00007faddc7d1320+0x0000000000000094]
J 18386 jvmci net.minecraft.util.thread.ThreadedMailbox.g()Z (43 bytes) @ 0x00007faddbc8c7d4 [0x00007faddbc8c2e0+0x00000000000004f4]
J 21515 jvmci net.minecraft.util.thread.ThreadedMailbox.run()V (33 bytes) @ 0x00007faddbffab8c [0x00007faddbffab40+0x000000000000004c]
J 30153% jvmci java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V [email protected] (187 bytes) @ 0x00007faddc64d494 [0x00007faddc64cf20+0x0000000000000574]
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 [email protected]
j  java.lang.Thread.run()V+11 [email protected]
v  ~StubRoutines::call_stub
V  [libjvm.so+0x7f31e5]
V  [libjvm.so+0x7f49db]
V  [libjvm.so+0x8bcac3]
V  [libjvm.so+0xd91700]
V  [libjvm.so+0xd94d8e]
V  [libjvm.so+0xbeb0a1]
commented

No, Sodium is not causing your server to crash, especially not with a memory access violation. We don't interact with the server in any capacity.

You either have a bug in GraalVM or Paper here, or there's a problem with your server's hardware.