ynput / ynput/ayon-cpp-dev-tools

Build a Crash Handler

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
0
Forks
2
Avg merge
4d 7m
Merged PRs (30d)
3

Description

Crash Handler/Reporter Proposal

Purpose and Problem

Currently our C++ Tools dont have specific Crash hanlders.
this means that the only Crash data we get are errors of parent tools.

this makes it hard for us to get the data we actually want.

We want to build a custom crash Hanlder that wraps around existing tools to give us the specific data in a specific format for us to Process.

We also want a Database to collect all the reports together to later learn from them.

Implementation

We want a Singleton Style implementation to ensure only one Crash handler exists in a single Application Unit.

Multi instantiation should still add data to the Crash Handler.

What do we Want to catch
  • stack trace file (backward-cpp) (minidump's)
  • machine info (network, cpu, ram)
    • this helps to find out if we have a specific hardware set that causes problems
  • installed libs
    • this helps us identify if a user has incorrect library installed
    • or if we conflict with libs
  • Core Dumps

Inspiration / Research

Research
Links

--------------- Repos

----------- Tool Docs

---------------- Infos Write Ups

Inspiration

we can take inspiration by what side fx Houdini is doing with there info section.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Breakpad, backward-cpp, and Crashpad references linked in the issue, then define the crash handler's scope and report format. Done should include singleton-style behavior, support for multiple instances contributing data, and collection of stack traces, machine information, installed libraries, and core dumps for later database processing.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.