-
Notifications
You must be signed in to change notification settings - Fork 741
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
Calling Python function many times causes SEGV or hang. #280
Comments
Maybe related to #271? |
@pandaman64 |
@kngwyu It's working! Thanks! |
Fixed by 0.5.1 then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug Reports
Repeatedly calling a Python function eventually fails at the 256'th call.
The process terminates with SEGV or sometimes hang indefinitely.
🌍 Environment
Your operating system and version:
Ubuntu 18.04.1 LTS on Windows Subsystem for Linux.
I also noticed this bug on NixOS.
Your python version:
Python 3.6.6
How did you install python (e.g. apt or pyenv)? Did you use a virtualenv?:
Installed via
apt
Your rust version (
rustc --version
):rustc 1.32.0-nightly (6b9b97bd9 2018-11-15)
Are you using the latest pyo3 version? Have you tried using latest master (replace
version = "0.x.y"
withgit = "https://github.com/PyO3/pyo3")?
0.5
I confirmed the latest master still reproduces the bug.
💥 Reproducing
and
cargo test -- --nocapture
(I added--nocapture
to find the limit).You can get the code here: https://github.com/pandaman64/pyo3-test
Thank you
The text was updated successfully, but these errors were encountered: