FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED by vstinner · Pull Request #150704 · python/cpython · GitHub

Repository navigation

gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED - #150704

Merged
vstinner merged 4 commits into
python:mainfrom
vstinner:desktop_heap_memory
Jun 1, 2026
Merged

vstinner merged 4 commits into
python:mainfrom
vstinner:desktop_heap_memory

Conversation

vstinner commented Jun 1, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

If a subprocess spawned with CREATE_NEW_CONSOLE creation flag fails with STATUS_DLL_INIT_FAILED return code, skip the test. It's likely a memory allocation failure in the desktop heap memory which caused the DLL init failure.

If a subprocess spawned with CREATE_NEW_CONSOLE creation flag fails
with STATUS_DLL_INIT_FAILED return code, skip the test. It's likely a
memory allocation failure in the desktop heap memory which caused the
DLL init failure.

vstinner commented Jun 1, 2026

Copy link
Copy Markdown
Member Author

cc @zooba @chris-eibl

vstinner commented Jun 1, 2026

Copy link
Copy Markdown
Member Author

vstinner commented Jun 1, 2026

Copy link
Copy Markdown
Member Author

There was a tool named DHeapMon.exe to monitor the usage of the Desktop Heap Memory, but I failed to find a website to download it. It seems like it's not longer maintained.

vstinner enabled auto-merge (squash) June 1, 2026 14:27
vstinner merged commit e8034dd into python:main Jun 1, 2026
49 checks passed
vstinner deleted the desktop_heap_memory branch June 1, 2026 14:50

Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

Copy link
Copy Markdown

Sorry, @vstinner, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker e8034dd841808416e243a4b2f8e08f0edf9caff3 3.14

Copy link
Copy Markdown

Sorry, @vstinner, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker e8034dd841808416e243a4b2f8e08f0edf9caff3 3.13

bedevere-app Bot commented Jun 1, 2026

Copy link
Copy Markdown

GH-150713 is a backport of this pull request to the 3.15 branch.

bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Jun 1, 2026

bedevere-app Bot commented Jun 1, 2026

Copy link
Copy Markdown

GH-150715 is a backport of this pull request to the 3.14 branch.

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jun 1, 2026
vstinner removed the needs backport to 3.13 only security fixes label Jun 1, 2026
vstinner added a commit that referenced this pull request Jun 1, 2026
…0704) (#150715)

gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED (#150704)

If a subprocess spawned with CREATE_NEW_CONSOLE creation flag fails
with STATUS_DLL_INIT_FAILED return code, skip the test. It's likely a
memory allocation failure in the desktop heap memory which caused the
DLL init failure.

(cherry picked from commit e8034dd)

bedevere-app Bot commented Jun 1, 2026

Copy link
Copy Markdown

GH-150721 is a backport of this pull request to the 3.13 branch.

vstinner added a commit that referenced this pull request Jun 1, 2026
…0704) (#150721)

gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED (#150704)

If a subprocess spawned with CREATE_NEW_CONSOLE creation flag fails
with STATUS_DLL_INIT_FAILED return code, skip the test. It's likely a
memory allocation failure in the desktop heap memory which caused the
DLL init failure.

(cherry picked from commit e8034dd)
vstinner added a commit that referenced this pull request Jun 4, 2026
…150704) (#150713)

gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED (GH-150704)

If a subprocess spawned with CREATE_NEW_CONSOLE creation flag fails
with STATUS_DLL_INIT_FAILED return code, skip the test. It's likely a
memory allocation failure in the desktop heap memory which caused the
DLL init failure.
(cherry picked from commit e8034dd)

Co-authored-by: Victor Stinner <vstinner@python.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OS-windows skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL