pyjulia icon indicating copy to clipboard operation
pyjulia copied to clipboard

Segfault when loading numba

Open gboehl opened this issue 4 years ago • 1 comments

See similar isse opened for PyCall:

https://github.com/JuliaPy/PyCall.jl/issues/903

from julia import Main
import numba

gives:

signal (11): Segmentation fault
in expression starting at none:0
_ZN4llvm16TargetPassConfig7addPassEPNS_4PassEbb at /usr/lib/libLLVM-10.so (unknown
 line)
unknown function (ip: 0x22)
_ZTSN4llvm19MachineRegisterInfo8DelegateE at /usr/lib/libLLVM-10.so (unknown line)
Allocations: 3052731 (Pool: 3051957; Big: 774); GC: 4
[1]    99478 segmentation fault (core dumped)  ipython --no-autoindent --profile=n
vim --matplotlib qt

Running arch linux with Julia version:

Julia Version 1.6.1
Commit 6aaedecc44* (2021-04-23 05:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.1.0 (ORCJIT, skylake)

with PyCall version:

      Status `~/.julia/environments/v1.6/Project.toml`
  [438e738f] PyCall v1.92.3

Same in Python for

from julia import Main
import numba

Numba version is 0.53.1. on Python 3.9.5.

Any help is much appreciated!

gboehl avatar May 20 '21 09:05 gboehl

As mentioned in the PyCall issue, this seems to be caused by build options from certain python sources, and probably can't be fixed by anything in this repo — though it should be possible to avoid it by changing how you install the python package.

moble avatar Feb 23 '22 15:02 moble