Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signal 11 caught on x86-64 docker #585

Closed
4 tasks done
hanyuwei70 opened this issue Jul 23, 2024 · 2 comments
Closed
4 tasks done

Signal 11 caught on x86-64 docker #585

hanyuwei70 opened this issue Jul 23, 2024 · 2 comments
Labels
triage Deciding urgency

Comments

@hanyuwei70
Copy link

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)

  • OS: ArchLiunx
  • Palworld Version: v0.3.3.55731
  • Docker Image Version: c13c85fdade6

Hardware information (IMPORTANT)

  • CPU: E3-1230 V2
  • Memory: 32GiB

docker-compose.yml contents (IMPORTANT)

docker-compose.yml
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: "<reducted>" # Optional but recommended
         MULTITHREADING: true
         RCON_ENABLED: true
         RCON_PORT: 25575
         TZ: "Asis/Shanghai"
         ADMIN_PASSWORD: "<reducted>"
         COMMUNITY: false  # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
         SERVER_NAME: "<reducted>"
         SERVER_DESCRIPTION: "<reducted>"
         ENABLE_PLAYER_LOGGING: false
      volumes:
         - ./palworld:/palworld/

Container/Host Logs (IMPORTANT)

Logs
****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

  • I searched for my issue on the Known issues page
  • I searched for my issue in the Closed issues
  • I have included all relevant information required above.
  • I am willing to fix this bug
@hanyuwei70 hanyuwei70 added the triage Deciding urgency label Jul 23, 2024
@MusclePr
Copy link
Contributor

MusclePr commented Jul 24, 2024

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Deciding urgency
Projects
None yet
Development

No branches or pull requests

2 participants