ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 03 Aug 2021 23:33:06 +0200Illegal instruction: 4https://ask.sagemath.org/question/58214/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?Mon, 02 Aug 2021 15:31:54 +0200https://ask.sagemath.org/question/58214/illegal-instruction-4/Comment by John Palmieri for <p>I get the following error:</p>
<h2>(no backtrace available)</h2>
<p>Unhandled SIGILL: An illegal instruction occurred.
This probably occurred because a <em>compiled</em> module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.</p>
<p>.../SageMath/src/bin/sage-python: line 2: 56740 Illegal instruction: 4 sage -python "$@"</p>
<p>How to handle it?</p>
https://ask.sagemath.org/question/58214/illegal-instruction-4/?comment=58235#post-id-58235To handle this, probably the best bet is to build Sage yourself. Some people suggest that on OS X, a good way is via conda. See Sage's installation guide: https://doc.sagemath.org/html/en/installation/conda.html and also https://wiki.sagemath.org/Conda.Tue, 03 Aug 2021 23:33:06 +0200https://ask.sagemath.org/question/58214/illegal-instruction-4/?comment=58235#post-id-58235Comment by John Palmieri for <p>I get the following error:</p>
<h2>(no backtrace available)</h2>
<p>Unhandled SIGILL: An illegal instruction occurred.
This probably occurred because a <em>compiled</em> module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.</p>
<p>.../SageMath/src/bin/sage-python: line 2: 56740 Illegal instruction: 4 sage -python "$@"</p>
<p>How to handle it?</p>
https://ask.sagemath.org/question/58214/illegal-instruction-4/?comment=58226#post-id-58226Are 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.Tue, 03 Aug 2021 00:43:19 +0200https://ask.sagemath.org/question/58214/illegal-instruction-4/?comment=58226#post-id-58226Comment by anonym485738 for <p>I get the following error:</p>
<h2>(no backtrace available)</h2>
<p>Unhandled SIGILL: An illegal instruction occurred.
This probably occurred because a <em>compiled</em> module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.</p>
<p>.../SageMath/src/bin/sage-python: line 2: 56740 Illegal instruction: 4 sage -python "$@"</p>
<p>How to handle it?</p>
https://ask.sagemath.org/question/58214/illegal-instruction-4/?comment=58218#post-id-58218@tmonteil I'm trying to run the Scheduling data set command from https://github.com/katealtmanova/nfoldexperiment/tree/master/jea
@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.2Mon, 02 Aug 2021 16:02:25 +0200https://ask.sagemath.org/question/58214/illegal-instruction-4/?comment=58218#post-id-58218Comment by slelievre for <p>I get the following error:</p>
<h2>(no backtrace available)</h2>
<p>Unhandled SIGILL: An illegal instruction occurred.
This probably occurred because a <em>compiled</em> module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.</p>
<p>.../SageMath/src/bin/sage-python: line 2: 56740 Illegal instruction: 4 sage -python "$@"</p>
<p>How to handle it?</p>
https://ask.sagemath.org/question/58214/illegal-instruction-4/?comment=58217#post-id-58217Does this error happen when first starting the macOS app?
A similar report was filed as
- [Sage-macOS issue 22](https://github.com/3-manifolds/Sage_macOS/issues/22)
Or tell what operating system, what version of Sage, how Sage was installed.Mon, 02 Aug 2021 15:47:36 +0200https://ask.sagemath.org/question/58214/illegal-instruction-4/?comment=58217#post-id-58217Comment by slelievre for <p>I get the following error:</p>
<h2>(no backtrace available)</h2>
<p>Unhandled SIGILL: An illegal instruction occurred.
This probably occurred because a <em>compiled</em> module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.</p>
<p>.../SageMath/src/bin/sage-python: line 2: 56740 Illegal instruction: 4 sage -python "$@"</p>
<p>How to handle it?</p>
https://ask.sagemath.org/question/58214/illegal-instruction-4/?comment=58216#post-id-58216Welcome to Ask Sage. Thank you for your question.Mon, 02 Aug 2021 15:46:03 +0200https://ask.sagemath.org/question/58214/illegal-instruction-4/?comment=58216#post-id-58216Comment by tmonteil for <p>I get the following error:</p>
<h2>(no backtrace available)</h2>
<p>Unhandled SIGILL: An illegal instruction occurred.
This probably occurred because a <em>compiled</em> module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.</p>
<p>.../SageMath/src/bin/sage-python: line 2: 56740 Illegal instruction: 4 sage -python "$@"</p>
<p>How to handle it?</p>
https://ask.sagemath.org/question/58214/illegal-instruction-4/?comment=58215#post-id-58215Could you please provide the whole code so that we can reproduce the issue ?Mon, 02 Aug 2021 15:38:17 +0200https://ask.sagemath.org/question/58214/illegal-instruction-4/?comment=58215#post-id-58215