Skip to content

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

@doko42

Description

@doko42

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<Policy, Hash, Eq, Alloc>::erase(iterator) [with Policy = absl::debian8::container_internal::{anonymous}::ValuePolicy<long long int, true, true>; Hash = absl::debian8::hash_internal::Hash<long long int>; Eq = std::equal_to<long long int>; Alloc = std::allocator<long long int>]: 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions