The sole goal of the project is to report, mitigate and recover severe crashes/hangs.
This is targeting baseline garry's mod, not custom implementations/overrides to the game.
However this can work on heavily modified versions of the game.
Thanks to Buildstruct for infrastructure testing.
Based on https://github.com/Python1320/gmsv_segfault
Warning
Do not share crash captures to others unless you have sanitized them, they can contain private/sensitive information about your server!
- Put the matching
.dllfor your server ingarrysmod/lua/bin/. - Add
require("crashcapture")to a server autorun script.
That's it, once loaded, it watches for crashes and freezes on its own, and writes a readable report when something goes wrong.
Everything is documented in the wiki: installation, configuration, the Lua API, recovery hooks, the engine patches, and more.
For contributors, see CONTRIBUTING.md.