Open kambala-decapitator opened 3 years ago
What kind of hardware are you running on (IE, Mac model, etc)?
What kind of hardware are you running on (IE, Mac model, etc)?
well, the crashlog has all the info you need :)
MacBookPro6,2 (mbp 2010 15''), macOS 10.14.6 (installed via DosDude's patcher)
Thanks, I missed that in the dump :-).
I think this is the same issue that is causing crashes on M1 macs, crazily. The M1 problem happens when MacOS for some reason decides to run emacs under Rosetta instead of natively. It also gets an illegal instruction. One thing that Rosetta doesn't handle is AVX2 instructions. Your 2010 laptop has an old Intel processor that also doesn't handle AVX2 instructions. I haven't definitively seen AVX2 instructions in the backtraces yet, but I strongly suspect that is the answer.
Unfortunately I haven't had a chance yet to dig down deep and figure out what code exactly is generating AVX instructions and not checking for them properly during runtime. I suspect it's one of the Emacs dependencies that gets compiled (like gnutls or gmp) but I don't know for sure.
For reference, I faced a similar problem in the past trying to use Emacs on older machines, in my case a 2008 iMac patched to have Mojave/Catalina. AVX instructions were indeed the problem, since pre-2011 Intel CPUs don't support it.
In my case the launcher script would see that Mac OS 10.14/10.15 was installed, it would try to launch the Emacs-x86_64-10_14
binary and would crash with an "illegal instruction 4" error.
I found out a dirty hack that worked for me: by removing from the app bundle the x86_64-10_14 binaries (Contents/MacOS/Emacs-x86_64-10_14
, bin-x86_64-10_14/
, lib-x86_64-10_14/
, libexec-x86_64-10_14/
) the 10_11 binaries would launch instead and work fine.
I tried to install Spacemacs and followed its instructions:
Full install output:
Not able to launch emacs either via
emacs
in terminal or by openingEmacs.app
: receive the following crashThe only way that works is
/Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_11
Did I do anything wrong? How to fix it?
P.S. I have SIP disabled.