-
Notifications
You must be signed in to change notification settings - Fork 187
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 running tests on Linux #189
Comments
In case it's useful, without RTLD_GLOBAL, importing ctypes here throws:
so the catch clause gets taken. With the |
I'm wondering if this crash is related in any way. This was on OS X. |
Have you tried the PyCall master? |
I can reproduce. Will incorporate the |
Thank you for this. I have been running into this issue as of this afternoon. |
On Linux, when I try to run the tests on PyCall master, I get a segfault:
Adding the line
Libdl.dlopen(libpython, Libdl.RTLD_LAZY|Libdl.RTLD_DEEPBIND|Libdl.RTLD_GLOBAL)
to the start of__init__
appears to fix this. I'm not really sure what's going on, but it appears the segfault is somehow related to the libpython symbols not being available to other libraries.I can't reproduce this on OS X, but
dlopen
is global there by default.My
versioninfo()
is:The text was updated successfully, but these errors were encountered: