vmprof-python icon indicating copy to clipboard operation
vmprof-python copied to clipboard

Illegal instruction error with `vmprof` and `numba`, on OS X

Open DylanMuir opened this issue 7 years ago • 1 comments

I am using vmprof in a conda environment on OS X, with Python 3.6. When I use the numba @jit decorator, profiling fails with the error "Illegal instruction: 4". If I remove the @jit decorator, no error occurs. Without profiling with vmprof, the code runs with no errors.

] python -m vmprof deneve.py
Illegal instruction: 4

] python deneve.py
< no error >

vmprof versions: 0.4.12 (pip) and 0.4.9 (conda-forge) Python: 3.6.4 (conda) numba: 0.37.0 (conda build np113py36h6d7bb6e_0) OS X: 10.13.14

DylanMuir avatar Apr 25 '18 09:04 DylanMuir

I met the same problem. Have you solved the problem? Thanks.

cnwangfeng avatar Nov 09 '19 16:11 cnwangfeng