vinanrra / Docker-7DaysToDie

7 days to die server using LinuxGSM in Docker with backups, monitor, auto-installable mods and more
GNU General Public License v3.0
229 stars 45 forks source link

[BUG] EOS Initialization fails, Mono crash #263

Closed jtegtmeier closed 1 month ago

jtegtmeier commented 2 months ago

Describe the bug "EOS Initialization" appears to fail. Mono provides a crash log. The crash log has many errors/warnings, some which I belive are "normal" for 7dtd/LGSM, but it's difficult to tell which one may cause the final crash with Mono. Thanks for taking a look!

To Reproduce Steps to reproduce the behavior:

  1. Pull and start a fresh container (any previous containers/volumes stopped and removed).
    version: '3.8'
    services:
    7-days-to-die:
    image: vinanrra/7dtd-server
    environment:
      - START_MODE=1 # Change between START MODES
      - VERSION=public # Change between 7 days to die versions
      - PUID=1000 # Remember to use same as your user
      - PGID=1000 # Remember to use same as your user
      - TimeZone=America/Los_Angeles # Optional - Change Timezone
      - TEST_ALERT=NO # Optional - Send a test alert
      - UPDATE_MODS=YES # Optional - This will allow mods to be update on start, each mod also need to have XXXX_UPDATE=YES to update on start
      - ALLOC_FIXES=YES # Optional - Install ALLOC FIXES
      - ALLOC_FIXES_UPDATE=YES # Optional - Update Allocs Fixes before server start
      - UNDEAD_LEGACY=NO # Optional - Install Undead Legacy mod
      - UNDEAD_LEGACY_VERSION=stable # Optional - Undead Legacy version
      - UNDEAD_LEGACY_UPDATE=NO # Optional - Update Undead Legacy mod before server start
      - CPM=NO # Optional - CSMM Patron's Mod (CPM)
      - CPM_UPDATE=NO # Optional - Update BepInEx before server start
      - BEPINEX=NO # Optional - BepInEx
      - BEPINEX_UPDATE=NO # Optional - Update BepInEx before server start
      - BACKUP=YES # Optional - Backup server at 5 AM
      - MONITOR=NO # Optional - Keeps server up if crash
    volumes:
      - ./data/7-days-to-die/7DaysToDie:/home/sdtdserver/.local/share/7DaysToDie/
      - ./config/7-days-to-die/LGSM-Config:/home/sdtdserver/lgsm/config-lgsm/sdtdserver
      - ./data/7-days-to-die/ServerFiles:/home/sdtdserver/serverfiles/ # Optional - serverfiles folder
      - ./data/7-days-to-die/log:/home/sdtdserver/log/ # Optional - Logs folder
      - ./data/7-days-to-die/backups:/home/sdtdserver/lgsm/backup/ # Optional - If BAKCUP=NO, backups folder
    ports:
      - 26900:26900/tcp # Default game ports
      - 26900:26900/udp # Default game ports
      - 26901:26901/udp # Default game ports
      - 26902:26902/udp # Default game ports
      - 7677:8080/tcp # OPTIONAL - WEBADMIN
      - 7678:8081/tcp # OPTIONAL - TELNET
      - 7679:8082/tcp # OPTIONAL - WEBSERVER https://7dtd.illy.bz/wiki/Server%20fixes
  2. Observe crash after first run.

Expected behavior The server would start without crashing.

Debug Log

sdtdserver@274380eb77ea:~$ ./sdtdserver debug
fetching GitHub command_debug.sh...OK
[ INFO ] Debuging sdtdserver: Checking for log files: Creating log files
installing log dir: /home/sdtdserver/log...OK
installing LinuxGSM log dir: /home/sdtdserver/log/script...OK
creating LinuxGSM log: /home/sdtdserver/log/script/sdtdserver-script.log...OK
installing console log dir: /home/sdtdserver/log/console...OK
creating console log: /home/sdtdserver/log/console/sdtdserver-console.log...OK
[ FAIL ] Debuging sdtdserver: Could not copy any steamclient.so 64bit for the gameserver
[  OK  ] Debuging sdtdserver: Applying steamclient.so sdk64 hardlink fix: 7 Days To Die
[ FAIL ] Debuging sdtdserver: Could not copy any steamclient.so 32bit for the gameserver
[  OK  ] Debuging sdtdserver: Applying steamclient.so sdk32 link fix: 7 Days To Die

