Build a Crash Handler
まだ誰も着手していません。
評価
調査の方向性
まず、issue にリンクされている Breakpad、backward-cpp、Crashpad のリファレンスを確認し、その後 crash handler のスコープとレポート形式を定義します。完了条件には、singleton 方式の動作、複数のインスタンスがデータを提供できること、後でデータベース処理を行うためのスタックトレース、マシン情報、インストール済みライブラリ、コアダンプの収集を含める必要があります。
索引モデルが issue の本文から書いたものです。
説明
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
- https://www.robopenguins.com/less-crashy-crashes/
- https://chromium.googlesource.com/crashpad/crashpad/+/master/README.md
- https://chromium.googlesource.com/breakpad/breakpad/
---------------- Infos Write Ups
- https://raygun.com/documentation/language-guides/cpp/crash-reporting/installation/
- https://stackoverflow.com/questions/3899870/how-to-print-a-stack-trace-whenever-a-certain-function-is-called/54365144#54365144
- https://www.robopenguins.com/core-dumps/
- https://www.boost.org/doc/libs/master/doc/html/stacktrace/getting_started.html#stacktrace.getting_started.handle_terminates
Inspiration
we can take inspiration by what side fx Houdini is doing with there info section.
- 主要言語
- C++
- スター
- 0
- フォーク
- 2
- 平均マージ
- 4日 7分
- マージ済み PR(30日)
- 3
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ynput/ayon-cpp-dev-tools のほかの issue
-
CMake Presets オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
ynput/ayon-cpp-dev-tools の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
ros2/message_filters#338 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
subsurface/subsurface#4984 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
google-ai-edge/LiteRT-LM#3739 ·