Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Crashtracker: investigate how we can coexist with libsegfault

オープン
#700 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DataDog/libdatadog のほかの issue

DataDog/libdatadog の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。