escapingnetwork / core-keeper-dedicated

Dockerfile for automated build of a Core Keeper Dedicated Server
https://hub.docker.com/r/escaping/core-keeper-dedicated
MIT License
118 stars 33 forks source link

Segmentation fault on launch.sh #16

Closed FelipeCordova closed 1 year ago

FelipeCordova commented 1 year ago

Today i restarted my containter due to the last seasonal update, i encountered this error on restarting. I tried to find more information about it, but i couldn't find any clues. Its seems to me that could be a display problem, because the segmentation error code changed when i used other docker images (trying to add /tmp/.X11-unix as a volume).

These are the docker logs before dying

2023-02-09T02:54:15.640856047Z 2023-02-09T02:54:17.548378709Z Connecting anonymously to Steam Public...OK 2023-02-09T02:54:17.548393416Z Waiting for client config...OK 2023-02-09T02:54:18.630622577Z Waiting for user info...OK 2023-02-09T02:54:18.630636554Z Success! App '1007' already up to date. 2023-02-09T02:54:18.630639437Z Success! App '1963720' already up to date. 2023-02-09T02:54:18.750413071Z Started server process with pid 70 2023-02-09T02:54:18.753308463Z [UnityMemory] Configuration Parameters - Can be set up in boot.config 2023-02-09T02:54:18.753324082Z "memorysetup-bucket-allocator-granularity=16" 2023-02-09T02:54:18.753327246Z "memorysetup-bucket-allocator-bucket-count=8" 2023-02-09T02:54:18.753329932Z "memorysetup-bucket-allocator-block-size=4194304" 2023-02-09T02:54:18.753332455Z "memorysetup-bucket-allocator-block-count=1" 2023-02-09T02:54:18.753334751Z "memorysetup-main-allocator-block-size=16777216" 2023-02-09T02:54:18.753337108Z "memorysetup-thread-allocator-block-size=16777216" 2023-02-09T02:54:18.753339438Z "memorysetup-gfx-main-allocator-block-size=16777216" 2023-02-09T02:54:18.753341676Z "memorysetup-gfx-thread-allocator-block-size=16777216" 2023-02-09T02:54:18.753344034Z "memorysetup-cache-allocator-block-size=4194304" 2023-02-09T02:54:18.753346415Z "memorysetup-typetree-allocator-block-size=2097152" 2023-02-09T02:54:18.753349073Z "memorysetup-profiler-bucket-allocator-granularity=16" 2023-02-09T02:54:18.753351476Z "memorysetup-profiler-bucket-allocator-bucket-count=8" 2023-02-09T02:54:18.753353706Z "memorysetup-profiler-bucket-allocator-block-size=4194304" 2023-02-09T02:54:18.753355795Z "memorysetup-profiler-bucket-allocator-block-count=1" 2023-02-09T02:54:18.753357968Z "memorysetup-profiler-allocator-block-size=16777216" 2023-02-09T02:54:18.753360084Z "memorysetup-profiler-editor-allocator-block-size=1048576" 2023-02-09T02:54:18.753362316Z "memorysetup-temp-allocator-size-main=4194304" 2023-02-09T02:54:18.753364380Z "memorysetup-job-temp-allocator-block-size=2097152" 2023-02-09T02:54:18.753366894Z "memorysetup-job-temp-allocator-block-size-background=1048576" 2023-02-09T02:54:18.753369359Z "memorysetup-job-temp-allocator-reduction-small-platforms=262144" 2023-02-09T02:54:18.753371810Z "memorysetup-temp-allocator-size-background-worker=32768" 2023-02-09T02:54:18.753374213Z "memorysetup-temp-allocator-size-job-worker=262144" 2023-02-09T02:54:18.753376569Z "memorysetup-temp-allocator-size-preload-manager=262144" 2023-02-09T02:54:18.753378816Z "memorysetup-temp-allocator-size-nav-mesh-worker=65536" 2023-02-09T02:54:18.753385945Z "memorysetup-temp-allocator-size-audio-worker=65536" 2023-02-09T02:54:18.753389582Z "memorysetup-temp-allocator-size-cloud-worker=32768" 2023-02-09T02:54:18.753391990Z "memorysetup-temp-allocator-size-gfx=262144" 2023-02-09T02:54:19.052049163Z ./launch.sh: line 46: 70 Segmentation fault (core dumped) DISPLAY=:99 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:../Steamworks SDK Redist/linux64/" ./CoreKeeperServer -batchmode -logfile -world "${WORLD_INDEX}" -worldname "${WORLD_NAME}" -worldseed "${WORLD_SEED}" -gameid "${GAME_ID}" -datapath "${STEAMAPPDATADIR}" -maxplayers "${MAX_PLAYERS}" -logfile CoreKeeperServerLog.txt

Extra info: The server where the container is running is also running other stuff but hasn't been updated in a long time.

atomney commented 1 year ago

I just experienced this same issue.

I wanted to play the new valentines update, and restarted the container to force an update.

When it attempted to start, this is the error I see in the logs:

Connecting anonymously to Steam Public...OK Waiting for client config...OK Waiting for user info...OK Success! App '1007' already up to date. Success! App '1963720' already up to date. Started server process with pid 69 [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-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" ./launch.sh: line 46: 69 Segmentation fault (core dumped) DISPLAY=:99 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:../Steamworks SDK Redist/linux64/" ./CoreKeeperServer -batchmode -logfile -world "${WORLD_INDEX}" -worldname "${WORLD_NAME}" -worldseed "${WORLD_SEED}" -gameid "${GAME_ID}" -datapath "${STEAMAPPDATADIR}" -maxplayers "${MAX_PLAYERS}" -logfile CoreKeeperServerLog.txt

xcjs commented 1 year ago

Just confirming that I'm seeing the same thing.

xcjs commented 1 year ago

I think this is related to the game server itself: https://steamcommunity.com/app/1621690/discussions/0/3759978783504303058/

FelipeCordova commented 1 year ago

You are right. Im closing the issue. Thanks!