Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

MAC M1 Unhandled SIGILL: An illegal instruction occurred.

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)] ] )
A*A

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

click to hide/show revision 2
retagged

MAC M1 Unhandled SIGILL: An illegal instruction occurred.

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)] ] )
A*A

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