Skip to content
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

zsh: segmentation fault macOS apple M1 silicon run CPU miner #3330

Closed
CassandraBala opened this issue Sep 12, 2023 · 2 comments
Closed

zsh: segmentation fault macOS apple M1 silicon run CPU miner #3330

CassandraBala opened this issue Sep 12, 2023 · 2 comments

Comments

@CassandraBala
Copy link

CassandraBala commented Sep 12, 2023

zsh: segmentation fault sudo ./xmrig -o stratum+ssl://rx.unmineable.com:443 -a rx -k -u -p x

Describe the bug
A clear and concise description of what the bug is.
ABOUT XMRig/6.20.0 clang/14.0.3
LIBS libuv/1.46.0 OpenSSL/3.1.2 hwloc/2.9.2
HUGE PAGES unavailable
1GB PAGES unavailable
CPU Apple M1 (1) 64-bit AES
L2:16.0 MB L3:0.0 MB 8C/8T NUMA:1
MEMORY 8/16.0 GB (50%)
DONATE 1%
POOL #1 stratum+ssl://rx.unmineable.com:443 algo rx/0
COMMANDS hashrate, pause, resume, results, connection
OPENCL disabled
CUDA disabled
[2023-09-12 10:39:48.128] net use pool rx.unmineable.com:443 TLSv1.3 165.227.182.82
[2023-09-12 10:39:48.129] net fingerprint (SHA-256): "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
[2023-09-12 10:39:48.129] net new job from rx.unmineable.com:443 diff 100001 algo rx/0 height 2972661 (57 tx)
[2023-09-12 10:39:48.129] cpu use argon2 implementation default
[2023-09-12 10:39:48.130] randomx init dataset algo rx/0 (8 threads) seed 28ce4902cef60d2a...
[2023-09-12 10:39:48.130] randomx allocated 2336 MB (2080+256) huge pages 0% 0/1168 +JIT (0 ms)
[2023-09-12 10:39:56.230] randomx dataset ready (8100 ms)
[2023-09-12 10:39:56.231] cpu use profile rx (8 threads) scratchpad 2048 KB
zsh: segmentation fault sudo ./xmrig -o stratum+ssl://rx.unmineable.com:443 -a rx -k -u -p x

To Reproduce
Steps to reproduce the behavior.

run from terminal window in macOS:

sudo ./xmrig -o stratum+ssl://rx.unmineable.com:443 -a rx -k -u BTC:xxxxxxxxxxxxxxxxxxxxxx -p x

Expected behavior
A clear and concise description of what you expected to happen.
It supposed to run but its throwing an error "[
](zsh: segmentation fault sudo ./xmrig -o stratum+ssl://rx.unmineable.com:443 -a rx -k -u -p x)

Required data

  • Miner log as text or screenshot - attached above
  • Config file or command line (without wallets) -none
  • OS: MacOS ventura 13.5.2 (22G91) version,
  • For GPU related issues: information about GPUs and driver version - N/A

Apple Silicon M1 CPU, MacOS ventura 13.5.2 (22G91) version, still having zsh: segmentation fault!. xmrig 6.20.0 version
what is/are the fix for this ? anyone help on thisAdditional context
Add any other context about the problem here.

@CassandraBala CassandraBala changed the title zsh: segmentation fault desktop run CPU miner zsh: segmentation fault macOS apple M1 silicon run CPU miner Sep 12, 2023
@SChernykh
Copy link
Contributor

It's a known issue with Apple silicon CPUs and newer SDKs: monero-project/monero#8657 (comment)
You have to use older SDK to compile anything that has RandomX mining code.

@SChernykh
Copy link
Contributor

Fixed in #3346

@xmrig xmrig added this to the v6 milestone Oct 20, 2023
@xmrig xmrig closed this as completed Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants