patched_libraries hits the default static TLS limit on Fedora
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- cpp, linux
- Domain
- operating-systems, testing
Research direction
Start with the game-free patched_libraries test from #705 and trace how it is built and run on Fedora. Reproduce the failure with the normal library directory, then compare it with the run using GLIBC_TUNABLES=glibc.rtld.optional_static_tls=262144. Done means the test loads all 413 patched libraries and exits successfully under the intended Fedora setup.
Written by the indexing model from the issue text.
Description
The game-free patched_libraries test from #705 failed on Fedora Linux 45 at unified AnyKyty commit 93e87416313851d2601d98a7d1948a158d196c1b. The loader reported libSceAgcDriver.prx: cannot allocate memory in static TLS block.
The built PRX declares STATIC_TLS and its ELF TLS segment needs 97,872 bytes. I reran the same test binary with its normal library directory. Stock glibc settings and a 32 KiB optional static TLS allocation both failed. Setting GLIBC_TUNABLES=glibc.rtld.optional_static_tls=262144 for that test process loaded all 413 patched libraries and returned zero.
Tested-on: Fedora Linux 45 Toolbox, glibc 2.44, GCC 16.2.1, Xeon E5-2670 v3
AI-assisted: yes
Assisted-by: gpt-6.2 sol xhigh
- 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#735 · 1 comment ·
Maintainers usually reply within 1 day
-
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
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