7 Days To Die Debuging
=================================
Distro:          Ubuntu 24.04 LTS
Architecture:    x86_64
Kernel:          5.4.0-190-generic
Hostname:        274380eb77ea
tmux:            3.4
Avg Load:        0.08, 0.06, 0.09
Free Memory:     18GB
Free Disk:       322G
glibc required: 2.27
Game Server IP: 0.0.0.0:26900
Internet IP:    73.96.176.254:26900
Server password:        redacted
Start parameters:
 ./7DaysToDieServer.x86_64 -quit -batchmode -nographics -dedicated -configfile=/home/sdtdserver/serverfiles/sdtdserver.xml

Use debug for identifying server issues only!
Press CTRL+c to drop out of debug mode.
Warning! If sdtdserver is already running it will be stopped.
Continue? [Y/n] Y
[ INFO ] Debuging sdtdserver: Stopping any running servers
fetching GitHub command_stop.sh...OK
[ INFO ] Stopping sdtdserver: Checking for log files: Creating log files
installing log dir: /home/sdtdserver/log...OK
installing LinuxGSM log dir: /home/sdtdserver/log/script...OK
creating LinuxGSM log: /home/sdtdserver/log/script/sdtdserver-script.log...OK
installing console log dir: /home/sdtdserver/log/console...OK
creating console log: /home/sdtdserver/log/console/sdtdserver-console.log...OK
[ INFO ] Stopping sdtdserver: ZompiezNW is already stopped
[  OK  ] Debuging sdtdserver: Starting debug
[UnityMemory] Configuration Parameters - Can be set up in boot.config
    "memorysetup-bucket-allocator-granularity=16"
    "memorysetup-bucket-allocator-bucket-count=8"
    "memorysetup-bucket-allocator-block-size=4194304"
    "memorysetup-bucket-allocator-block-count=1"
    "memorysetup-main-allocator-block-size=16777216"
    "memorysetup-thread-allocator-block-size=16777216"
    "memorysetup-gfx-main-allocator-block-size=16777216"
    "memorysetup-gfx-thread-allocator-block-size=16777216"
    "memorysetup-cache-allocator-block-size=4194304"
    "memorysetup-typetree-allocator-block-size=2097152"
    "memorysetup-profiler-bucket-allocator-granularity=16"
    "memorysetup-profiler-bucket-allocator-bucket-count=8"
    "memorysetup-profiler-bucket-allocator-block-size=4194304"
    "memorysetup-profiler-bucket-allocator-block-count=1"
    "memorysetup-profiler-allocator-block-size=16777216"
    "memorysetup-profiler-editor-allocator-block-size=1048576"
    "memorysetup-temp-allocator-size-main=4194304"
    "memorysetup-job-temp-allocator-block-size=2097152"
    "memorysetup-job-temp-allocator-block-size-background=1048576"
    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    "memorysetup-allocator-temp-initial-block-size-main=262144"
    "memorysetup-allocator-temp-initial-block-size-worker=262144"
    "memorysetup-temp-allocator-size-background-worker=32768"
    "memorysetup-temp-allocator-size-job-worker=262144"
    "memorysetup-temp-allocator-size-preload-manager=262144"
    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    "memorysetup-temp-allocator-size-audio-worker=65536"
    "memorysetup-temp-allocator-size-cloud-worker=32768"
    "memorysetup-temp-allocator-size-gfx=262144"
Mono path[0] = '/home/sdtdserver/serverfiles/7DaysToDieServer_Data/Managed'
Mono config path = '/home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/etc'
Shutdown handler: initialize.
Preloaded 'libEOSSDK-Linux-Shipping.so'
Preloaded 'libMagick.so'
Preloaded 'lib_burst_generated.so'
Preloaded 'libgetrss.so'
Preloaded 'libsteam_api.so'
Preloaded 'steamclient.so'
Unable to preload the following plugins:
        libMouseLib.so
[Physics::Module] Initialized MultithreadedJobDispatcher with 3 workers.
Loading player data from /home/sdtdserver/serverfiles/7DaysToDieServer_Data/data.unity3d
Initialize engine version: 2022.3.29f1 (8d510ca76d2b)
[Subsystems] Discovering subsystems at path /home/sdtdserver/serverfiles/7DaysToDieServer_Data/UnitySubsystems
Forcing GfxDevice: Null
GfxDevice: creating device client; threaded=0; jobified=0
NullGfxDevice:
    Version:  NULL 1.0 [1.0]
    Renderer: Null Device
    Vendor:   Unity Technologies
Begin MonoManager ReloadAssembly
- Loaded All Assemblies, in  0.192 seconds
- Finished resetting the current domain, in  0.003 seconds
ERROR: Shader Hidden/LandClaimBoundary shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
WARNING: Shader Unsupported: '7DTD/Cube_UI_Glow' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader 7DTD/Cube_UI_Glow shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: '7DTD/Cube_UI_Glow' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
WARNING: Shader Unsupported: '7DTD/Cube_UI_Frame' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader 7DTD/Cube_UI_Frame shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: '7DTD/Cube_UI_Frame' - All subshaders removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
ERROR: Shader Unlit/Transparent Colored shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader GUI/Text Shader shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
UnloadTime: 1.815734 ms
2024-08-04T16:02:23 0.002 INF Version: V 1.0 (b333) Compatibility Version: V 1.0, Build: LinuxServer 64 Bit

2024-08-04T16:02:23 0.085 WRN The open files limit is too low (1024) and may cause crashes. Recommended is at least 10240. Follow these steps to increment it:
- Open /etc/security/limits.conf with a text editor: 'sudo editor /etc/security/limits.conf'
- Add or update the line: 'sdtdserver soft nofile 10240'
- Save the file and exit the editor
- Apply the changes: Log out and back in or restart the system

2024-08-04T16:02:23 0.089 INF System information:
2024-08-04T16:02:23 0.089 INF    OS: Linux 5.4 Ubuntu 24.04 64bit
2024-08-04T16:02:23 0.091 INF    CPU: AMD Phenom(tm) II X4 955 Processor (cores: 4)
2024-08-04T16:02:23 0.091 INF    RAM: 19752 MB
2024-08-04T16:02:23 0.092 INF    GPU: Null Device (128 MB)
2024-08-04T16:02:23 0.099 INF    Graphics API: NULL 1.0 [1.0] (shader level 3.0)
2024-08-04T16:02:23 0.105 INF Local UTC offset: -7 hours
2024-08-04T16:02:23 0.169 INF Command line arguments: ./7DaysToDieServer.x86_64 -quit -batchmode -nographics -dedicated -configfile=/home/sdtdserver/serverfiles/sdtdserver.xml
2024-08-04T16:02:23 0.193 INF Parsing server configfile: /home/sdtdserver/serverfiles/sdtdserver.xml
2024-08-04T16:02:23 0.266 INF Parsing server configfile successfully completed
2024-08-04T16:02:23 0.267 INF UserDataFolder: /home/sdtdserver/.local/share/7DaysToDie
2024-08-04T16:02:23 0.271 INF [Platform] Init
2024-08-04T16:02:23 0.352 INF [Platform] Using native platform: Steam
2024-08-04T16:02:23 0.354 INF [Platform] Using cross platform: EOS
2024-08-04T16:02:23 0.355 INF [Platform] Using server platform: Steam
2024-08-04T16:02:23 0.355 INF [Platform] Using server platform: XBL
2024-08-04T16:02:23 0.355 INF [Platform] Using server platform: PSN
2024-08-04T16:02:23 0.365 INF Starting PlayerInputManager...
2024-08-04T16:02:23 0.370 INF InControl (version 1.8.9 build 9376, native module = False, XInput = False)
2024-08-04T16:02:23 0.377 INF InControl (version 1.8.9 build 9376)
2024-08-04T16:02:24 0.706 INF UnityInputDeviceManager enabled.
2024-08-04T16:02:24 0.748 INF [Platform] Initializing Steam
2024-08-04T16:02:24 0.765 INF [Platform] Initializing EOS

