Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
GH-139193: Fix dump_stack when PYTHON_LLTRACE=4#139384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-139193: Fix dump_stack when PYTHON_LLTRACE=4 #139384
Uh oh!
There was an error while loading. Please reload this page.
Conversation
sergey-miryanov commented Sep 27, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
sergey-miryanov commented Sep 27, 2025
PR ready to review, please take a look. |
Fidget-Spinner left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
sergey-miryanov commented Sep 28, 2025
@Fidget-Spinner Thanks for review! I tried to fix |
This reverts commit 58b4564.
sergey-miryanov commented Sep 28, 2025
I revert it because it was not right. |
markshannon commented Sep 30, 2025
|
markshannon commented Sep 30, 2025
Any suggestions for a better name are welcome, as it is obviously not clear. |
sergey-miryanov commented Oct 1, 2025
@markshannon What do you think about adding new function |
markshannon commented Oct 3, 2025
That sounds good. Leave |
sergey-miryanov commented Oct 7, 2025
@markshannon Please take a look. I have added |
markshannon commented Oct 22, 2025
Thanks for doing this |
a4709e5 into python:mainUh oh!
There was an error while loading. Please reload this page.
sergey-miryanov commented Oct 22, 2025
Thanks everyone for reviews! |
bedevere-bot commented Oct 22, 2025
|
There are two problems:
dump_stack/dump_itemshould ignore items that pushed on the stack withPyStackRef_WrapPyStackRef_IsErrorshould test onlyPy_TAG_BITSof.bitsnot whole.bitsvalueAlso, PyStackRef_IsValid should be fixed accordingly.
PYTHON_LLTRACE=4segfaults #139193