KlausT / ccminer-cryptonight

Software for mining various cryptocoins, like Monero (pool mining only)
GNU General Public License v3.0
133 stars 30 forks source link

segmentation fault (core dumped) ... compiled fine though #52

Open aleqx opened 6 years ago

aleqx commented 6 years ago

CUDA 8.0 installed. Nvidia 384.90 drivers installed (from Nvidia, not the ubuntu ppa). Other mining code works just fine (ethminer, ewbf, etc).

ccminer 8.13 sources. Compiled using ./build.sh on a Ubuntu 16.04.2 x64. It compiled fine, no errors (just a few warning along the way).

Full compile log here: https://pastebin.com/wPqTa4TF

Hardware is a Pentium G4600 (2+2 threads), H110 motherboard (Asrock H110 Pro BTC+), and 13x GTX1070.

ccminer crashes with a segmentation fault every time:

# ./ccminer --help
ccminer 8.13-KlausT (64bit) for nVidia GPUs
Compiled with GCC 5.4 using Nvidia CUDA Toolkit 8.0

Based on pooler cpuminer 2.3.2 and the tpruvot@github fork
CUDA support by Christian Buchner, Christian H. and DJM34
Includes optimizations implemented by sp-hash, klaust, tpruvot and tsiv.

Segmentation fault (core dumped)

Any clues?

KlausT commented 6 years ago

ccminer --help is crashing? That's wierd. In this case ccminer is only checking the driver and the number of cards. That's it. By the way, if you want to use 13 cards, you have to change the MAX_GPU value in miner.h. Currently it's set to 8.