=================================================================
        Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

=================================================================
        Native stacktrace:
=================================================================
        0x7f324111557e - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so : 
        0x7f32410bdff9 - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so : 
        0x7f32410432c5 - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so : 
        0x7f3243168320 - /lib/x86_64-linux-gnu/libc.so.6 : 
        0x7f31bfd0cfa1 - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/Plugins/libEOSSDK-Linux-Shipping.so : 
        0x7f31bfd0e0e7 - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/Plugins/libEOSSDK-Linux-Shipping.so : 
        0x7f31bfcb80ac - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/Plugins/libEOSSDK-Linux-Shipping.so : 
        0x7f31bfcdcc46 - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/Plugins/libEOSSDK-Linux-Shipping.so : 
        0x7f31bfc6ddfa - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/Plugins/libEOSSDK-Linux-Shipping.so : 
        0x7f31bfce26ec - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/Plugins/libEOSSDK-Linux-Shipping.so : 
        0x7f31bfce259a - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/Plugins/libEOSSDK-Linux-Shipping.so : 
        0x7f31bf7a4fbb - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/Plugins/libEOSSDK-Linux-Shipping.so : EOS_Initialize
        0x41683e23 - Unknown

=================================================================
        Telemetry Dumper:
=================================================================
Pkilling 0x139851601016512x from 0x139853850303360x
Could not exec mono-hang-watchdog, expected on path '/home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/etc/../bin/mono-hang-watchdog' (errno 2)
Pkilling 0x139850752186048x from 0x139853850303360x
Pkilling 0x139851471976128x from 0x139853850303360x
Pkilling 0x139851480368832x from 0x139853850303360x
Pkilling 0x139853810591424x from 0x139853850303360x
Entering thread summarizer pause from 0x139853850303360x
Finished thread summarizer pause from 0x139853850303360x.
Failed to create breadcrumb file (null)/crash_hash_0x65a0f58f4
Shutdown handler: cleanup.

Waiting for dumping threads to resume

=================================================================
        External Debugger Dump:
=================================================================
mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb

=================================================================
        Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7f31bfd0cfa1):0x7f31bfd0cf91  04 5f f3 0f 6f 4c 5f 10 66 0f 6f 15 6f 04 87 fe  ._..oL_.f.o.o...
0x7f31bfd0cfa1  66 0f 38 00 c2 66 0f 38 00 ca 66 0f 6c c1 66 0f  f.8..f.8..f.l.f.
0x7f31bfd0cfb1  7f 04 1c 4c 39 d6 74 17 0f 1f 80 00 00 00 00 0f  ...L9.t.........
0x7f31bfd0cfc1  b6 0c 77 88 0c 34 48 83 c6 01 49 39 f2 75 f0 48  ..w..4H...I9.u.H

=================================================================
        Managed Stacktrace:
=================================================================
          at <unknown> <0xffffffff>
          at Epic.OnlineServices.Bindings:EOS_Initialize <0x00082>
          at Epic.OnlineServices.Platform.PlatformInterface:Initialize <0x0003f>
          at Platform.EOS.Api:initPlatform <0x001bf>
          at Platform.EOS.Api:InitClientApis <0x00037>
          at Platform.EOS.Api:InitServerApis <0x0000f>
          at Platform.AbsPlatform:Init <0x00546>
          at Platform.PlatformManager:Init <0x00450>
          at GameEntrypoint:Entrypoint <0x002b3>
          at GameEntrypoint:Awake <0x0000b>
          at System.Object:runtime_invoke_void__this__ <0x00075>
