-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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-94215: Reproducer for segfault in frame_setlineno() #94563
Conversation
tiran
commented
Jul 5, 2022
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: GC crash _PyObject_AssertFailed with pdb #94215
I can't promise that the change is correct. The test reproducer no longer crashes with a segfault and refleak tests do not report any reference leaks either. |
🤖 New build scheduled with the buildbot fleet by @tiran for commit 26da1e6b466408253845ac3e30933012646b6ee2 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
My fix is incorrect. It introduces a reference leak. |
Where is the refleak ? Can you provide a link to failing buildbot? @tiran |
As I said my attempt to solve the segfault introduces a refleak. You can easily reproduce the refleak by running |
8887f4b
to
05a9f9a
Compare
I have removed the invalid fix and cleaned up the test. I'm going to add and backport the new tests so we have a reproducer for possible ref leak and crashes available. |
Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
…honGH-94563) (cherry picked from commit de58842) Co-authored-by: Christian Heimes <[email protected]>
GH-94652 is a backport of this pull request to the 3.11 branch. |
(cherry picked from commit de58842) Co-authored-by: Christian Heimes <[email protected]>