-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-127604: Add C stack dumps to faulthandler
#128159
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
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
0ebdc69
Initial implementation for glibc
ZeroIntensity 0ccf9fb
Make it cross-platform buildable.
ZeroIntensity 52945e5
Call it on Windows.
ZeroIntensity 9bdd802
Add a whatsnew entry
ZeroIntensity 66f2641
Add dump_c_stack
ZeroIntensity 0591013
Reverse the loop.
ZeroIntensity 64707a2
Add documentation entries.
ZeroIntensity 8a5b784
Make the whatsnew entry more specific.
ZeroIntensity 4f09358
Add tests.
ZeroIntensity e1aa619
Add blurb from whatsnew.
ZeroIntensity 6b515d3
Fix failing Sphinx build.
ZeroIntensity c69ee9d
Fix PyArg_ParseTupleAndKeywords format string.
ZeroIntensity f08b1dd
Fix Sphinx warnings.
ZeroIntensity dbb6d25
Add ignore to test_inspect
ZeroIntensity faf1a3e
Fix name.
ZeroIntensity ec832aa
Ignore the reentrant variable in the C analyzer.
ZeroIntensity 524f167
Apply suggestions from code review
ZeroIntensity dd08bcb
Use manpage references.
ZeroIntensity bda3dcd
Add issue number to whatsnew.
ZeroIntensity a3564a5
Merge branch 'c-faulthandler' of https://github.com/ZeroIntensity/cpy…
ZeroIntensity f3fcea1
Rename macros.
ZeroIntensity db97dd2
Reduce number of printed calls.
ZeroIntensity c17457f
Apply suggestions from code review
ZeroIntensity d5f7d4b
Address code review.
ZeroIntensity e79e661
Merge branch 'c-faulthandler' of https://github.com/ZeroIntensity/cpy…
ZeroIntensity 0c84f8a
Explicitly check for backtrace() and backtrace_symbols()
ZeroIntensity 8198997
Handle no frames returned.
ZeroIntensity 0f670f0
Move the function that calls backtrace() to within the core.
ZeroIntensity 079f186
Merge into main.
ZeroIntensity 892a085
Fix test case.
ZeroIntensity 896abd1
Run make regen-configure
ZeroIntensity cab079e
Extract behavior in own function.
ZeroIntensity 1784071
PEP-7
ZeroIntensity 3304e2a
Update pycore_traceback.h
ZeroIntensity aa97f24
Use address_expr
ZeroIntensity 50b4964
Fix wrong argument parsing keycode.
ZeroIntensity 533b1db
Add tests for dump_c_stack()
ZeroIntensity 58b3580
Start homemade implementation of backtrace_symbols()
ZeroIntensity f62dac8
Merge branch 'main' into c-faulthandler
ZeroIntensity 4feaf09
Fix merge conflicts.
ZeroIntensity c95369f
Merge branch 'c-faulthandler' of https://github.com/ZeroIntensity/cpy…
ZeroIntensity 95833e7
Untested implementation.
ZeroIntensity 3e2701d
Sorta works.
ZeroIntensity 56127fa
NULL-initialize the arrays.
ZeroIntensity b70bd43
Use dprintf()
ZeroIntensity 7a070ab
Add proper configure guards.
ZeroIntensity e9c3d7c
Use faulthandler formatting.
ZeroIntensity 195a539
Protect against compilers without VLAs.
ZeroIntensity 9dd6c3b
Fix incorrect formatting when no symbol name is available.
ZeroIntensity ce9c39f
Don't use GNU extension.
ZeroIntensity c344ad7
Handle NULL.
ZeroIntensity e899792
Fix newlines in the whatsnew.
ZeroIntensity b136f71
Fix stray newline change.
ZeroIntensity 2c381b9
Add configure guard for dladdr1()
ZeroIntensity 52c0748
Add documentation about compatibility.
ZeroIntensity bd47026
Fix sphinx role.
ZeroIntensity 07a20d0
Fix styling.
ZeroIntensity File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix merge conflicts.
- Loading branch information
commit 4feaf09e6d68ef328eb053815d241f7a5afd492e
There are no files selected for viewing
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
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
You are viewing a condensed version of this merge commit. You can view the full changes here.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.