-
Notifications
You must be signed in to change notification settings - Fork 791
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
Segfault on GC cleanup of subclass #407
Comments
That's a duplicate of #220 but with a new case and an interesting error message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not eniertly sure that it's specific to only subclasses, I've noticed this bug while working on the tests in
rustapi_module
.🌍 Environment
rustc --version
): rustc 1.35.0-nightly (88f755f8a 2019-03-07)💥 Reproducing
current code in https://github.com/PyO3/pyo3/blob/master/examples/rustapi_module/tests/test_subclassing.py
changing it to:
causes it to crash, looking at the core dump, it seems to be during garbage collection.
changing it to:
makes this crash with
GC is already tracked
message.The text was updated successfully, but these errors were encountered: