Crashtracker: investigate how we can coexist with libsegfault
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
まず libSegFault.so と crashtracking の間の相互作用を再現し、次に関係する signal-handler と sigaction の動作を調べます。繰り返し発生する faulting-IP の処理と、提案されている TSC ベースのタイミングまたは _exit パスを比較します。観測されたクラッシュを回避する、文書化された共存戦略を確立できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
IMHO, this is the worst possible outcome. I've actually observed this to occur in a situation where libSegFault.so is layered with crashtracking and the underlying process does some _something_ (I don't yet know).
It isn't clear to me how to prevent this, since it seems that all of the solutions come down to exiting the process or just avoiding responsibility by mutating the sigaction under some condition. I think the best idea I personally have is to use the equivalent of TSC to estimate the amount of off-signal work done between invocations of the handler, and if it's below some threshold then _exit() if the faulting IP matched the previous one.
Originally posted by @sanchda in https://github.com/DataDog/libdatadog/pull/696#discussion_r1819067786
- 主要言語
- Rust
- スター
- 70
- フォーク
- 21
- 平均マージ
- 2日 16時間
- マージ済み PR(30日)
- 91
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DataDog/libdatadog のほかの issue
-
AI Generated
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DataDog/libdatadog#2542 ·
メンテナーはふだん 1 日以内に返信
-
Obfuscation: a bare top-level value after a complete document is kept as sent instead of obfuscatedオープンAI Generated bug
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
DataDog/libdatadog#2577 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
DataDog/libdatadog#2550 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
DataDog/libdatadog#2544 ·
メンテナーはふだん 1 日以内に返信
-
Obfuscation: `should_obfuscate_url` returns false for URLs `obfuscate_url_string` replaces with `?`対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンAI Generated
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
DataDog/libdatadog#2524 ·
メンテナーはふだん 1 日以内に返信
DataDog/libdatadog の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
app enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
elodin-sys/elodin#890 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
guidance-ai/llguidance#391 ·