-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
read_csv in multiple theads causes segmentation fault #11786
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
Comments
FWIW on OSX that script just hangs at 99% CPU use. pandas 0.17.1, python 3.5. |
cc @jdeschenes can you have a look |
@mrocklin thanks for the repro! |
I think I found the issue, see my pull request. The issue was caused by a misplaced PyGilState_ensure(It was called after a Py_XDECREF being called. Using read_csv with threads on such an object might have a big impact on performance. |
jdeschenes
pushed a commit
to jdeschenes/pandas
that referenced
this issue
Jan 19, 2016
…tringIO object., pandas-dev#11786 The issue was caused by a misplaced PyGilSate_Ensure()
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following script causes a segfault on my machine
Python 3.4, Pandas 0.17.1, Ubuntu 14.04
The text was updated successfully, but these errors were encountered: