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

[Bug]: psserver crashes when anyone connects to it #4421

Closed
adevnylo opened this issue Dec 17, 2023 · 1 comment
Closed

[Bug]: psserver crashes when anyone connects to it #4421

adevnylo opened this issue Dec 17, 2023 · 1 comment

Comments

@adevnylo
Copy link

User story

As a user, I want to successfully connect to the game server so that I can play on it.

Game

Post Scriptum / Squad 44

Linux distro

Ubuntu 22.04

Command

command: start

Further information

Whenever anyone tries to connect to the server (clicks on the "JOIN SERVER" button), the game server crashes.
The user never connects to the server nor loads any texture from it, as the server crashes the moment someone opens the connection.

This issue has already been fixed on the Official Squad 44 Discord server, and I can confirm that it works:

Hi, this is for all those who have problems on linux when opening a post scriptum server (now squad44) with the error:
steamclient.so!UnknownFunction
or
libc.so.6!UnknownFunction
here is a solution to save you headaches.

If you use LGSM:

  • edit the server startup lgsm script file located in /home/psserver/serverfiles/
  • with the name PostScriptumServer.sh
  • and add this parameter under #!/bin/sh:
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:'/home/psserver/serverfiles/linux64/'
  • now save it and start the server.

If you use Ptero/Docker:

  • add/change the path in (ld lib path) LD_LIBRARY_PATH to:
    /home/container/linux64/

I hope this helps you 🫡

Relevant log output

[2023.12.15-15.24.19:150][ 99]LogOnlineSession: STEAM: Using P2P Data for Connection Serialization
[2023.12.15-15.24.19:162][100]LogOnlineSession: Warning: STEAM: Empty session setting CurrentModLoaded  : OnlineService of type String
[2023.12.15-15.24.19:162][100]LogOnlineSession: Warning: STEAM: Empty session setting CurrentModLoadedHash1  : OnlineService of type String
[2023.12.15-15.24.19:162][100]LogOnlineSession: Warning: STEAM: Empty session setting CurrentModLoadedHash2  : OnlineService of type String
[2023.12.15-15.24.19:163][100]LogOnlineSession: Warning: STEAM: Server setting ,MatchTimeout_f:120.000000 overflows Steam SetGameTags call
[2023.12.15-15.24.19:163][100]LogOnlineSession: Warning: STEAM: Server setting ,SEARCHKEYWORDS_s:Custom overflows Steam SetGameTags call
[2023.12.15-15.24.19:163][100]LogOnlineSession: Warning: STEAM: Server setting ,CurrentModLoadedCount_i:0 overflows Steam SetGameTags call
[2023.12.15-15.24.19:163][100]LogOnlineSession: Warning: STEAM: Server setting ,AllModsWhitelisted_b:false overflows Steam SetGameTags call
[2023.12.15-15.24.19:163][100]LogOnline: Verbose: OSS: Async task 'FOnlineAsyncTaskSteamUpdateServer bWasSuccessful: 1 Session: GameSession' succeeded in 0.005274 seconds
[2023.12.15-15.24.47:073][483]LogOnlineSession: Warning: STEAM: Empty session setting CurrentModLoaded  : OnlineService of type String
[2023.12.15-15.24.47:073][483]LogOnlineSession: Warning: STEAM: Empty session setting CurrentModLoadedHash1  : OnlineService of type String
[2023.12.15-15.24.47:073][483]LogOnlineSession: Warning: STEAM: Empty session setting CurrentModLoadedHash2  : OnlineService of type String
[2023.12.15-15.24.47:073][483]LogOnlineSession: Warning: STEAM: Server setting ,CurrentModLoadedCount_i:0 overflows Steam SetGameTags call
[2023.12.15-15.24.47:073][483]LogOnlineSession: Warning: STEAM: Server setting ,AllModsWhitelisted_b:false overflows Steam SetGameTags call
[2023.12.15-15.24.47:073][483]LogOnlineSession: Warning: STEAM: Server setting ,PlayerReserveCount_i:0 overflows Steam SetGameTags call
[2023.12.15-15.24.47:073][483]LogOnlineSession: Warning: STEAM: Server setting ,PublicQueue_i:0 overflows Steam SetGameTags call
[2023.12.15-15.24.47:073][483]LogOnlineSession: Warning: STEAM: Server setting ,ReservedQueue_i:0 overflows Steam SetGameTags call
[2023.12.15-15.24.47:088][483]LogOnline: Verbose: OSS: Async task 'FOnlineAsyncTaskSteamUpdateServer bWasSuccessful: 1 Session: GameSession' succeeded in 0.001874 seconds
[2023.12.15-15.25.14:135][809]LogOnline: Verbose: STEAM: FOnlineAsyncEventSteamConnectionRequest RemoteId: UNKNOWN [0x110000106BBEF7E]
[2023.12.15-15.25.14:136][809]LogOnline: STEAM: Adding P2P connection information with user 76561198073245566 (Name: UNKNOWN [0x110000106BBEF7E])
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
 
[2023.12.15-15.25.14:174][809]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x00000000fffffff8

[2023.12.15-15.25.14:174][809]LogCore: Fatal error!

0x00007f51b9d912cb steamclient.so!UnknownFunction(0x21062cb)
0x00007f51b98b50e3 steamclient.so!UnknownFunction(0x1c2a0e2)
0x00007f51b98bc170 steamclient.so!UnknownFunction(0x1c3116f)
0x00007f51b9adc3a4 steamclient.so!UnknownFunction(0x1e513a3)
0x00007f51b9ad8d19 steamclient.so!UnknownFunction(0x1e4dd18)
0x00007f51b8d14753 steamclient.so!UnknownFunction(0x1089752)
0x00007f51b8d15679 steamclient.so!UnknownFunction(0x108a678)
0x00007f51b8d16563 steamclient.so!UnknownFunction(0x108b562)
0x00007f51b8d16fc1 steamclient.so!UnknownFunction(0x108bfc0)
0x00007f51b8bcf25d steamclient.so!UnknownFunction(0xf4425c)
0x00007f51b8dcea7d steamclient.so!UnknownFunction(0x1143a7c)
0x00007f51b8f40b62 steamclient.so!UnknownFunction(0x12b5b61)
0x00007f51b8f3d8c8 steamclient.so!UnknownFunction(0x12b28c7)
0x00007f51b8f400c8 steamclient.so!UnknownFunction(0x12b50c7)
0x00007f51b8f406f8 steamclient.so!UnknownFunction(0x12b56f7)
0x00007f51b9a365fa steamclient.so!UnknownFunction(0x1dab5f9)
0x00007f51b9a347f1 steamclient.so!UnknownFunction(0x1da97f0)
0x00007f51b9a34eeb steamclient.so!UnknownFunction(0x1da9eea)
0x00007f51b9a38b95 steamclient.so!UnknownFunction(0x1dadb94)
0x00007f51ca66cac3 libc.so.6!UnknownFunction(0x94ac2)
0x00007f51ca6fe660 libc.so.6!UnknownFunction(0x12665f)

[2023.12.15-15.25.14:176][809]LogExit: Executing StaticShutdownAfterError
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault

Steps to reproduce

  1. Start the psserver with ./psserver start
  2. Open the game and connect to the server
@adevnylo adevnylo added the type: bug Something isn't working label Dec 17, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New Issues in LinuxGSM Backlog Dec 17, 2023
@dgibbs64 dgibbs64 moved this from 🆕 New Issues to 📋 Sentenced Issues in LinuxGSM Backlog Jun 13, 2024
@dgibbs64 dgibbs64 moved this from 📋 Sentenced Issues to 🏗 In Progress in LinuxGSM Backlog Jan 5, 2025
@dgibbs64
Copy link
Member

Lastest release is working with Squad 44

@github-project-automation github-project-automation bot moved this from 🏗 In Progress to ✅ Done in LinuxGSM Backlog Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants