Skip to content

Server/Client Crash Dump Reports #3

@HaydnTrigg

Description

@HaydnTrigg

Implement a crash dump collector for both Client and Server to capture application failures.
It is expected that users will manually find their crash zip file in the CrashReports folder and send them to relevant developers.

  • Enable CMake option LIBERTY_ENABLE_CRASH_HANDLER (default: off; enabled on CI)
  • Detect IsDebuggerAttached on Windows and skip crash handler initialization when a debugger is present
  • Collect a minidump, runtime logs, and a screenshot of the game state upon crash
    • Configure DACOM to forward logging output to the crash handler
    • If the CrashReports folder is larger than 1GiB, cleanup old crash reports deleting oldest files first
  • Crash Reports stored in CrashReports folder eg. CrashReports\LibertyServer.exe-2025-04-27T22:52:34.228Z.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions