sourcemod icon indicating copy to clipboard operation
sourcemod copied to clipboard

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

Open ambaca opened this issue 1 year ago • 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.

ambaca avatar Aug 16 '24 12:08 ambaca

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

ambaca avatar Aug 16 '24 13:08 ambaca

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

psychonic avatar Aug 17 '24 15:08 psychonic

Same problem.

Pvk has its own sdkhook and source plugins [ANY] with dhooks do not recognize it, causing server to crash.

MihanDeNoob avatar Jan 30 '25 15:01 MihanDeNoob