We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65dfa7b commit 62a8dfbCopy full SHA for 62a8dfb
1 file changed
.github/workflows/macos.yml
@@ -51,10 +51,10 @@ jobs:
51
- name: Test
52
working-directory: build
53
run: |
54
- mkdir -p bin
55
- printf 'race:Catch::RunContext\nrace:Catch::Detail\nrace:__sanitizer::IsAccessibleMemoryRange\n' > bin/tsan_suppressions.txt
56
- # 用绝对路径:ctest 运行测试时的工作目录是 build/bin,相对路径会被叠加成 build/bin/bin/... 而读不到。
57
- export TSAN_OPTIONS="suppressions=$(pwd)/bin/tsan_suppressions.txt second_deadlock_stack=1 history_size=7"
+ # 诊断模式: 暂时不加 suppressions,让 4 个竞争完整显形。
+ # halt_on_error=1 一发现竞争即非零退出; verbosity=1 + second_deadlock_stack=1 打全栈。
+ # 看清竞争来源(栈顶在 Catch:: 还是 taskflowlite/core/...)后,再决定 suppress 还是改源码。
+ export TSAN_OPTIONS="halt_on_error=1 history_size=7 second_deadlock_stack=1 verbosity=1"
58
ctest --output-on-failure -LE perfile
59
60
# Release
0 commit comments