Source-Python-Dev-Team / Source.Python

This plugin aims to use boost::python and create an easily accessible wrapper around the Source Engine API for scripter use.
http://forums.sourcepython.com
GNU General Public License v3.0
164 stars 32 forks source link

TF2 update causing SP to seg fault. #456

Closed neilstottler closed 1 year ago

neilstottler commented 1 year ago

Heyo tf2 updated and SP is seg faulting now. Assuming yall just need to change a few numbers like last time and build. Cheers.

Auto detecting CPU Using default binary: ./srcds_linux Server will auto-restart if there is a crash. Using Breakpad minidump system. Version: 7580501 AppID: 232250 Setting breakpad minidump AppID = 232250 Using breakpad crash handler Loaded 10693 VPK file hashes from /home/tf/tf/tf2_textures.vpk for pure server operation. Loaded 10693 VPK file hashes from /home/tf/tf/tf2_textures.vpk for pure server operation. Loaded 478 VPK file hashes from /home/tf/tf/tf2_sound_vo_english.vpk for pure server operation. Loaded 478 VPK file hashes from /home/tf/tf/tf2_sound_vo_english.vpk for pure server operation. Loaded 1343 VPK file hashes from /home/tf/tf/tf2_sound_misc.vpk for pure server operation. Loaded 1343 VPK file hashes from /home/tf/tf/tf2_sound_misc.vpk for pure server operation. Loaded 2771 VPK file hashes from /home/tf/tf/tf2_misc.vpk for pure server operation. Loaded 2771 VPK file hashes from /home/tf/tf/tf2_misc.vpk for pure server operation. Loaded 2771 VPK file hashes from /home/tf/tf/tf2_misc.vpk for pure server operation. Loaded 1217 VPK file hashes from /home/tf/hl2/hl2_textures.vpk for pure server operation. Loaded 574 VPK file hashes from /home/tf/hl2/hl2_sound_vo_english.vpk for pure server operation. Loaded 383 VPK file hashes from /home/tf/hl2/hl2_sound_misc.vpk for pure server operation. Loaded 451 VPK file hashes from /home/tf/hl2/hl2_misc.vpk for pure server operation. Loaded 451 VPK file hashes from /home/tf/hl2/hl2_misc.vpk for pure server operation. Loaded 5 VPK file hashes from /home/tf/platform/platform_misc.vpk for pure server operation. Loaded 5 VPK file hashes from /home/tf/platform/platform_misc.vpk for pure server operation. server_srv.so loaded for "Team Fortress" For FCVAR_REPLICATED, ConVar must be defined in client and game .dlls (sv_use_steam_voice) ProtoDefs post data loaded. ProtoDefs loaded. 19.13 MB used ProtoDefs post data loaded. ProtoDefs loaded. 19.13 MB used failed to dlopen /home/tf/tf/addons/metamod/bin/linux64/server.so error=/home/tf/tf/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64
Unable to load plugin "addons/metamod/bin/linux64/server" [Source.Python] Loading... [Source.Python] Could not retrieve interface ServerGameDLL011 Failed to load plugin "addons/source-python" [Source.Python] Unloading... Segmentation fault (core dumped) Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem Thu Oct 13 01:28:20 UTC 2022: Server restart in 10 seconds

jordanbriere commented 1 year ago

Try to open your source-python/bin/core.<dll/so> file with a text editor that won't mess with the encoding (such as notepad++) and replace ServerGameDLL011 with ServerGameDLL012.

neilstottler commented 1 year ago

This worked thank you.

Ayuto commented 1 year ago

Let's keep it open as a reminder. We need to recompile SP as soon as the SDK got updated.

Ayuto commented 1 year ago

A new build is now available!