fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.79k forks source link

AMD OSX 10.11.6 issues Trace/BPT trap: 5 #1438

Open scottwils opened 6 years ago

scottwils commented 6 years ago

Please provide as much as possible information to reproduce the issue.

Basic information

-I get an trap error when running this.

bash-3.2$ ./xmr-stak

xmr-stak 2.4.2 e10e8e6

Brought to you by fireice_uk and psychocrypt under GPLv3. Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk). Based on OpenCL mining code by wolf9466.

Configurable dev donation level is set to 2.0%

You can use following keys to display reports: 'h' - hashrate 'r' - results 'c' - connection

[2018-04-16 14:14:55] : Mining coin: monero7 [2018-04-16 14:14:55] : Compiling code and initializing GPUs. This will take a while... [2018-04-16 14:14:55] : WARNING: using non AMD device: Apple [2018-04-16 14:14:55] : Device 0 work size 8 / 32. [2018-04-16 14:14:55] : OpenCL device 0 - Precompiled code /Users/t1admin/.openclcache/494bff8065cf9dffd42c862e8dbc3d015f03695fb5dbbbc858411ea566a39fa1.openclbin not found. Compiling ... Trace/BPT trap: 5 bash-3.2$

Compile issues

Issue with the execution

AMD OpenCl issue

  run `clinfo` and add the output here

bash-3.2$ clinfo
bash: clinfo: command not found
bash-3.2$

Stability issue

psychocrypt commented 6 years ago

Please see https://github.com/fireice-uk/xmr-stak/issues/1312#issuecomment-381317337

scottwils commented 6 years ago

Issue seems unresolved on 10.11.6 operating system reported in both tickets.

psychocrypt commented 6 years ago

The problem is that I have no system to reproduce the issue. This issue can only be fixed by a community member with a MAC with AMD gpu. If someone can give me ssh access I can debug the issue.

scottwils commented 6 years ago

I can give you access to a system.

scottwils commented 6 years ago

@psychocrypt I can give you access to a system.

psychocrypt commented 6 years ago

could you please contact me on reddit (user psychocrypt) I will forward you my ssh key.

psychocrypt commented 6 years ago

@scottwils thx for the access to a OSX system

@XcodeDefault confirm here that the bug goes away after an update to the lastes OSX. It looks like there are some libraries missing.

Never the less I will provide a small fix that users with this issue can use --noAMDCache to disable the caching an therefore avoid this bug even if OSX is not updated.

psychocrypt commented 6 years ago

PR #1486 is open to allow --noAMDCache to fix this issue even if OSX is not updated