alliedmodders / sourcemod

SourceMod - Source Engine Scripting and Administration
http://www.sourcemod.net/
972 stars 420 forks source link

SDKHooks | PVKII | Dedicated Server halt, infinite loop. 16.08.2024 #2200

Open ambaca opened 3 weeks ago

ambaca commented 3 weeks ago

Help us help you

Environment

Description

Server do not crash, instead it stay halt in infinite loop when launched -> when SM plugin use SDKHooks.

Problematic Code (or Steps to Reproduce)

 #include <sdkhooks>

Logs

*edit ▶️ Similiar problem with DHooks as well.

ambaca commented 3 weeks ago

I tried PVKII server with addons on OS Linux (Pop-OS) PVKII Dedicated Server / 17575 ( 0.5.1.2/24 )

❌ Stable version of MM:S failed to load on server.

When load SM plugin with SDKHooks included #include <sdkhooks>, server crash

SOLID_VPHYSICS static prop with no vphysics model! (models/jimonions/buildings/walltrim_01.mdl)
L 08/16/2024 - 16:30:19: [SDKTOOLS] Sigscan for FireOutput failed
crash_20240816163019_2.dmp[5471]: Uploading dump (out-of-process)
/tmp/dumps/crash_20240816163019_2.dmp
Segmentation fault (core dumped)
Add "-debug" to the /home/pop/server/pvkii/srcds_run command line to generate a debug.log to help with solving this problem
Fri Aug 16 04:30:19 PM EEST 2024: Server restart in 10 seconds
psychonic commented 3 weeks ago

If it's crashing solely from including the include (which causes the extension to load), without even having any hooks in the plugin, then this is probably from a bad EntityListeners offset in gamedata