Illegal instruction: 4
I get the following error:
(no backtrace available)
Unhandled SIGILL: An illegal instruction occurred. This probably occurred because a compiled module has a bug in it and is not properly wrapped with sig_on(), sig_off(). Python will now terminate.
.../SageMath/src/bin/sage-python: line 2: 56740 Illegal instruction: 4 sage -python "$@"
How to handle it?
Could you please provide the whole code so that we can reproduce the issue ?
Welcome to Ask Sage. Thank you for your question.
Does this error happen when first starting the macOS app?
A similar report was filed as
Or tell what operating system, what version of Sage, how Sage was installed.
@tmonteil I'm trying to run the Scheduling data set command from https://github.com/katealtmanova/nfoldexperiment/tree/master/jea (https://github.com/katealtmanova/nfol...)
@slelievre Thank you. The error happens when I run the named command from the GitHub project in terminal. OS is Mac OS 12.0 Beta on M1, SageMath version 9.3 and Python 3.9.2
Are you using a prebuilt binary? If so, I see two potential issues: first, you're using a binary for an x86 chip rather than M1, and second, you're using OS X 12.0 beta. New OS X versions have often caused problems when building and running Sage.