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

Aperta
#11,236 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux, rust
Ambito
backend, databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
C++
Stelle
1k
Fork
428
Merge medio
2g 7h
PR unite (30g)
100

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pingcap/tiflash

Tutte le issue di pingcap/tiflash

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.