Skip to content

Possible memory corruption detected with Stripper 1.6 on L4D2 #997

Description

@A1mDev

Description

While debugging a Left 4 Dead 2 dedicated server, a possible memory corruption issue was detected when Stripper 1.6 is loaded.

The server runs normally without debug instrumentation. However, with debugging enabled, the crash occurs during server startup while processing LevelInit.

The crash is reported inside Valve allocator code (tier0!MemFreeScratch), with Stripper present in the call stack.

Environment

  • Game: Left 4 Dead 2 Dedicated Server
  • Platform: Windows
  • Stripper version: 1.2.2
  • DLL: stripper.16.l4d2.dll
  • Timestamp: Tue May 31 16:41:13 2022

Crash location

tier0!MemFreeScratch+0x5ab
tier0!MemFreeScratch+0x1d79
datacache.dll
engine.dll
server.dll
metamod_2_l4d2.dll
stripper_16_l4d2!CreateInterface+0x189c
stripper_16_l4d2!CreateInterface+0x2447
sourcemod_2_l4d2!SourceModBase::LevelInit+0x293

Notes

  • Without Stripper loaded, no issue is observed.
  • Without debug instrumentation, the server appears stable.
  • The issue only becomes visible under debugging.
  • The crash happens during initial map loading / LevelInit.

Request

Could this indicate an unsafe memory operation in Stripper's entity modification code or an incompatibility with newer L4D2/SourceMod builds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions