Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SIGSEGV on some startups #82

Open
Benny93 opened this issue Oct 12, 2024 · 0 comments
Open

SIGSEGV on some startups #82

Benny93 opened this issue Oct 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Benny93
Copy link

Benny93 commented Oct 12, 2024

Describe the bug
A clear and concise description of what the bug is.

When Starting the server with 7GB Memory often get an SIGSEGV when the assets are loaded

LOG  : Mod         , 1728763546380> 15,366,570,885> loading Brita_2
LOG  : Mod         , 1728763546664> 15,366,571,170> mod "Brita_2" overrides media/clothing/clothing.xml
LOG  : Mod         , 1728763546701> 15,366,571,207> mod "Brita_2" overrides media/fileguidtable.xml
LOG  : Lua         , 1728763547258> 15,366,571,764> Loading: media/lua/shared/Sandbox/Apocalypse.lua

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f08bc84de8d (sent by kill), pid=76, tid=76
#
# JRE version: OpenJDK Runtime Environment Zulu17.30+15-CA (17.0.1+12) (build 17.0.1+12-LTS)
# Java VM: OpenJDK 64-Bit Server VM Zulu17.30+15-CA (17.0.1+12-LTS, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-amd64)
# Problematic frame:
# J 2568 c2 java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; java.base@17.0.1 (13 bytes) @ 0x00007f08bc84de8d [0x00007f08bc84dbc0+0x00000000000002cd]
#
# Core dump will be written. Default location: /home/steam/ZomboidDedicatedServer/core.76
#
# An error report file with more information is saved as:
# /home/steam/ZomboidDedicatedServer/hs_err_pid76.log
#
# If you would like to submit a bug report, please visit:
#   http://www.azul.com/support/
#
/home/steam/ZomboidDedicatedServer/start-server.sh: line 26:    76 Aborted                 LD_PRELOAD="${LD_PRELOAD}:${JSIG}" ./ProjectZomboid64 "$@"

### Project Zomboid Server stopped.

To Reproduce
Steps to reproduce the behavior:

  1. Follow instructions
  2. Start the server

Expected behavior
No SIGSEGV Errors

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. Ubuntu]
  • Docker Version 20.10.22
  • Image Version latest e.g. v2.5.0
    PRETTY_NAME="Ubuntu 22.04.1 LTS"
    NAME="Ubuntu"
    VERSION_ID="22.04"
    VERSION="22.04.1 LTS (Jammy Jellyfish)"
    VERSION_CODENAME=jammy
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f08bc84de8d (sent by kill), pid=76, tid=76
#
# JRE version: OpenJDK Runtime Environment Zulu17.30+15-CA (17.0.1+12) (build 17.0.1+12-LTS)
# Java VM: OpenJDK 64-Bit Server VM Zulu17.30+15-CA (17.0.1+12-LTS, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-amd64)
# Problematic frame:
# J 2568 c2 java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; java.base@17.0.1 (13 bytes) @ 0x00007f08bc84de8d [0x00007f08bc84dbc0+0x00000000000002cd]
#
# Core dump will be written. Default location: /home/steam/ZomboidDedicatedServer/core.76
#
# If you would like to submit a bug report, please visit:
#   http://www.azul.com/support/
#

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

Command Line: -Djava.awt.headless=true -Xmx7096m -Dzomboid.steam=1 -Dzomboid.znetlog=1 -Djava.library.path=linux64/:natives/ -Djava.security.egd=file:/dev/urandom -XX:+UseZGC -XX:-OmitStackTraceInFastThrow 

Host: AMD EPYC 7453 28-Core Processor, 4 cores, 8G, Ubuntu 22.10
Time: Sat Oct 12 20:05:50 2024 UTC elapsed time: 19.853393 seconds (0d 0h 0m 19s)

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

Current thread (0x00000000009497b0):  JavaThread "main" [_thread_in_Java, id=76, stack(0x00007ffe9f9b2000,0x00007ffe9fab2000)]

Stack: [0x00007ffe9f9b2000,0x00007ffe9fab2000],  sp=0x00007ffe9faaeda0,  free space=1011k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 2568 c2 java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; java.base@17.0.1 (13 bytes) @ 0x00007f08bc84de8d [0x00007f08bc84dbc0+0x00000000000002cd]
J 3112 c1 zombie.scripting.objects.ScriptModule.CreateFromTokenPP(Ljava/lang/String;)V (942 bytes) @ 0x00007f08b5786474 [0x00007f08b5780760+0x0000000000005d14]
j  zombie.scripting.objects.ScriptModule.ParseScriptPP(Ljava/lang/String;)V+28
j  zombie.scripting.objects.ScriptModule.Load(Ljava/lang/String;Ljava/lang/String;)V+25
j  zombie.scripting.ScriptManager.CreateFromToken(Ljava/lang/String;)V+153
j  zombie.scripting.ScriptManager.ParseScript(Ljava/lang/String;)V+45
j  zombie.scripting.ScriptManager.LoadFile(Ljava/lang/String;Z)V+354
j  zombie.scripting.ScriptManager.Load()V+433
j  zombie.network.GameServer.doMinimumInit()V+162
j  zombie.network.GameServer.main([Ljava/lang/String;)V+2256
v  ~StubRoutines::call_stub
V  [libjvm.so+0x84d844]  JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x334
V  [libjvm.so+0x8e3a59]  jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, JavaThread*) [clone .isra.154] [clone .constprop.365]+0x239
V  [libjvm.so+0x8e6511]  jni_CallStaticVoidMethodV+0xd1
C  [ProjectZomboid64+0x50c6]  JNIEnv_::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+0x86


siginfo: si_signo: 11 (SIGSEGV), si_code: 0 (SI_USER), si_pid: 0 (invalid), si_uid: 0

@Benny93 Benny93 added the bug Something isn't working label Oct 12, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant