Phoenix logging crashing robot code with USB file system errors

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

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp
領域
data

調査の方向性

The crash is an uncaught std::filesystem_error thrown while reading the size of a .hoot log file on a failing USB drive, so start in the Phoenix logging code that calls file size on the log path. Reproducing it needs a log file on a faulty or simulated I/O-error filesystem, and the fix should make the logger handle the error without terminating the robot code. The issue does not say what the expected behavior should be, so confirm that with maintainers first.

索引モデルが issue の本文から書いたものです。

説明

CTR Electronics

I was helping a team that had a usb drive with filesystem errors, and it looks like at least once phoenix crashed the robot code.

Oct 30 17:24:28 robot bash[881]: terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
Oct 30 17:24:28 robot bash[881]:   what():  filesystem error: cannot get file size: Input/output error [/u/logs/2026-04-29_22-02-57/rio_2026-04-29_22-03-04.hoot]
主要言語
Java
スター
195
フォーク
26
平均マージ
11時間 58分
マージ済み PR(30日)
10

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

wpilibsuite/SystemcoreTesting のほかの issue

wpilibsuite/SystemcoreTesting の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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