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

Segmentation fault fix for egg-sven-co-op.json #61

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DJTerrum
Copy link

Segmentation fault fix for Sven Co-op server

Description

#60

I made a bug report not long ago with a segmentation fault when the server starts, but I managed to resolve this thanks to the help of a Discord user. This pull request removes the lines which copy libraries that no longer need to be copied.

Checklist for all submissions

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you tested and reviewed your changes with confidence that everything works?
  • Did you branch your changes and PR from that branch and not from your master branch?
    • If not, why?:
  • You verify that the start command applied does not use a shell script
    • If some script is needed then it is part of a current yolk or a PR to add one
  • The egg was exported from the panel

Segment fault fix for Sven Co-op server
@danny6167
Copy link
Contributor

Hi Thanks for this, however it doesn't seem to solve the problem for me

[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
Pulling from ptero-eggs/steamcmd 
Digest: sha256:9a88e3f59fe8fb35faed196d3e2256eae765e835ce481f419808764fcf296211 
Status: Image is up to date for ghcr.io/ptero-eggs/steamcmd:debian 
[Pterodactyl Daemon]: Finished pulling Docker container image
steam user is not set.
Using anonymous user.
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/container/Steam/logs/stderr.txt'
Logging directory: '/home/container/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1737515347
-- type 'quit' to exit --
Loading Steam API...OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '276060' already up to date.
Success! App '1007' already up to date.
:/home/container$ ./svends_run -console -port ${SERVER_PORT} +maxplayers ${SC_PLAYERS} +map ${SC_MAP} +ip 0.0.0.0 -strictportbind -norestart
Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 225840
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/home/container/.steam/sdk32/steamclient.so
with error:
/home/container/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Threaded networking started successfully.
Protocol version 48
Engine version 5.0.1.8 (svencoop)
Engine build: 19:37:07 Dec  5 2024 (10269)
STEAM Auth Server
Initializing IP networking.
Local IP address: 0.0.0.0, SV port: 2007, CL port: -1
Steam P2P networking disabled.
[S_API] SteamAPI_Init(): Loaded 'steamclient.so' OK.
Installing breakpad exception handler for appid(svends_i686)/version(1.0)
./svends_run: line 440:    53 Segmentation fault      (core dumped) $GAME_BIN_CMD
Sun Jan 26 03:37:05 UTC 2025: Server Quit
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 130
[Pterodactyl Daemon]: Out of memory: false```

@danny6167
Copy link
Contributor

We've sent a core dump to the developers. Hopefully they will have some insight into the issue.

@danny6167 danny6167 added Upstream Upstream issue caused by the applications developer and removed Upstream Upstream issue caused by the applications developer labels Jan 26, 2025
@pedrotski
Copy link

We've sent a core dump to the developers. Hopefully they will have some insight into the issue.

It honestly might be worthwhile just adding the wine egg here as an alternative, as it's an ongoing issue with Sven and changes like this on Linux. Check the LGSM issue tracker and you will see what I mean.

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

Successfully merging this pull request may close these issues.

3 participants