ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.96k stars 2.28k forks source link

Segfault after connecting via RPC #1933

Open hb9eue opened 4 years ago

hb9eue commented 4 years ago

Hi Gang

I'm pretty unexperienced in ETH mining, so please excuse if I do something wrong.

I have one computer with go/geth running:

$ geth --nat none --mine --rpc --rpcaddr [local IP] --rpcvhosts *

On a second one with a NVIDIA 1070 card, I would like to run ethminer to commit mining work to geth. When I connect to a stratum pool, ethminer works. But when I connect via HTTP RPC, it keeps segfaulting. Anyone a hint on what I am doing wrongly?

+-----------------------------------------------------------------------------+ | NVIDIA-SMI 418.74 Driver Version: 418.74 CUDA Version: 10.1 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 1070 On | 00000000:01:00.0 On | N/A | | 28% 35C P8 10W / 151W | 34MiB / 8117MiB | 0% Default | +-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 1062 G /usr/lib/xorg/Xorg 31MiB | +-----------------------------------------------------------------------------+

bin/ethminer -P getwork://[ip of host running geht]:8545 --HWMON 1

ethminer 0.18.0 Build: linux/release/gnu

No OpenCL platforms found i 14:59:08 ethminer Configured pool [ip of host running geth]:8545 i 14:59:08 ethminer Selected pool [dito]:8545 i 14:59:08 ethminer Established connection to [dito]:8545 i 14:59:08 ethminer Spinning up miners... cu 14:59:08 cuda-0 Using Pci Id : 01:00.0 GeForce GTX 1070 (Compute 6.1) Memory : 7.93 GB SIGSEGV encountered ... stack trace: backtrace() returned 18 addresses bin/ethminer() [0x422af9] /lib/x86_64-linux-gnu/libc.so.6(+0x37840) [0x7f7ba9b88840] bin/ethminer() [0x4b06b3] bin/ethminer() [0x4b081f] bin/ethminer() [0x47979a] bin/ethminer() [0x479ca5] bin/ethminer() [0x4a717b] bin/ethminer() [0x4aaa41] bin/ethminer() [0x4a82fe] bin/ethminer() [0x4a9b24] bin/ethminer() [0x4a9e54] bin/ethminer() [0x4ab77d] bin/ethminer() [0x4ab9b6] bin/ethminer() [0x482f6e] bin/ethminer() [0x42a2d0] bin/ethminer() [0x773aaf] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3) [0x7f7ba9eb6fa3] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f7ba9c4a4cf]

Any help appriciated.

-Benoit-

mharsch commented 4 years ago

reproduced on 0.18.0 and 0.19.x 0.17.1 works.