-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
test_dataclasses
fails with a segfault in hunt refleaks mode
#123185
Comments
Bisected to bb1d303 |
Corroborated by the PPC64LE RHEL8 Refleaks 3.x builder (370/478 other tests passed as of right now, the build is not yet finished). Edit: a couple of other refleak builders have finished and also crashed on |
Stack trace:
Apparently Line 3475 in f88c14d
|
Here's the minimal reproducible example without dataclasses: class Foo:
def __init__(self, arg): pass
for _ in range(2):
try:
Foo()
except:
pass |
@Eclips4 thanks for the triaging. It looks like I accidentally removed an error check when refactoring. |
Thanks Mark for the fix! |
Bug report
Bug description:
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
NULL
after calling_PyEvalFramePushAndInit
#123194The text was updated successfully, but these errors were encountered: