Skip to content

[BUG]: static_map insert_or_apply benchmark intermittently hangs at arbitrary occupancy #774

@PointKernel

Description

@PointKernel

Is this a duplicate?

Type of Bug

Silent Failure

Describe the bug

When running the static_map insert_or_apply benchmark, it either takes an excessively long time to complete or appears to deadlock.

I’m 99% confident the issue is a bug in the algorithm. The remaining 1% of doubt comes from the fact that I ran it under memcheck, racecheck, and synccheck, and none of them reported any errors: either the code hangs at runtime without triggering any failures, or it passes all checks without issue.

How to Reproduce

Running

./STATIC_MAP_BENCH -b 14 --profile -a Key=I64 -a Value=I64 --profile

can cause the benchmark to hang at any arbitrary occupancy, though sometimes it completes successfully without issues.

Expected behavior

It should not hang

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0: Must haveCritical feature or bug fixtopic: static_mapIssue related to the static_maptype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions