-
Notifications
You must be signed in to change notification settings - Fork 86
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
Segmentation fault when trying to dlclose()
libddApp.dylib on OSX (from Julia)
#526
Comments
Thanks for testing the new binaries! I will try to reproduce on my mac and see if I can figure it out. |
Thanks for making them! I'm updating DrakeVisualizer.jl to use the newest version of Director on all platforms right now: rdeits/DrakeVisualizer.jl#55 |
Sounds good. Would you be able to update to Python 3 as well? Any reason you need to continue using Python 2? I have a Python 3 branch nearly ready to go, I just need to generate mac vtk-python3 packages so that it can pass tests on Travis-CI. |
Yeah, there's nothing blocking that switch (other than having binaries released). All my communication is over the LCM channel, so I probably won't even notice. |
I was able to reproduce the crash. I will let you know if I get a fix for it. In the meantime, I think you have a viable workaround so I am not treating this as a high priority. |
Yeah, my workaround is fine. Thanks for taking a look 🙂 |
Since this only happens from Julia, I'm not sure that this is really your problem, but this used to work and seems to have broken sometime in the transition from vtk5 to vtk7. To reproduce, download the pre-build binaries of version
0.1.0-130-g4109097
(the latest) and cd to thelib
folder, then run:on my machine (macOS 10.11), I get:
The reason this matters is that Julia uses
dlopen()
anddlclose()
to check if a library is installed, which is triggering this segfault. My workaround is instead to tell Julia to look at thelibvtkDRCFilters
library, which doesn't segfault.The text was updated successfully, but these errors were encountered: