Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: absl_hashtablez_sampler_test and absl_cordz_sample_token_test fail on riscv64-linux-gnu

Aperta
#2,002 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

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à
Ferma
Stack tecnologico
cmake, cpp, linux

Direzione di ricerca

I test che falliscono sono absl_hashtablez_sampler_test e absl_cordz_sample_token_test, che causano un segfault su riscv64-linux-gnu. Inizia esaminando i file sorgente dei test nella directory absl, probabilmente sotto absl/container/internal o absl/strings/internal. Esegui i test in un ambiente riscv64 per riprodurre il crash, quindi usa un debugger per identificare il punto in cui si verifica l’errore. Cerca assunzioni specifiche dell’architettura nel codice di sampling o di strumentazione.

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

Descrizione

Describe the issue

seen with the Debian build of 20260107.0, but not with the Ubuntu build, where these tests succeed:

99% tests passed, 2 tests failed out of 232

Total Test time (real) = 306.65 sec

The following tests FAILED:
50 - absl_hashtablez_sampler_test (SEGFAULT)
207 - absl_cordz_sample_token_test (SEGFAULT)
Errors while running CTest
make[2]: *** [Makefile:74: test] Error 8

Steps to reproduce the problem

run the testsuite on Debian unstable

What version of Abseil are you using?

20260107.0

What operating system and version are you using?

Debian unstable

What compiler and version are you using?

GCC 15.2, updated from the gcc-15 branch

What build system are you using?

cmake 4.2.3

Additional context

No response

Lingua principale
C++
Stelle
18.2k
Fork
3.2k
Merge medio
18h 24m
PR unite (30g)
10

Preparare l'ambiente

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 abseil/abseil-cpp

Tutte le issue di abseil/abseil-cpp

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.