thijsvanloef / palworld-server-docker

A Docker Container to easily run a Palworld dedicated server.
https://hub.docker.com/r/thijsvanloef/palworld-server-docker
MIT License
2.43k stars 296 forks source link

Signal 11 caught on x86-64 docker #585

Closed hanyuwei70 closed 3 months ago

hanyuwei70 commented 3 months ago

Describe the bug

Palworld server start to "signal 11 caught" around 7/2.

To Reproduce

using docker-compose.yml below docker-compose up

Expected behavior

Server started and running

Actual behavior

Server crashed

Screenshots

N/A

OS information (IMPORTANT)

Hardware information (IMPORTANT)

docker-compose.yml contents (IMPORTANT)

docker-compose.yml ```yaml services: palworld: image: thijsvanloef/palworld-server-docker:latest restart: unless-stopped container_name: palworld-server stop_grace_period: 30s # Set to however long you are willing to wait for the container to gracefully stop network_mode: "host" #ports: #- 8211:8211/udp # - 27015:27015/udp # - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true environment: PUID: 1000 PGID: 1000 PORT: 8211 # Optional but recommended PLAYERS: 32 # Optional but recommended SERVER_PASSWORD: "" # Optional but recommended MULTITHREADING: true RCON_ENABLED: true RCON_PORT: 25575 TZ: "Asis/Shanghai" ADMIN_PASSWORD: "" COMMUNITY: false # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD! SERVER_NAME: "" SERVER_DESCRIPTION: "" ENABLE_PLAYER_LOGGING: false volumes: - ./palworld:/palworld/ ```

Container/Host Logs (IMPORTANT)

