ccminer-cryptonight icon indicating copy to clipboard operation
ccminer-cryptonight copied to clipboard

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

Open aleqx opened this issue 7 years ago • 1 comments

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?

aleqx avatar Oct 16 '17 17:10 aleqx

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.

KlausT avatar Oct 19 '17 16:10 KlausT