=================================================================
Caught fatal signal - signo:4 code:2 errno:0 addr:0x7f31bfd0cfa1
Obtained 45 stack frames.
#0  0x007f3243168320 in __sigaction
#1  0x007f31bfd0cfa1 in EOS_UserInfo_BestDisplayName_Release
#2  0x007f31bfd0e0e7 in EOS_UserInfo_BestDisplayName_Release
#3  0x007f31bfcb80ac in EOS_UserInfo_BestDisplayName_Release
#4  0x007f31bfcdcc46 in EOS_UserInfo_BestDisplayName_Release
#5  0x007f31bfc6ddfa in EOS_UserInfo_BestDisplayName_Release
#6  0x007f31bfce26ec in EOS_UserInfo_BestDisplayName_Release
#7  0x007f31bfce259a in EOS_UserInfo_BestDisplayName_Release
#8  0x007f31bf7a4fbb in EOS_Initialize
#9  0x00000041683e22 in (wrapper managed-to-native) Epic.OnlineServices.Bindings:EOS_Initialize (Epic.OnlineServices.Platform.InitializeOptionsInternal&)
#10 0x000000416d3c0f in Epic.OnlineServices.Platform.PlatformInterface:Initialize (Epic.OnlineServices.Platform.InitializeOptions&)
#11 0x0000004169362f in Platform.EOS.Api:initPlatform (Platform.EOS.EosCreds,bool)
#12 0x000000416e3d47 in Platform.EOS.Api:InitClientApis ()
#13 0x000000416f3faf in Platform.EOS.Api:InitServerApis ()
#14 0x000000417620a6 in Platform.AbsPlatform:Init ()
#15 0x000000416355d0 in Platform.PlatformManager:Init ()
#16 0x0000004159e203 in GameEntrypoint:Entrypoint ()
#17 0x0000004159998b in GameEntrypoint:Awake ()
#18 0x00000041543ad5 in (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
#19 0x007f3241046458 in mono_get_runtime_build_info
#20 0x007f32411e582f in mono_runtime_invoke
#21 0x007f32411e5779 in mono_runtime_invoke
#22 0x007f3244198d62 in (Unknown)
#23 0x007f3244186292 in (Unknown)
#24 0x007f3244186191 in (Unknown)
#25 0x007f32441ddca7 in (Unknown)
#26 0x007f3244179b08 in (Unknown)
#27 0x007f3244179f7d in (Unknown)
#28 0x007f3244179a61 in (Unknown)
#29 0x007f32441f7717 in (Unknown)
#30 0x007f3243fba22f in (Unknown)
#31 0x007f3243fb9edd in (Unknown)
#32 0x007f3243fb9e36 in (Unknown)
#33 0x007f3243fbacf7 in (Unknown)
#34 0x007f3243fbb59a in (Unknown)
#35 0x007f3243fc648f in (Unknown)
#36 0x007f3243fabf46 in (Unknown)
#37 0x007f3244204d31 in PlayerMain(int, char**)
#38 0x007f324314d1ca in __libc_init_first
#39 0x007f324314d28b in __libc_start_main
#40 0x0055e319ccd029 in (Unknown)
/home/sdtdserver/lgsm/modules/command_debug.sh: line 121:  3453 Illegal instruction     (core dumped) ./7DaysToDieServer.x86_64 -quit -batchmode -nographics -dedicated -configfile=/home/sdtdserver/serverfiles/sdtdserver.xml
[ ERROR ] Debuging sdtdserver: Server has stopped: exit code: 0
[ ERROR ] Debuging sdtdserver: Press ENTER to exit debug mode

Versions:

docker --version && docker compose version  
Docker version 27.1.1, build 6312585
Docker Compose version v2.2.2
nerdfacenyan commented 2 months ago

Getting similar error:

7dtdserver  | 2024-08-06T20:46:26 0.030 INF System information:
7dtdserver  | 2024-08-06T20:46:26 0.030 INF    OS: Linux 6.6 Ubuntu 24.04 64bit
7dtdserver  | 2024-08-06T20:46:26 0.032 INF    CPU: Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz (cores: 24)
7dtdserver  | 2024-08-06T20:46:26 0.032 INF    RAM: 257650 MB
7dtdserver  | 2024-08-06T20:46:26 0.033 INF    GPU: Null Device (128 MB)
7dtdserver  | 2024-08-06T20:46:26 0.038 INF    Graphics API: NULL 1.0 [1.0] (shader level 3.0)
7dtdserver  | 2024-08-06T20:46:26 0.042 INF Local UTC offset: 2 hours
7dtdserver  | 2024-08-06T20:46:26 0.091 INF Command line arguments: ./7DaysToDieServer.x86_64 -quit -batchmode -nographics -dedicated -configfile=/home/sdtdserver/serverfiles/sdtdserver.xml
7dtdserver  | 2024-08-06T20:46:26 0.122 INF Parsing server configfile: /home/sdtdserver/serverfiles/sdtdserver.xml
7dtdserver  | 2024-08-06T20:46:26 0.219 ERR ====================================================================================================
7dtdserver  | 2024-08-06T20:46:26 0.219 ERR Error parsing configfile property 'ControlPanelEnabled': Unknown config option
7dtdserver  | 2024-08-06T20:46:26 0.219 INF Make sure your configfile is updated the current server version!
7dtdserver  | 2024-08-06T20:46:26 0.219 INF Startup aborted due to the given error in server configfile
7dtdserver  | 2024-08-06T20:46:26 0.219 ERR ====================================================================================================
7dtdserver  | 2024-08-06T20:46:26 0.220 INF UserDataFolder: /home/sdtdserver/.local/share/7DaysToDie
7dtdserver  | InvalidOperationException: GamePrefs is being accessed before it is ready.
7dtdserver  |   at GamePrefs.get_Instance () [0x00007] in <6852d66f1c454f28b8c6698872258303>:0
7dtdserver  |   at GamePrefs.GetObject (EnumGamePrefs _eProperty) [0x00002] in <6852d66f1c454f28b8c6698872258303>:0
7dtdserver  |   at GamePrefs.GetFloat (EnumGamePrefs _eProperty) [0x00000] in <6852d66f1c454f28b8c6698872258303>:0
7dtdserver  |   at SelectionBoxManager.Awake () [0x00012] in <6852d66f1c454f28b8c6698872258303>:0
7dtdserver  |
7dtdserver  | InvalidOperationException: GamePrefs is being accessed before it is ready.
7dtdserver  |   at GamePrefs.get_Instance () [0x00007] in <6852d66f1c454f28b8c6698872258303>:0
7dtdserver  |   at GamePrefs.GetObject (EnumGamePrefs _eProperty) [0x00002] in <6852d66f1c454f28b8c6698872258303>:0
7dtdserver  |   at GamePrefs.GetInt (EnumGamePrefs _eProperty) [0x00000] in <6852d66f1c454f28b8c6698872258303>:0
7dtdserver  |   at GameOptionsManager.ValidateFoV () [0x00000] in <6852d66f1c454f28b8c6698872258303>:0
7dtdserver  |   at GameOptionsManager..cctor () [0x000d0] in <6852d66f1c454f28b8c6698872258303>:0
7dtdserver  | Rethrow as TypeInitializationException: The type initializer for 'GameOptionsManager' threw an exception.
7dtdserver  |   at GUIWindowManager.Awake () [0x00018] in <6852d66f1c454f28b8c6698872258303>:0
7dtdserver  |
7dtdserver  | Caught fatal signal - signo:11 code:1 errno:0 addr:0x28
7dtdserver  |
7dtdserver  | =================================================================
7dtdserver  |   Native Crash Reporting
7dtdserver  | =================================================================
7dtdserver  | Got a SIGSEGV while executing native code. This usually indicates
7dtdserver  | a fatal error in the mono runtime or one of the native libraries
7dtdserver  | used by your application.
7dtdserver  | =================================================================
7dtdserver  |
7dtdserver  | =================================================================
7dtdserver  |   Native stacktrace:
7dtdserver  | =================================================================
7dtdserver  |   0x7f253a11557e - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so :
7dtdserver  |   0x7f253a0bdff9 - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so :
7dtdserver  |   0x7f253a043480 - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so :
7dtdserver  |   0x7f2576833320 - /lib/x86_64-linux-gnu/libc.so.6 :
7dtdserver  |   0x7f2577a7ef84 - UnityPlayer.so :
7dtdserver  |   0x7f2577a7a0e5 - UnityPlayer.so :
7dtdserver  |   0x7f257797a0cd - UnityPlayer.so :
7dtdserver  |   0x7f2578281f82 - UnityPlayer.so :
7dtdserver  |   0x7f25782866ca - UnityPlayer.so :
7dtdserver  |   0x7f2578287037 - UnityPlayer.so :
7dtdserver  |   0x7f25782f1d94 - UnityPlayer.so :
7dtdserver  |   0x7f257688aa94 - /lib/x86_64-linux-gnu/libc.so.6 :
7dtdserver  |   0x7f2576917a34 - /lib/x86_64-linux-gnu/libc.so.6 : __clone
7dtdserver  |
7dtdserver  | =================================================================
7dtdserver  |   Telemetry Dumper:
7dtdserver  | =================================================================
7dtdserver  | Thread 0x7f25381ff6c0 may have been prematurely finalized* Assertion at mono-threads.c:702, condition `info' not met, function:mono_thread_info_current,
7dtdserver  |
7dtdserver  | An error has occured in the native fault reporting. Some diagnostic information will be unavailable.
7dtdserver  |
7dtdserver  | =================================================================
7dtdserver  |   Native stacktrace:
7dtdserver  | =================================================================
7dtdserver  |   0x7f253a11557e - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so :
7dtdserver  |   0x7f253a2619ee - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so : mono_assertion_message_disabled
7dtdserver  |   0x7f253a256edc - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so :
7dtdserver  |   0x7f253a2583b4 - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so :
7dtdserver  |   0x7f253a204822 - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so :
7dtdserver  |   0x7f253a115711 - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so :
7dtdserver  |   0x7f253a0bdff9 - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so :
7dtdserver  |   0x7f253a043480 - /home/sdtdserver/serverfiles/7DaysToDieServer_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so :
7dtdserver  |   0x7f2576833320 - /lib/x86_64-linux-gnu/libc.so.6 :
7dtdserver  |   0x7f2577a7ef84 - UnityPlayer.so :
7dtdserver  |   0x7f2577a7a0e5 - UnityPlayer.so :
7dtdserver  |   0x7f257797a0cd - UnityPlayer.so :
7dtdserver  |   0x7f2578281f82 - UnityPlayer.so :
7dtdserver  |   0x7f25782866ca - UnityPlayer.so :
7dtdserver  |   0x7f2578287037 - UnityPlayer.so :
7dtdserver  |   0x7f25782f1d94 - UnityPlayer.so :
7dtdserver  |   0x7f257688aa94 - /lib/x86_64-linux-gnu/libc.so.6 :
7dtdserver  |   0x7f2576917a34 - /lib/x86_64-linux-gnu/libc.so.6 : __clone
7dtdserver  |
7dtdserver  | =================================================================
7dtdserver  |   External Debugger Dump:
7dtdserver  | =================================================================
7dtdserver  | mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
7dtdserver  | Obtained 11 stack frames.
7dtdserver  | #0  0x007f2576833320 in __sigaction
7dtdserver  | #1  0x007f257767f1e7 in (Unknown)
7dtdserver  | #2  0x007f2577574a4b in (Unknown)
7dtdserver  | #3  0x007f25775713cc in (Unknown)
7dtdserver  | #4  0x007f2577570e45 in (Unknown)
7dtdserver  | #5  0x007f257760f72f in (Unknown)
7dtdserver  | #6  0x007f257755727e in (Unknown)
7dtdserver  | #7  0x007f25777afb63 in PlayerMain(int, char**)
7dtdserver  | #8  0x007f25768181ca in __libc_init_first
7dtdserver  | #9  0x007f257681828b in __libc_start_main
7dtdserver  | #10 0x0055e4de423029 in (Unknown)
nerdfacenyan commented 2 months ago

This seems to be an error with using my old server config, at least on my end. I'm able to get it to start with the default but not my custom. Seems like a rewrite or at least modification of the old server configs is necessary

edit: up and running with a recreated server config

jtegtmeier commented 2 months ago

Thanks @nerdfacenyan for your details.

Unfortunately, I don't think these issues are too closely related. Yours appears to have failed after Parsing server configfile: /home/sdtdserver/serverfiles/sdtdserver.xml and is related to the ControlPanelEnabled property. My issue occurs after Initializing EOS and is related to the /home/sdtdserver/serverfiles/7DaysToDieServer_Data/Plugins/libEOSSDK-Linux-Shipping.so module.

I have also attempted to fix this by clearing any container/volume state, but have not had any luck.