Skip to content

bpo-45061: Enhance faulthandler traceback wit no Python frame #28090

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

Merged
merged 1 commit into from
Aug 31, 2021
Merged

bpo-45061: Enhance faulthandler traceback wit no Python frame #28090

merged 1 commit into from
Aug 31, 2021

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Aug 31, 2021

Fix indentation of message in a faulthandler
traceback or a Fatal Python error traceback. Example:

Current thread 0x00007f03896fb740 (most recent call first):
Garbage-collecting

https://bugs.python.org/issue45061

Fix indentation of <no Python frame> message in a faulthandler
traceback or a Fatal Python error traceback. Example:

Current thread 0x00007f03896fb740 (most recent call first):
  Garbage-collecting
  <no Python frame>
@vstinner
Copy link
Member Author

Formatted example:

Current thread 0x00007f03896fb740 (most recent call first):
  Garbage-collecting
  <no Python frame>

@vstinner vstinner merged commit 888d4cc into python:main Aug 31, 2021
@vstinner vstinner deleted the traceback_noframe branch August 31, 2021 15:34
@vstinner vstinner added the needs backport to 3.10 only security fixes label Aug 31, 2021
@miss-islington
Copy link
Contributor

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 31, 2021
…GH-28090)

Fix indentation of <no Python frame> message in a faulthandler
traceback or a Fatal Python error traceback. Example:

Current thread 0x00007f03896fb740 (most recent call first):
  Garbage-collecting
  <no Python frame>
(cherry picked from commit 888d4cc)

Co-authored-by: Victor Stinner <[email protected]>
@bedevere-bot
Copy link

GH-28096 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Aug 31, 2021
miss-islington added a commit that referenced this pull request Aug 31, 2021
Fix indentation of <no Python frame> message in a faulthandler
traceback or a Fatal Python error traceback. Example:

Current thread 0x00007f03896fb740 (most recent call first):
  Garbage-collecting
  <no Python frame>
(cherry picked from commit 888d4cc)

Co-authored-by: Victor Stinner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants