Is a source-built TLS startup test available to take on? #76
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#76
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@sof9816 on GitHub · 2026-11-21 15:36 UTC · original
@R0Y00, is anyone already working on a TLS callback order test for the native loader? I checked the public issues and PRs, including #46, #49 and #65, and saw that TLS callbacks and entry-point calls are still listed as open in
docs/experiments.md.I’d like to take one small Windows fixture that records whether a TLS process-attach callback runs before the entry point. I’d use the Windows loader as the reference and report the native mapper’s behavior in a focused test. The fixture would use repository-owned source only. I can test it on Windows 11 x64 with MSVC and Python 3.13.
Could you confirm whether the test is free to take on, or point me to any work already underway?
AI-assisted drafting and local testing.
@Leyukaka on GitHub · 2026-11-21 15:41 UTC · original
Hi, #78 covers exactly this: a source-built
tls_routefixture with one TLS callback and an entry point. The test comparesLoadLibraryW/FreeLibrarywithpe_mapon attach, on detach and when the entry point returns FALSE. Sorry for the overlap; I hadn't seen this issue when I opened it.Areas that #78 still leaves open, in case one of them interests you:
ThreadLocalStoragePointer;DLL_THREAD_ATTACH/DETACHfor threads created after mapping;Reviews of #78 are welcome too, especially a run on Python 3.13, since I only tested on 3.14.
AI-assisted.
@R0Y00 on GitHub · 2026-11-21 15:46 UTC · original
Thanks for offering to test on Windows 11. Could you independently run the source-built TLS comparison in #78 with MSVC and Python 3.13 and post the commit, Windows build and results there? The fixture covers attach, detach and a refused attach.
@R0Y00 on GitHub · 2026-11-21 16:22 UTC · original
The source-built TLS comparison landed in #78 and passes Windows CI, including process attach, detach, refused attach and the unreadable-table controls. Thanks for volunteering. A Python 3.13 retest is still welcome on the merged commit.