Skip to content

Conversation

@gvanrossum
Copy link
Member

@gvanrossumgvanrossum commented Jul 25, 2023

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @gvanrossum for commit 92b493d 🤖

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jul 25, 2023
@vstinner
Copy link
Member

I tested manually the change on ppc64. I confirm that this change fix./python -m test -v test_capi on big endian machine.

I built Python with ./configure --with-pydebug && make -j32: it builds C code with gcc -Og, GCC 13.1.0 on Debian Sid.

Without the fix, I am able to reproduce the issue.

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

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

LGTM. The change retrieves the original opcode stored in executors by insert_executor().

Co-authored-by: Victor Stinner <vstinner@python.org>
@gvanrossumgvanrossum enabled auto-merge (squash) July 25, 2023 19:26
@gvanrossumgvanrossum merged commit 233b878 into python:mainJul 25, 2023
@gvanrossumgvanrossum deleted the fix-capi-crash branch July 25, 2023 20:06
@vstinner
Copy link
Member

Thanks for the fix.

jtcave pushed a commit to jtcave/cpython that referenced this pull request Jul 27, 2023
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.

test_capi: test_extended_arg() failed on PPC64LE RHEL7 Refleaks 3.x

3 participants

@gvanrossum@bedevere-bot@vstinner