Skip to content

gh-138122: Fix empty CPU Tachyon profiles with 32-bit Python on Windows Server 2022 - #163104

Open
maurycy wants to merge 7 commits into
python:mainfrom
maurycy:tachyon-win32-cpu-status
Open

maurycy wants to merge 7 commits into
python:mainfrom
maurycy:tachyon-win32-cpu-status

Conversation

@maurycy

@maurycy maurycy commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Reported in #161956 (comment)

test_external_inspection and test_profiling fail on the 32-bit Windows Server 2022 job in Azure Pipelines since #161956:

https://dev.azure.com/Python/cpython/_build/results?buildId=178239&view=logs&j=0fcf9c9b-89fc-526f-8708-363e467e119e&t=bd551f17-1f0d-5946-45f1-d677b25fe3f7

On Windows Server 2022, NtQueryInformationThread() returns STATUS_INVALID_INFO_CLASS for ThreadSystemThreadInformation under WOW64. This leaves every thread's CPU state unknown. The fix confirms the investigation from #161956 (comment)

I only have access to Windows 11 ARM64. I was able to check the fallback by forcing STATUS_INVALID_INFO_CLASS..

Needs backport to 3.15.

@maurycy
maurycy marked this pull request as ready for review December 3, 2026 20:03
@maurycy
maurycy requested a review from pablogsal as a code owner December 3, 2026 20:03
@maurycy

maurycy commented Dec 3, 2026

Copy link
Copy Markdown
Contributor Author

cc @pablogsal @hugovk

@hugovk hugovk added needs backport to 3.15 bugs and security fixes type-bug An unexpected behavior, bug, or error and removed type-feature A feature request or enhancement labels Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review needs backport to 3.15 bugs and security fixes type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants