macchky/cpuminer

Segmentation fault on Linux

cryptozeny opened this issue · 3 comments

Model: NanoPi Fire 3
OS: Ubuntu 16.04 Based Modified Version.
CPU: Samsung’s Cortex-A53 Octa Core S5P6818@1.4GHz SoC and 1GB 32bit DDR3 RAM

Device Info:
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_Fire3

This is my result and was very nice. (sorry but in korean)
https://medium.com/@cryptozeny/nanopi-fire3%EC%97%90%EC%84%9C-bitzeny-%EC%B1%84%EA%B5%B4%ED%95%98%EA%B8%B0-c71f9c16e5dd

I build it myself with your instruction. It worked well for a while, but after 2 days suddenly stopped with this message.

I did searching and found these, but not so helped yet.
JayDDee/cpuminer-opt#14
pooler#27

===============

$ ./minerd -a yescrypt -o stratum+tcp://pool-chan.me:19001 -u ID -p PW
.....
[2018-03-13 23:49:02] Stratum requested work restart
[2018-03-13 23:49:02] thread 0: 1556 hashes, 0.06 khash/s
[2018-03-13 23:49:02] thread 1: 695 hashes, 0.06 khash/s
[2018-03-13 23:49:02] thread 7: 1966 hashes, 0.06 khash/s
[2018-03-13 23:49:02] thread 4: 1583 hashes, 0.06 khash/s
[2018-03-13 23:49:02] thread 3: 3520 hashes, 0.06 khash/s
[2018-03-13 23:49:02] thread 6: 1591 hashes, 0.06 khash/s
[2018-03-13 23:49:02] thread 2: 1583 hashes, 0.06 khash/s
[2018-03-13 23:49:02] thread 5: 3498 hashes, 0.06 khash/s
[2018-03-13 23:49:25] thread 4: 1444 hashes, 0.06 khash/s
[2018-03-13 23:49:25] accepted: 5576/5581 (99.91%), 0.50 khash/s (yay!!!)
[2018-03-13 23:49:31] thread 1: 1840 hashes, 0.06 khash/s
[2018-03-13 23:49:32] accepted: 5577/5582 (99.91%), 0.50 khash/s (yay!!!)
[2018-03-13 23:49:38] thread 1: 449 hashes, 0.06 khash/s
[2018-03-13 23:49:38] accepted: 5578/5583 (99.91%), 0.50 khash/s (yay!!!)
[2018-03-13 23:50:02] thread 2: 3750 hashes, 0.06 khash/s
[2018-03-13 23:50:02] thread 5: 3761 hashes, 0.06 khash/s
[2018-03-13 23:50:02] thread 6: 3763 hashes, 0.06 khash/s
[2018-03-13 23:50:02] thread 0: 3685 hashes, 0.06 khash/s
[2018-03-13 23:50:02] thread 7: 3763 hashes, 0.06 khash/s
[2018-03-13 23:50:02] thread 3: 3753 hashes, 0.06 khash/s
[2018-03-13 23:50:11] thread 1: 2034 hashes, 0.06 khash/s
[2018-03-13 23:50:11] accepted: 5579/5584 (99.91%), 0.50 khash/s (yay!!!)
[2018-03-13 23:50:25] thread 4: 3762 hashes, 0.06 khash/s
Segmentation fault
pi@ai:~$

=============================

Any suggest?

What's your build option?

I just followed yours.

./autogen.sh # only needed if building from git repo
./nomacro.pl # in case the assembler doesn't support macros
./configure CFLAGS="-O3" # Make sure -O3 is an O and not a zero!
make

FYI at mining CPU temperature is 67 C (with cooling fan) It's good.