abseil / abseil/abseil-cpp

[Bug]: absl_raw_hash_set_test fails on arm-linux-gnueabihf

Aperta
#1,982 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
18.1k
Fork
3.2k
Merge medio
20h 36m
PR unite (30g)
1

Descrizione

### Describe the issue

with the 20250815.1 release, this test fails on arm-linux-gnueabihf:

`51:
86/219 Test #51: absl_raw_hash_set_test .............................***Failed 1.56 sec
Running main() from gmock_main.cc
[==========] Running 372 tests from 45 test suites.
[----------] Global test environment set-up.
[----------] 2 tests from TableDeathTest
[ RUN ] TableDeathTest.InvalidIteratorAsserts
[ OK ] TableDeathTest.InvalidIteratorAsserts (7 ms)
[ RUN ] TableDeathTest.InvalidIteratorAssertsSoo
./absl/container/internal/raw_hash_set_test.cc:2659: Failure
Death test: t.erase(t.end())
Result: died but not with expected error.
Expected: contains regular expression "erase.* called on end.. iterator."
Actual msg:
[ DEATH ] absl_raw_hash_set_test: ./absl/container/internal/raw_hash_set.h:2675: void absl::debian8::container_internal::raw_hash_set::erase(iterator) [with Policy = absl::debian8::container_internal::{anonymous}::ValuePolicy; Hash = absl::debian8::hash_internal::Hash; Eq = std::equal_to; Alloc = std::allocator]: Assertion `(capacity() > 0) && "Try enabling sanitizers."' failed.
[ DEATH ]

[ FAILED ] TableDeathTest.InvalidIteratorAssertsSoo (2 ms)
[----------] 2 tests from TableDeathTest (10 ms total)
`

### Steps to reproduce the problem

build on a Debian unstable armhf system.

### What version of Abseil are you using?

20250815.1

### What operating system and version are you using?

Debian unstable

### What compiler and version are you using?

GCC 15.2 from the gcc-15 branch

### What build system are you using?

cmake version 3.31.6

### Additional context

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.