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

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

Open
ambaca opened this issue Aug 16, 2024 · 2 comments
Open

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

ambaca opened this issue Aug 16, 2024 · 2 comments
Labels
Gamedata involves gamedata changes Help Wanted up for grabs

Comments

@ambaca
Copy link
Contributor

ambaca commented Aug 16, 2024

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
Copy link
Contributor Author

ambaca commented Aug 16, 2024

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

@psychonic
Copy link
Member

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 psychonic added Help Wanted up for grabs Gamedata involves gamedata changes labels Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gamedata involves gamedata changes Help Wanted up for grabs
Projects
None yet
Development

No branches or pull requests

3 participants
@psychonic @ambaca and others