-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGSEGV on MacBook M1 #8657
Comments
There's an issue with the latest macOS version that we didn't figure out yet. Workaround is to use an older SDK diff --git a/Makefile b/Makefile
index a07ac77a1..10e3cde27 100644
--- a/Makefile
+++ b/Makefile
@@ -100,7 +100,7 @@ release-test:
release-all:
mkdir -p $(builddir)/release
- cd $(builddir)/release && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Release $(topdir) && $(MAKE)
+ cd $(builddir)/release && cmake -D CMAKE_OSX_SYSROOT=~/dev/MacOSX12.3.sdk/ -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Release $(topdir) && $(MAKE)
release-static:
mkdir -p $(builddir)/release You can download the older SDK from here: https://github.com/phracker/MacOSX-SDKs/releases/tag/11.3 Alternatively you can disable RandomX JIT with: |
Just throwing in some keywords to help anyone else searching (and missing) with segfault or segmentation fault. Thanks for your help in the chat @selsta |
We found the issue, a fix will be included in the next release: tevador/RandomX#281 |
I can confirm that the the latest git rev works on my Macbook Air M1, whereas the latest release (0.18.3.1) was consistently crashing with a segmentation fault. |
Crashes around the same block and on restart:
The text was updated successfully, but these errors were encountered: