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]: Segmentation Fault on player joining even with 0 plugins loaded #2279

Open
4 tasks done
higps opened this issue Feb 22, 2025 · 3 comments
Open
4 tasks done

[Bug]: Segmentation Fault on player joining even with 0 plugins loaded #2279

higps opened this issue Feb 22, 2025 · 3 comments
Labels
Bug general bugs; can be anything

Comments

@higps
Copy link

higps commented Feb 22, 2025

Prerequisites

  • I have checked that my issue doesn't exist yet in the issue tracker

Operating System and Version

22.04.5

Game / AppID and Version

TF2 - Latest

SourceMod Version

1.11.0.6970

Metamod:Source Version

1.11.0

Version Verification

Updated SourceMod Version

No response

Updated Metamod:Source Version

No response

Description

The server gets segmentation fault. I expected the game to not crash when joining

Steps to Reproduce

  1. Use ubuntu 22.04

  2. Update sourcemod with this version

  3. Server gets segmentation fault on player join, even with 0 plugins loaded.

Relevant Log Output

engine_srv.so!CBaseServer::GetPlayerInfo(int, player_info_s*) + 0xc2
1	sourcemod.2.tf2.so!PlayerManager::RunAuthChecks() [PlayerManager.cpp:2401 + 0xf] 
2	sourcemod.2.tf2.so!RunFrameHooks(bool) [frame_hooks.cpp:119 + 0x11] 
3	sourcemod.2.tf2.so!TimerSystem::GameFrame(bool) [TimerSys.cpp:244 + 0xb] 
4	sourcemod.2.tf2.so!__SourceHook_FHCls_IServerGameDLLGameFramefalse::CMyDelegateImpl::Call(bool) [FastDelegate.h:927 + 0x18] 
5	sourcemod.2.tf2.so!__SourceHook_FHCls_IServerGameDLLGameFramefalse::Func(bool) [sourcemod.cpp:54 + 0x11] 
6	engine_srv.so!SV_Think(bool) + 0x178
7	engine_srv.so!SV_Frame(bool) + 0x16c
8	engine_srv.so!_Host_RunFrame_Server(bool) + 0x102
9	engine_srv.so!_Host_RunFrame(float) + 0x418
@higps higps added the Bug general bugs; can be anything label Feb 22, 2025
@etkaar
Copy link

etkaar commented Feb 22, 2025

You need to use the latest dev version of at least SourceMod and probably MetaMod as well :)

@caxanga334
Copy link
Contributor

To clarify. SM 1.11 is no longer supported and was not updated for the latest version of TF2.

You should upgrade to either 1.12 or 1.13.

@Kenzzer
Copy link
Member

Kenzzer commented Feb 22, 2025

Please run latest stable, sourcemod is strongly backwards compatible and none of your plugins are going to break by upgrading.

If the issue instead lays on spcomp, you should know that you can still use spcomp of older versions like 1.11/1.10 to compile your plugins against the old sourcemod scripting API of those days, the compiled plugins will continue to work on 1.12/13 onwards. For example a compiled plugin from SM 1.6 is still operational on 1.10 or 1.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug general bugs; can be anything
Projects
None yet
Development

No branches or pull requests

4 participants