nq-miner
nq-miner copied to clipboard
Segmentation fault after recompile
I'm getting segmentation fault after recompiling:
CUDA_PATH=/usr/local/cuda yarn install CUDA_PATH=/usr/local/cuda yarn build mv build/Release/*.node .
everything looks fine at first glance:
ldd ./nimiq_miner_cuda.node
linux-vdso.so.1 (0x00007ffc255e5000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4bdf880000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4bdf865000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4bdf842000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4bdf650000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4bdfbbb000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4bdf501000)
But executing "start_gpu.sh" with renamed binary in the script always results in
Segmentation fault
And same with:
$> ./nimiq_miner_cuda.node --version
Segmentation fault
Compiled with: cuda 10.2 node 10.19.0
By the way... same issue with binary release provided as download https://github.com/tomkha/nq-miner/releases/tag/0.99.7
./nimiq_node.node --version
Segmentation fault
Where does the 'nimiq_node.node' come from? Its missing in build from source.
nimiq_node.node comes from Nimiq's core library. It resides in node_modules/@nimiq/core/build/Release Have you installed all npm dependencies? Check if there are any errors in the log.