Build a Crash Handler
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu bằng việc xem xét các tài liệu tham khảo về Breakpad, backward-cpp và Crashpad được liên kết trong issue, sau đó xác định phạm vi và định dạng báo cáo của crash handler. Phần hoàn thành cần bao gồm hành vi theo kiểu singleton, hỗ trợ nhiều instance cùng đóng góp dữ liệu, cũng như việc thu thập stack trace, thông tin máy, các thư viện đã cài đặt và core dump để xử lý trong cơ sở dữ liệu về sau.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 0
- Fork
- 2
- Merge trung bình
- 4 ngày 7 phút
- Pull request đã merge (30 ngày)
- 3
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ynput/ayon-cpp-dev-tools
-
CMake Presets Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của ynput/ayon-cpp-dev-tools
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
google/libultrahdr#485 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
godotengine/godot#123776 ·
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 60/100
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
ros2/common_interfaces#344 ·