Logs ```log ****EXECUTING USERMOD**** usermod: no changes ****Checking for new Palworld Server updates**** Current Version: 8939748203712584968 The server is up to date! ****Checking for available container updates**** The container is up to date! ****GENERATING CONFIG**** Using Env vars to create PalWorldSettings.ini ****Compiling PalWorldSettings.ini**** Compiling PalWorldSettings.ini done! ****GENERATING CRONTAB**** BACKUP_ENABLED=true Adding cronjob for auto backups Cronjobs started ****Starting Server**** ./PalServer.sh -port=8211 -queryport=27015 -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS The file already exists: /palworld/Pal/Binaries/Linux/steamclient.so time="2024-07-23T01:39:19Z" level=info msg="read crontab: /home/steam/server/crontab" [S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK. CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize Setting breakpad minidump AppID = 2394010 [S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded. [S_API FAIL] Tried to access Steam interface SteamFriends017 before SteamAPI_Init succeeded. [S_API FAIL] Tried to access Steam interface STEAMAPPS_INTERFACE_VERSION008 before SteamAPI_Init succeeded. [S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded. Shutdown handler: initalize. 5.1.1-0+++UE5+Release-5.1 1008 0 Disabling core dumps. dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory Game version is v0.3.3.55731 Signal 11 caught. Malloc Size=262146 LargeMemoryPoolOffset=262162 Malloc Size=131160 LargeMemoryPoolOffset=393352 Malloc Size=131160 LargeMemoryPoolOffset=524536 LogPakFile: Display: Found Pak file ../../../Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak attempting to mount. LogPakFile: Display: Mounting pak file ../../../Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak. LogPakFile: Display: Mounted Pak file '../../../Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak', mount point: '../../../Engine/' LogICUInternationalization: ICU TimeZone Detection - Raw Offset: +0:00, Platform Override: '' LogInit: Build: ++UE5+Release-5.1-CL-0 LogInit: Engine Version: 5.1.1-0+++UE5+Release-5.1 LogInit: Compatible Engine Version: 5.1.0-0+++UE5+Release-5.1 LogInit: Net CL: 0 LogInit: OS: Debian GNU/Linux 12 (bookworm) (6.9.9-arch1-1), CPU: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz, GPU: UnknownVendor PCI-id: 102b-0532 (15d9-0624) LogInit: Compiled (64-bit): Jun 12 2024 15:50:14 LogInit: Compiled with Clang: 13.0.1 (https://github.com/llvm/llvm-project 75e33f71c2dae584b13a7d1186ae0a038ba98838) LogInit: Build Configuration: Shipping LogInit: Branch Name: ++UE5+Release-5.1 LogInit: Command Line: -Abslog="/palworld/Pal/Saved/Logs/Pal-CRC.log" -Unattended -ImplicitSend "/palworld/Pal/Saved/Crashes/crashinfo-Pal-pid-69-22D17C93A4BE4D2A9200AF3F98578D73/" -unattended LogInit: Base Directory: /palworld/Engine/Binaries/Linux/ LogInit: Allocator: Mimalloc LogInit: Installed Engine Build: 1 LogInit: Presizing for max 100000 objects, including 0 objects not considered by GC, pre-allocating 0 bytes for permanent pool. LogInit: Object subsystem initialized [2024.07.23-01.39.28:192][ 0]LogConfig: Applying CVar settings from Section [ConsoleVariables] File [Engine] [2024.07.23-01.39.28:192][ 0]LogInit: Unix hardware info: [2024.07.23-01.39.28:192][ 0]LogInit: - we are the first instance of this executable [2024.07.23-01.39.28:192][ 0]LogInit: - this process' id (pid) is 118, parent process' id (ppid) is 69 [2024.07.23-01.39.28:192][ 0]LogInit: - we are not running under debugger [2024.07.23-01.39.28:192][ 0]LogInit: - machine network name is 'hyw-tiny' [2024.07.23-01.39.28:192][ 0]LogInit: - user name is 'steam' (steam) [2024.07.23-01.39.28:192][ 0]LogInit: - we're logged in locally [2024.07.23-01.39.28:192][ 0]LogInit: - we're running with rendering [2024.07.23-01.39.28:192][ 0]LogInit: - CPU: GenuineIntel 'Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz' (signature: 0x306A9) [2024.07.23-01.39.28:192][ 0]LogInit: - Number of physical cores available for the process: 4 [2024.07.23-01.39.28:192][ 0]LogInit: - Number of logical cores available for the process: 8 [2024.07.23-01.39.28:192][ 0]LogInit: - Cache line size: 64 [2024.07.23-01.39.28:192][ 0]LogInit: - GPU Brand Info: UnknownVendor PCI-id: 102b-0532 (15d9-0624) [2024.07.23-01.39.28:192][ 0]LogInit: - Memory allocator used: Mimalloc [2024.07.23-01.39.28:192][ 0]LogInit: - This binary is optimized with LTO: no, PGO: no, instrumented for PGO data collection: no [2024.07.23-01.39.28:192][ 0]LogInit: - This is an internal build. [2024.07.23-01.39.28:192][ 0]LogCore: Skipped benchmarking clocks because the engine is running in a standalone program mode - CLOCK_MONOTONIC will be used. [2024.07.23-01.39.28:192][ 0]LogInit: Unix-specific commandline switches: [2024.07.23-01.39.28:192][ 0]LogInit: -ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence) [2024.07.23-01.39.28:192][ 0]LogInit: -jemalloc - use jemalloc for all memory allocation [2024.07.23-01.39.28:192][ 0]LogInit: -binnedmalloc - use binned malloc for all memory allocation [2024.07.23-01.39.28:192][ 0]LogInit: -filemapcachesize=NUMBER - set the size for case-sensitive file mapping cache [2024.07.23-01.39.28:192][ 0]LogInit: -useksm - uses kernel same-page mapping (KSM) for mapped memory (OFF) [2024.07.23-01.39.28:192][ 0]LogInit: -ksmmergeall - marks all mmap'd memory pages suitable for KSM (OFF) [2024.07.23-01.39.28:192][ 0]LogInit: -preloadmodulesymbols - Loads the main module symbols file into memory (OFF) [2024.07.23-01.39.28:192][ 0]LogInit: -sigdfl=SIGNAL - Allows a specific signal to be set to its default handler rather then ignoring the signal [2024.07.23-01.39.28:192][ 0]LogInit: -crashhandlerstacksize - Allows setting crash handler stack sizes (204800) [2024.07.23-01.39.28:192][ 0]LogInit: -noexclusivelockonwrite - disables marking files created by the engine as exclusive locked while the engine has them opened [2024.07.23-01.39.28:192][ 0]LogInit: -httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl) [2024.07.23-01.39.28:192][ 0]LogInit: -reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl) [2024.07.23-01.39.28:192][ 0]LogInit: -virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini) [2024.07.23-01.39.28:192][ 0]LogInit: - Physical RAM available (not considering process quota): 32 GB (32069 MB, 32838860 KB, 33626992640 bytes) [2024.07.23-01.39.28:192][ 0]LogInit: - VirtualMemoryAllocator pools will grow at scale 1.4 [2024.07.23-01.39.28:192][ 0]LogInit: - MemoryRangeDecommit() will be a no-op (re-run with -vmapoolevict to change) [2024.07.23-01.39.28:192][ 0]LogInit: - PageSize 4096 [2024.07.23-01.39.28:192][ 0]LogInit: - BinnedPageSize 65536 [2024.07.23-01.39.28:195][ 0]LogUObjectArray: 419 objects as part of root set at end of initial load. [2024.07.23-01.39.28:195][ 0]LogUObjectAllocator: 89056 out of 0 bytes used by permanent object pool. [2024.07.23-01.39.28:195][ 0]LogUObjectArray: CloseDisregardForGC: 0/0 objects in disregard for GC pool [2024.07.23-01.39.28:195][ 0]LogPaths: Warning: No paths for game localization data were specifed in the game configuration. [2024.07.23-01.39.28:195][ 0]LogInit: Using OS detected language (en-US-POSIX). [2024.07.23-01.39.28:195][ 0]LogInit: Using OS detected locale (en-US-POSIX). [2024.07.23-01.39.28:195][ 0]LogInit: Warning: No paths for engine localization data were specifed in the engine configuration. [2024.07.23-01.39.28:195][ 0]LogTextLocalizationManager: No localization for 'en-US-POSIX' exists, so 'en' will be used for the language. [2024.07.23-01.39.28:195][ 0]LogTextLocalizationManager: No localization for 'en-US-POSIX' exists, so 'en' will be used for the locale. [2024.07.23-01.39.28:196][ 0]LogInit: Using OS detected language (en-US-POSIX). [2024.07.23-01.39.28:196][ 0]LogInit: Using OS detected locale (en-US-POSIX). [2024.07.23-01.39.28:196][ 0]LogTextLocalizationManager: No localization for 'en-US-POSIX' exists, so 'en' will be used for the language. [2024.07.23-01.39.28:196][ 0]LogTextLocalizationManager: No localization for 'en-US-POSIX' exists, so 'en' will be used for the locale. [2024.07.23-01.39.28:196][ 0]LogPackageLocalizationCache: Processed 2 localized package path(s) for 1 prioritized culture(s) in 0.000360 seconds [2024.07.23-01.39.28:196][ 0]CrashReportCoreLog: CrashReportClientVersion=1.0 [2024.07.23-01.39.28:196][ 0]CrashReportCoreLog: CrashReportReceiver disabled [2024.07.23-01.39.28:196][ 0]CrashReportCoreLog: DataRouterUrl: https://o1291919.ingest.sentry.io/api/6513339/unreal/4a1a3921f51f4975b4cf8dd19022cb20/ [2024.07.23-01.39.28:197][ 0]CrashReportCoreLog: Initial state = Unknown UploadState value [2024.07.23-01.39.28:197][ 0]CrashReportCoreLog: Initial state = Unknown UploadState value [2024.07.23-01.39.28:197][ 0]LogCrashDebugHelper: DepotName: //UE5/Release-5.1 [2024.07.23-01.39.28:197][ 0]LogCrashDebugHelper: BuiltFromCL: 0 [2024.07.23-01.39.28:197][ 0]LogCrashDebugHelper: EngineVersion: 5.1.1-0+++UE5+Release-5.1 [2024.07.23-01.39.28:197][ 0]LogCrashDebugHelper: BuildVersion: ++UE5+Release-5.1-CL-0 [2024.07.23-01.39.29:167][ 0]CrashReportCoreLog: Got 3 pending files to upload from 'crashinfo-Pal-pid-69-22D17C93A4BE4D2A9200AF3F98578D73' [2024.07.23-01.39.29:167][ 0]CrashReportCoreLog: State change from Ready to SendingFiles [2024.07.23-01.39.29:167][ 0]CrashReportCoreLog: CompressAndSendData have 3 pending files [2024.07.23-01.39.29:167][ 0]CrashReportCoreLog: CompressAndSendData compressing 3505 bytes ('/palworld/Pal/Saved/Crashes/crashinfo-Pal-pid-69-22D17C93A4BE4D2A9200AF3F98578D73/Diagnostics.txt') [2024.07.23-01.39.29:167][ 0]CrashReportCoreLog: CompressAndSendData compressing 8611 bytes ('/palworld/Pal/Saved/Crashes/crashinfo-Pal-pid-69-22D17C93A4BE4D2A9200AF3F98578D73/CrashContext.runtime-xml') [2024.07.23-01.39.29:167][ 0]CrashReportCoreLog: CompressAndSendData compressing 152 bytes ('/palworld/Pal/Saved/Crashes/crashinfo-Pal-pid-69-22D17C93A4BE4D2A9200AF3F98578D73/CrashReportClient.ini') [2024.07.23-01.39.29:189][ 0]LogInit: Using libcurl 7.83.1 [2024.07.23-01.39.29:189][ 0]LogInit: - built for Linux [2024.07.23-01.39.29:189][ 0]LogInit: - supports SSL with OpenSSL/1.1.1n [2024.07.23-01.39.29:189][ 0]LogInit: - supports HTTP deflate (compression) using libz 1.2.12 [2024.07.23-01.39.29:189][ 0]LogInit: - other features: [2024.07.23-01.39.29:189][ 0]LogInit: CURL_VERSION_SSL [2024.07.23-01.39.29:189][ 0]LogInit: CURL_VERSION_LIBZ [2024.07.23-01.39.29:189][ 0]LogInit: CURL_VERSION_IPV6 [2024.07.23-01.39.29:189][ 0]LogInit: CURL_VERSION_ASYNCHDNS [2024.07.23-01.39.29:189][ 0]LogInit: CURL_VERSION_LARGEFILE [2024.07.23-01.39.29:190][ 0]LogInit: CurlRequestOptions (configurable via config and command line): [2024.07.23-01.39.29:190][ 0]LogInit: - bVerifyPeer = false - Libcurl will NOT verify peer certificate [2024.07.23-01.39.29:190][ 0]LogInit: - bUseHttpProxy = false - Libcurl will NOT use HTTP proxy [2024.07.23-01.39.29:190][ 0]LogInit: - bDontReuseConnections = false - Libcurl will reuse connections [2024.07.23-01.39.29:190][ 0]LogInit: - MaxHostConnections = 16 - Libcurl will limit the number of connections to a host [2024.07.23-01.39.29:190][ 0]LogInit: - LocalHostAddr = Default [2024.07.23-01.39.29:190][ 0]LogInit: - BufferSize = 65536 [2024.07.23-01.39.29:190][ 0]CrashReportCoreLog: Sending HTTP request: https://o1291919.ingest.sentry.io/api/6513339/unreal/4a1a3921f51f4975b4cf8dd19022cb20/?AppID=CrashReporter&AppVersion=5.1.1-0%2B%2B%2BUE5%2BRelease-5.1&AppEnvironment=Release&UploadType=crashreports&UserID=-000003e8%7C%7C [2024.07.23-01.39.29:935][ 0]CrashReportCoreLog: OnProcessRequestComplete(), State=SendingFiles bSucceeded=1 [2024.07.23-01.39.29:935][ 0]CrashReportCoreLog: State change from SendingFiles to SendingFiles [2024.07.23-01.39.29:935][ 0]CrashReportCoreLog: All uploads done [2024.07.23-01.39.29:935][ 0]CrashReportCoreLog: State change from SendingFiles to Finished [2024.07.23-01.39.30:203][ 0]CrashReportCoreLog: Final state (Receiver) = Finished [2024.07.23-01.39.30:203][ 0]CrashReportCoreLog: Final state (Receiver) = Unknown UploadState value [2024.07.23-01.39.30:203][ 0]LogCore: Engine exit requested (reason: CrashReportClientApp RequestExit) [2024.07.23-01.39.30:203][ 0]LogExit: Preparing to exit. [2024.07.23-01.39.30:203][ 0]LogExit: Object subsystem successfully closed. [2024.07.23-01.39.30:204][ 0]LogModuleManager: Shutting down and abandoning module HTTP (12) [2024.07.23-01.39.30:211][ 0]LogModuleManager: Shutting down and abandoning module SSL (11) [2024.07.23-01.39.30:212][ 0]LogModuleManager: Shutting down and abandoning module CrashDebugHelper (8) [2024.07.23-01.39.30:212][ 0]LogModuleManager: Shutting down and abandoning module CoreUObject (6) [2024.07.23-01.39.30:212][ 0]LogModuleManager: Shutting down and abandoning module PakFile (4) [2024.07.23-01.39.30:212][ 0]LogModuleManager: Shutting down and abandoning module RSA (3) [2024.07.23-01.39.30:213][ 0]LogExit: Exiting. CommonUnixCrashHandler: Signal=11 Engine crash handling finished; re-raising signal 11 for the default handler. Good bye. Segmentation fault (core dumped) ```

Additional context

N/A

Bug Report Checklist

MusclePr commented 3 months ago

Will the same problem occur even if you initialize the SaveGames data?

ex) Clean the SaveGames/0 and test.

(cd ./palworld/Pal/Saved/SaveGames; mv 0 old)
docker compose up

Check the log. If you didn't have the same issue, I think it's a PalWorld issue.

ex) Recovery the SaveGames/0

docker compose down
(cd ./palworld/Pal/Saved/SaveGames; rm -rf 0; mv old 0)
hanyuwei70 commented 3 months ago

@MusclePr starting new save is working. Thanks. Reported to PalWorld dev. I will close this issue.