Core Keeper Segmentation Fault

OS Name/Version: Debian 10 (Buster)

Product Name/Version: AMP Release “Decadeus” v2.4.3, built 14/03/2023 23:15

Problem Description: Segmentation Fault when starting Core Keeper server

Console output:

17:09:47
[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"
17:09:48
Preloaded 'lib_burst_generated.so'
Preloaded 'libsteam_api.so'
Unable to preload the following plugins:
libsentry.so
Display 0 '0': 1280x1024 (primary device).
Loading player data from /AMP/core-keeper/1963720/CoreKeeperServer_Data/data.unity3d
Unable to load player prefs
Desktop is 1280 x 1024 @ 0 Hz
17:09:49
Segmentation fault (core dumped)

gdb core output:

GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/amp/.ampdata/instances/CoreKeeper01/core-keeper/1963720/CoreKeeperServer...(no debugging symbols found)...done.

warning: core file may not match specified executable file.
[New LWP 2181]
[New LWP 2182]
[New LWP 2183]
[New LWP 2187]
[New LWP 2184]
[New LWP 2188]
[New LWP 2193]
[New LWP 2192]
[New LWP 2201]
[New LWP 2186]
[New LWP 2194]
[New LWP 2202]
[New LWP 2195]
[New LWP 2203]
[New LWP 2189]
[New LWP 2197]
[New LWP 2204]
[New LWP 2196]
[New LWP 2205]
[New LWP 2190]
[New LWP 2198]
[New LWP 2206]
[New LWP 2199]
[New LWP 2211]
[New LWP 2191]
[New LWP 2207]
[New LWP 2213]
[New LWP 2208]
[New LWP 2200]
[New LWP 2210]
[New LWP 2209]
[New LWP 2216]
[New LWP 2212]
[New LWP 2217]
[New LWP 2214]
[New LWP 2218]
[New LWP 2219]
[New LWP 2220]
[New LWP 2215]

warning: .dynamic section for "/lib/x86_64-linux-gnu/libpthread.so.0" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/lib/x86_64-linux-gnu/librt.so.1" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libXau.so.6" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libbsd.so.0" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libXext.so.6" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libGLdispatch.so.0" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libdrm.so.2" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libX11-xcb.so.1" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libXfixes.so.3" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libXdamage.so.1" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libzstd.so.1" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libsensors.so.5" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libvulkan.so.1" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/x86_64-linux-gnu/libstdc++.so.6" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/lib/x86_64-linux-gnu/libtinfo.so.6" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/lib/x86_64-linux-gnu/libnss_files.so.2" is not at the expected address (wrong library or version mismatch?)

warning: Could not load shared library symbols for 9 libraries, e.g. /AMP/core-keeper/1963720/UnityPlayer.so.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?

warning: File "/lib/x86_64-linux-gnu/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
        add-auto-load-safe-path /lib/x86_64-linux-gnu/libthread_db-1.0.so
line to your configuration file "/root/.gdbinit".
To completely disable this security protection add
        set auto-load safe-path /
line to your configuration file "/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
        info "(gdb)Auto-loading safe path"

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

warning: File "/lib/x86_64-linux-gnu/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Core was generated by `./CoreKeeperServer -port 27016 -datapath /AMP/core-keeper/1963720/DedicatedServ'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000000000000 in ?? ()
[Current thread is 1 (LWP 2181)]

Steps to reproduce:

  • Step 1: Install server
  • Step 2: Start server
  • Step 3: Segfault

Actions taken to resolve so far:
I have tried to check all the logs for something useful and the only thing i find that I think is out of order is the -datapath /AMP/core-keeper/1963720/DedicatedServ that i cannot find a file that matches. Really dont know how to fix it though.

A recent update to CoreKeeper means that it now requires a later version of Xvfb that is only present on later distros like Ubuntu 22.04 and Debian 12.

AMP’s docker images uses Debian 11, hence you get the error.

Ok, so how do i solve it? Are Debian 12 in beta since it’s 11 that are the latest stable?

Yea, you have to use a newer distro and not use docker. Yes, Debian 12 is still in testing, which is why this is a dumb move by the CK devs. I have noted that to them

Thanks for the input, will wait on an update rather than upgrading my server to test-software

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.