MAC M1 Unhandled SIGILL: An illegal instruction occurred.

asked 2022-07-12 11:19:42 +0200

Alex Karenin gravatar image

updated 2022-07-12 11:25:57 +0200

FrédéricC gravatar image

I got MAC OS 12.4 installed and after attempting to do matrix product over the CyclotomicField in SAGE 9.6 I get next problem:

(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.
/usr/local/bin/sage: line 20:  7998 Illegal instruction: 4  /usr/bin/env - PATH="$PATH" $MIN_ENV "$SYMLINK"/venv/bin/sage "$@"

The example of a code that crashes SAGE is:

K = CyclotomicField(16)
A = matrix( [ [K(1)] ] )

The processor is Apple M1 Pro. SAGE installed via binary from the official site.

edit retag flag offensive close merge delete


It's worth reporting to

Max Alekseyev gravatar imageMax Alekseyev ( 2022-07-14 04:16:34 +0200 )edit