tests: public_headers fails on duplicate __asan_poison_memory_region / __asan_unpoison_memory_region declarations
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- build-system, testing
Research direction
Start with core/libs/tests/test_public_headers.py around line 341 to understand how the audit counts declarations, then inspect the two reported locations: Block.cpp lines 25–26 and Api.hpp lines 82 and 202. Run ctest --test-dir build -R "^public_headers$" --output-on-failure -V to reproduce. Done when the audit finds exactly one header declaration for each function and public_headers passes.
Written by the indexing model from the issue text.
Description
Commit: db7808f91d0812fe559831b496c2ca3abd4e0821 (AnyKyty)
Hardware / OS: Windows 11 (10.0.26300.0), Python 3.14, MinGW-W64 GCC 15.3.0, Clang 21.1.8
Tracking: #705
Behavior
public_headers fails the audit because __asan_poison_memory_region and __asan_unpoison_memory_region are declared in both core\kyty\graphics\shader\recompiler\ir\Block.cpp and core\libs\prx\libSceAddressSanitizer\include\Api.hpp. Because public_headers_compile_0..63 depend on public_headers, all 64 downstream fixture tests show as Not Run.
Reproduction
ctest --test-dir build -R "^public_headers$" --output-on-failure -V
First error lines
File "<repo>\core\libs\tests\test_public_headers.py", line 341, in audit
raise RuntimeError("\n".join(errors))
RuntimeError: __asan_poison_memory_region: expected exactly one header declaration; found 2: core\kyty\graphics\shader\recompiler\ir\Block.cpp:25, core\libs\prx\libSceAddressSanitizer\include\Api.hpp:82
__asan_unpoison_memory_region: expected exactly one header declaration; found 2: core\kyty\graphics\shader\recompiler\ir\Block.cpp:26, core\libs\prx\libSceAddressSanitizer\include\Api.hpp:202
AI-assisted: yes. Built, ran, and drafted with an AI assistant.
- Dominant language
- C++
- Stars
- 214
- Forks
- 7
- Avg merge
- 7h 53m
- Merged PRs (30d)
- 280
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from simnJS/AnyPS5
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
simnJS/AnyPS5#721 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
simnJS/AnyPS5#716 · 1 comment ·
Maintainers usually reply within 1 day
-
Call for contributions: Windows, AMD and Intel validation (run the tests on your hardware)Possibly taken @adam25136 claimed this today. Openarea: tools-ci area: windows good first issue help wanted needs: AMD needs: Windows
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
simnJS/AnyPS5#705 · 8 comments ·
Maintainers usually reply within 1 day
-
kyty: kyty_shim_rt_context_pick fails pipeline creation with ErrorUnknown on AMD Windows (RX 6800)Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
simnJS/AnyPS5#741 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
simnJS/AnyPS5#740 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
area:tests kind:test
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
? - Needs Triage bot_watch bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/cudf-spark-jni#5594 ·
Maintainers usually reply within 1 day
-
Branch-master
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TrinityCore/TrinityCore#32177 ·
Maintainers usually reply within 10 days
-
area:manager enhancement kind:ux P3 platform:windows
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day