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

Arduino miner, 3.9, segmentation fault #1717

Open
PSLLSP opened this issue Dec 21, 2023 · 1 comment
Open

Arduino miner, 3.9, segmentation fault #1717

PSLLSP opened this issue Dec 21, 2023 · 1 comment
Labels
insufficient info Further information is requested

Comments

@PSLLSP
Copy link

PSLLSP commented Dec 21, 2023

Duinocoin miner, ruining at RPI-PICO, crashed, with segmentation fault. I am not sure when it happen, few days ago, I just found it today.

18:42:15  avr0  ⛏ Accepted 53078/53078 (100%) ∙ 05.0s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 17ms
18:42:21  avr0  ⛏ Accepted 53079/53079 (100%) ∙ 06.0s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 17ms
18:42:21  sys0  Periodic mining report: 
                ‖ During the last 63 seconds
                ‖ You've mined 21 shares (0.3 shares/s)
                ‖ Blocks found: 0
                ‖ With the hashrate of 20925 H/s
                ‖ In this time period, you've solved 1318337 hashes
                ‖ Total miner uptime: 178.0 hours
18:42:26  avr0  ⛏ Accepted 53080/53080 (100%) ∙ 05.1s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 17ms
18:42:31  avr0  ⛏ Accepted 53081/53081 (100%) ∙ 04.7s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 16ms
18:42:32  avr0  ⛏ Accepted 53082/53082 (100%) ∙ 01.2s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 16ms
18:42:36  avr0  ⛏ Accepted 53083/53083 (100%) ∙ 03.8s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 16ms
18:42:38  avr0  ⛏ Accepted 53084/53084 (100%) ∙ 02.5s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 15ms
18:42:43  avr0  ⛏ Accepted 53085/53085 (100%) ∙ 04.6s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 16ms
18:42:44  avr0  ⛏ Accepted 53086/53086 (100%) ∙ 01.1s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 16ms
18:42:48  avr0  ⛏ Accepted 53087/53087 (100%) ∙ 03.6s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 15ms
18:42:51  avr0  ⛏ Accepted 53088/53088 (100%) ∙ 03.4s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 15ms
18:42:53  avr0  ⛏ Accepted 53089/53089 (100%) ∙ 02.2s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 15ms
18:42:58  avr0  ⛏ Accepted 53090/53090 (100%) ∙ 04.6s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 15ms
18:43:01  avr0  ⛏ Accepted 53091/53091 (100%) ∙ 03.2s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 16ms
18:43:05  avr0  ⛏ Accepted 53092/53092 (100%) ∙ 03.4s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 16ms
18:43:10  avr0  ⛏ Accepted 53093/53093 (100%) ∙ 04.8s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 16ms
Segmentation fault

I tried to start it but it cannot get pool server:

18:43:10  avr0  ⛏ Accepted 53093/53093 (100%) ∙ 04.8s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 16ms
Segmentation fault

miner@neo:~/duino-coin$ sh miner-AVR.sh 

 ‖ Official Duino-Coin © AVR Miner 3.9 2019-2023
 ‖ https://github.com/revoxhere/duino-coin
 ‖ AVR board(s) on port(s): /dev/ttyACM0
 ‖ Developer donation level: 0
 ‖ Algorithm: DUCO-S1A ⚙ AVR diff
16:12:59  net0  Searching for the fastest node to connect to
16:12:59  net0  Fatal error fetching server from the node picker - retrying in 15s (HTTPSConnectionPool(host='server.duinocoin.com', port=443): Max retries exceeded with url: /getPool (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:992)'))))
16:13:11  sys0  SIGINT detected - Exiting gracefully. See you soon!

miner@neo:~/duino-coin$ curl https://server.duinocoin.com/getPool
{"client":"213.29.28.253","ip":"194.59.183.28","name":"europe-node-2","port":4273,"region":"EU","server":"svko","success":true}

neo is small computer from FriendlyARM, it has CPU Allwinner H3:

miner@neo:~/duino-coin$ uname -a
Linux neo 6.1.53-current-sunxi #3 SMP Wed Sep 13 07:43:05 UTC 2023 armv7l GNU/Linux

A minute later, it can mine again:

miner@neo:~/duino-coin$ cat miner-AVR.sh 
#!/bin/sh

[ -f bin/activate ] && . bin/activate
python3 AVR_Miner_3.9.py "$@"

miner@neo$ sh miner-AVR.sh 

 ‖ Official Duino-Coin © AVR Miner 3.9 2019-2023
 ‖ https://github.com/revoxhere/duino-coin
 ‖ AVR board(s) on port(s): /dev/ttyACM0
 ‖ Developer donation level: 0
 ‖ Algorithm: DUCO-S1A ⚙ AVR diff
16:17:05  net0  Searching for the fastest node to connect to
16:17:05  net0  Retrieved mining node: europe-node-2
16:17:07  net0  Connected to master Duino-Coin server (v3.0)
16:17:07  net0  Server message of the day: Welcome to europe node hosted by revox (inst. 2) | NEW: Exchange various cryptocoins fast on fluffyswap.com
16:17:07  sys0  AVR mining thread is starting using DUCO-S1A algorithm (/dev/ttyACM0)
16:17:07  sys0  Hashrate test ended with 20 kH/s, assigned starting difficulty: ESP32
16:17:09  avr0  ⛏ Accepted 1/1 (100%) ∙ 02.0s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 15ms
16:17:12  avr0  ⛏ Accepted 2/2 (100%) ∙ 03.0s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 15ms
16:17:15  avr0  ⛏ Accepted 3/3 (100%) ∙ 02.0s ∙ 21 kH/s ⚙ diff 1 k ∙ ping 15ms
@revoxhere
Copy link
Owner

Is it possible the SBC ran out of memory? It's possible there is a memory leak somewhere. More testing needed.

@revoxhere revoxhere added the insufficient info Further information is requested label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
insufficient info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants