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

XMRig 6.19.0 segmentation fault Apple M1 Ventura 13.2 #3209

Closed
giffeler opened this issue Feb 9, 2023 · 2 comments
Closed

XMRig 6.19.0 segmentation fault Apple M1 Ventura 13.2 #3209

giffeler opened this issue Feb 9, 2023 · 2 comments

Comments

@giffeler
Copy link

giffeler commented Feb 9, 2023

Describe the bug
Regardless of the selected compiler (Xcode or gcc in the current version), a segmentation fault occurs after starting the mining process. The error is reproducible on different machines (all Apple with M1 pro or M1 max CPU).

To Reproduce
git clone https://github.com/xmrig/xmrig.git
mkdir xmrig/build && cd xmrig/build
cmake .. -GXcode

Alternatively according to the instructions at https://xmrig.com/docs/miner/build/macos

Expected behavior
The program should not produce a segfault under Mac OS.

Required data
Here is an example of a program run with stress test:

Debug git:(master) ✗ ./xmrig --stress

  • ABOUT XMRig/6.19.0 clang/14.0.0
  • LIBS libuv/1.44.2 OpenSSL/3.0.8 hwloc/2.9.0
  • 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 14.7/16.0 GB (92%)
  • DONATE 1%
  • POOL 128tx exploit #1 stratum+ssl://randomx.xmrig.com:443 algo auto
  • COMMANDS hashrate, pause, resume, results, connection
  • OPENCL disabled
  • CUDA disabled
    [2023-02-09 16:52:43.140] net use pool randomx.xmrig.com:443 TLSv1.3 199.247.27.41
    [2023-02-09 16:52:43.140] net fingerprint (SHA-256): "xxx"
    [2023-02-09 16:52:43.140] net new job from randomx.xmrig.com:443 diff 1000K algo rx/0 height 2818204 (14 tx)
    [2023-02-09 16:52:43.140] cpu use argon2 implementation default
    [2023-02-09 16:52:43.140] randomx init dataset algo rx/0 (8 threads) seed 340ecc75cb98be9b...
    [2023-02-09 16:52:43.141] randomx allocated 2336 MB (2080+256) huge pages 0% 0/1168 +JIT (1 ms)
    [2023-02-09 16:52:43.677] net new job from randomx.xmrig.com:443 diff 1000K algo rx/0 height 2818204 (15 tx)
    [2023-02-09 16:52:49.414] randomx dataset ready (6273 ms)
    [2023-02-09 16:52:49.414] cpu use profile rx (8 threads) scratchpad 2048 KB
    [2023-02-09 16:52:49.415] cpu READY threads 8/8 (8) huge pages 0% 0/8 memory 16384 KB (1 ms)
    [1] 75701 segmentation fault ./xmrig --stress

Additional context
The necessary programs under Homebrew are maintained. There are no problems with other applications in this configuration.

@Spudz76
Copy link
Contributor

Spudz76 commented Feb 9, 2023

Duplicate #3183

@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

4 participants