-
Notifications
You must be signed in to change notification settings - Fork 185
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
pyimport("pyarrow") causes segfault #679
Comments
Seems like a conflict between an LLVM version used by Arrow and the LLVM version used by Julia itself. See also #476. |
Hmmm...any thoughts on why it's OS specific? I guess there are just platform-specific differences between one/both of the involved LLVM versions (Julia's LLVM 6 fork and the LLVM 7 release Arrow uses) that causes the conflict? Any ideas for a workaround? Attempted to build Arrow from source using LLVM 6, but it looks like some its dependencies really do require 7. Not even sure if that's the right kind of thing to try though, I'm pretty out of my depth when it comes to build issues 😛 |
You would need to build it against the patched LLVM that Julia uses... |
Is LLVM a hard requirement for basic arrow functionality? Maybe you can turn it off with |
|
You could try |
Awesome, that workaround seems to work perfectly. Thanks for the help! |
@jrevels It'd be nice if pyarrow do this by default. Can you report it to https://issues.apache.org/jira/browse/ARROW? I think I'll do this myself once I get the same problem. But it seems you already investigated this in detail and have data with multiple environments. |
This is likely not a problem with PyCall, but more of a setup problem on my end; wondering if you had any insights on a potential culprit.
Python 3.7 was installed via
sudo apt install python3.7-dev
(from the deadsnakes PPA), pyarrow 0.13.0 was installed viapython3.7 -m pip install pyarrow
, and Julia was built from source (also tried the prebuilt Julia 1.1.0 binary, didn't make a difference). The segfault also occurs using a Python 3.6 installation (installed viasudo apt install python3
).This segfault does not occur if...
Thanks!
The text was updated successfully, but these errors were encountered: