TiFlash v8.5.8: SIGSEGV in RegionCollector::run during a BTreeMap range lookup

Abierto
#11,236 0 comentarios 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
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
linux, rust

Línea de trabajo

Start with components/raftstore/src/coprocessor/region_info_accessor.rs at RegionCollector::run around line 780, then trace the BTreeMap::range call into the Proxy revision identified by the engine Git hash. Check existing crash reports and tests for this signature; the report does not identify a triggering event or provide a reproducer. Done means determining whether this revision has a known matching crash and documenting which RegionCollector events or state would help diagnose a recurrence.

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

Descripción

contribution

A TiFlash process exited with SIGSEGV on a production cluster. The application signal log recorded a read from unmapped address 0x16a. The service manager then restarted the process.

Environment: TiFlash v8.5.8, engine Git hash 3abdec8bff315647a056e6bf910abd4b59af2011, Linux x86-64.

Crash stack (faulting frame first, Rust symbols shortened for readability):

btree::search::NodeRef::find_lower_bound_index
    libtiflash_proxy.so+89803221
BTreeMap::range
    libtiflash_proxy.so+89777476
RegionCollector::run
    libtiflash_proxy.so+89934952
    components/raftstore/src/coprocessor/region_info_accessor.rs:780
yatp worker

The faulting instruction address recorded in the core matched the address in the application signal stack. The application log provided the symbolized Proxy frames. The core was truncated.

Reproduction: Observed in production. We have not identified the triggering Region event or produced a standalone reproducer.

Is this crash signature known for the Proxy revision shipped with TiFlash v8.5.8? Which RegionCollector events or state should we capture if it recurs?

Lenguaje dominante
C++
Estrellas
1k
Forks
428
Merge medio
2 d 7 h
PR fusionados (30 d)
100

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

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 pingcap/tiflash

Todos los issues de pingcap/tiflash

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.