-
Notifications
You must be signed in to change notification settings - Fork 800
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 adding class object to module. #320
Comments
Thanks for reporting!
|
I think you're on the right track there @kngwyu. This design issue is probably also closely related to #308. The |
Do you have any ideas of how to fix this? I'm happy to help implement if possible. |
I fear it's a bit complex to fix. Basically, we need to properly differentiate between instances of pyclass structs that can be wrapped in a python object, but aren't, and types that are python objects (i.e. they are/have a pyo3/pyo3-derive-backend/src/py_class.rs Lines 174 to 195 in 27ef337
If I'm not wrong, we need to remove those |
@konstin |
🌍 Environment
rustc --version
):💥 Reproducing
Import the .so -> segfault (somewhat intermittent).
The text was updated successfully, but these errors were encountered: