GameServerManagers / GameServerManagers/LinuxGSM
[Bug]: Core Keeper - Setting IP Parameter Crashes Server
- Dominant language
- Shell
- Stars
- 4.9k
- Forks
- 864
- PR merge metrics
- No merged PRs in 30d
Description
### User story
Reporting this bug to hopefully get more eyes than my own on this issue.
### Game
Core Keeper
### Linux distro
Ubuntu 22.04
### Command
command: start
### Further information
I've recently setup a Core Keeper server on my self-hosted LXC running Ubuntu 22.04.
The server uses a **rathole** client as a tunneling proxy which I have setup and used for my other services including Minecraft, Valheim and VRising.
When passing the public IP address of my tunnel into the start parameters of the servers LGSM config the game crashes with a **Segmentation Fault** error. This error doesn't occur however when passing the default `0.0.0.0` IP address.
This error also doesn't occur when directly executing the `_launch.sh` in the server files which leads me to believe it's a LGSM issue.
While I'm unsure of what is causing this issue, I've looked through the `command_start.sh` executable in the modules folder and have noticed it passes the start parameters through tmux and also confirmed that Core Keeper doesn't have any IP related command line arguments in their documentation.
Still fairly new to the module and config side of LGSM so I apologies if I've missed something.
GitHub issues are also not my forte so I might of completed this wrong.
### Relevant log output
```shell
### DEBUG MODE OUTPUT ###
[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"
Segmentation fault
[ ERROR ] Debuging ckserver: Server has stopped: exit code: 0
[ ERROR ] Debuging ckserver: Press ENTER to exit debug mode
### LOG FILE OUTPUT ###
Platform Manager aborted startup, exiting...
#0 PlayerMain(int, char**)
#1 PlayerMain(int, char**)
#2 ???
#3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
#4 (Mono JIT Code) UnityEngine.Logger:LogFormat (UnityEngine.LogType,string,object[])
#5 (Mono JIT Code) Manager:ExecuteIEnumeratorInstantly (System.Collections.IEnumerator)
#6 mono_get_runtime_build_info
#7 mono_runtime_invoke
#8 mono_runtime_invoke
#9 ???
#10 ???
#11 ???
#12 ???
#13 ???
#14 ???
#15 ???
#16 ???
#17 ???
#18 ???
#19 ???
#20 ???
#21 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Object:Internal_CloneSingle (UnityEngine.Object)
#22 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
#23 mono_get_runtime_build_info
#24 mono_runtime_invoke
#25 mono_runtime_invoke
#26 ???
#27 ???
#28 ???
#29 ???
#30 ???
#31 ???
#32 ???
#33 ???
#34 ???
#35 ???
#36 ???
#37 ???
#38 ???
#39 PlayerMain(int, char**)
#40 __libc_init_first
#41 __libc_start_main
#42 ???
StartGameRPCSystem OnCreate
```
### Steps to reproduce
Go to and edit `~/lgsm/config-lgsm/serverinstance/serverinstance.cfg`
Add the lines, `ip="PUBLIC_IP_ADDRESS"` _(any IP address will cause this issue, including your own public IP address)_
Execute the command `~/serverinstance start`
Contributor guide
Assessment
This issue has not been assessed yet.