alliedmodders/sourcemod

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

ambaca opened this issue · 2 comments

Help us help you

  • [ ✔️ ] I have checked that my issue doesn't exist yet.
  • [ ✔️ ] I have tried my absolute best to reduce the problem-space and have provided the absolute smallest test-case possible.
  • [ ✔️ ] I can always reproduce the issue with the provided description below.

Environment

  • Operating System version: Windows 10 Home Edition
  • Game/AppID (with version if applicable): PVKII Dedicated Server / 17575 ( 0.5.1.2 / 24 )
  • Current SourceMod version: SourceMod Version: 1.11.0.6968
  • Current SourceMod snapshot: SourceMod Version: 1.12.0.7156
  • Current Metamod: Source snapshot: Metamod:Source version 1.12.0-dev+1210
  • [ ✔️ ] I have updated SourceMod to the latest version and it still happens.
  • [ ✔️ ] I have updated SourceMod to the latest snapshot and it still happens.
  • [ ✔️ ] I have updated SourceMM to the latest snapshot and it still happens.

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

  • Please attach in separate files: game output, library logs, kernel logs, and any other supporting information.
  • In case of a crash, please attach minidump or dump analyze output.
    console.log

*edit
▶️ Similiar problem with DHooks as well.

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.

  • Metamod:Source version 2.0.0-dev+1313
  • SourceMod Version: 1.12.0.7156

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

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