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
faulthandler: setup an exception handler on Windows #68036
Comments
Attached patch setup an exception handler on Windows. I wrote it when investigating a failure of test_exceptions related to the issue bpo-22977. faulthandler was not trigerred while the program crashed. I didn't test the patch yet (I tested a previous attempt, a little bit different). Maybe we can avoid setting signal handlers on Windows if an exception handler is set? |
More complete (and working) patch. Most unit tests pass, but two unit tests must be updated to match the new error message. |
New changeset b2f7bb63377b by Victor Stinner in branch 'default': New changeset b114dbbe2d31 by Victor Stinner in branch 'default': |
New changeset efcc48cd5bfb by Victor Stinner in branch 'default': |
New changeset e6f00778d61f by Victor Stinner in branch 'default': |
The change b114dbbe2d31 introduced a regression on the ARM buildbot. I hope that it's fixed by the change e6f00778d61f. http://buildbot.python.org/all/builders/ARMv7%20Ubuntu%203.x/builds/3800/steps/test/logs/stdio 1:06:35 [400/400/1] test_faulthandler |
Pass succeeded again on ARM, I close the issue. |
New changeset 3247f8df5514 by Victor Stinner in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: