Skip to content

gh-125217: Turn off optimization around_PyEval_EvalFrameDefault to avoid MSVC crash - #125477

Merged
mdboom merged 1 commit into
python:mainfrom
mdboom:disable-interpreter-optimizations-when-jit-enabled
Oct 16, 2024
Merged

gh-125217: Turn off optimization around_PyEval_EvalFrameDefault to avoid MSVC crash#125477
mdboom merged 1 commit into
python:mainfrom
mdboom:disable-interpreter-optimizations-when-jit-enabled

Conversation

@mdboom

@mdboommdboom commented Oct 14, 2024

Copy link
Copy Markdown
Contributor

./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
jit:
name: ${{ matrix.target }} (${{ matrix.debug && 'Debug' || 'Release' }})
needs: interpreter

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the requirement on the Tier 2 interpreter pass here, since it seems to be failing consistently on test.test_asyncio.test_taskgroups, and I'm not sure that's relevant to this PR.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #125472.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thanks. We won't merge these changes, then, but it's useful for now to illustrate that the fix here works.

@mdboom
mdboomforce-pushed the disable-interpreter-optimizations-when-jit-enabled branch from bfcfe72 to 8340829CompareOctober 15, 2024 14:28
Comment threadPython/jit.c Outdated
#include "pycore_sliceobject.h"
#include "pycore_jit.h"


Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to trigger the JIT CI, but I can remove this commit before merging.

@mdboom
mdboomforce-pushed the disable-interpreter-optimizations-when-jit-enabled branch from a55510c to 8340829CompareOctober 16, 2024 12:17
@mdboom
mdboom enabled auto-merge (squash) October 16, 2024 12:22
@mdboom
mdboom merged commit 51410d8 into python:mainOct 16, 2024
ebonnal pushed a commit to ebonnal/cpython that referenced this pull request Jan 12, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@mdboom@brandtbucher@nineteendo