Phoenix logging crashing robot code with USB file system errors

Abierto
#439 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
data

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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]
Lenguaje dominante
Java
Estrellas
195
Forks
26
Merge medio
11 h 58 min
PR fusionados (30 d)
10

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de wpilibsuite/SystemcoreTesting

Todos los issues de wpilibsuite/SystemcoreTesting

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.