google / google/benchmark

[BUG] some tests segfault sporadically on OSX

Open
#1,279 6 comments 0 reactions 0 assignees View on GitHub
bug help wanted os:osx
Dominant language
C++
Stars
10.4k
Forks
1.8k
Avg merge
2d 4h
Merged PRs (30d)
8

Description

**Describe the bug**

**System**
Which OS, compiler, and compiler version are you using:
- OS: OSX (bigsur)
- Compiler and version: Apple Clang 13.0.0

**To reproduce**
1. at HEAD
2. cmake --build "build" --config Debug
3. cmake -E chdir "build" ctest ---build-config Debug

**Expected behavior**
All tests should pass at HEAD

**Actual behavior**
The following tests FAILED:
47 - register_benchmark_test (SEGFAULT)
59 - user_counters_tabular_test (SEGFAULT)

Keep re-running the tests (step 3), one or both of them could pass occasionally. There seems to be some level of indeterminism here but I haven't been able to track down.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.