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

SIGFPE when mining Quark on Linux #23

Open
png85 opened this issue Aug 27, 2014 · 0 comments
Open

SIGFPE when mining Quark on Linux #23

png85 opened this issue Aug 27, 2014 · 0 comments

Comments

@png85
Copy link

png85 commented Aug 27, 2014

Hi there,
I compiled ccminer from git on Gentoo Linux/x86_64 and tried to mine Quark with it but got a floating point exception error:

GNU gdb (Gentoo 7.6.2 p1) 7.6.2
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /home/png/devel/src/ccminer/ccminer...done.
[New LWP 4270]
[New LWP 4271]
[New LWP 4268]
[New LWP 4259]
[New LWP 4269]

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `./ccminer -a quark -o stratum+tcp://p2pool.org:8372/ -u <removed>'.
Program terminated with signal 8, Arithmetic exception.
#0  0x0000000000482b64 in quark_compactTest_cpu_singleCompaction (thr_id=<optimized out>, threads=<optimized out>, nrm=0x200d00200, d_nonces1=0x505cc0000, function=0x0, 
    startNounce=0, inpHashes=0x500ec0000, d_validNonceTable=0x5064c0000) at quark/cuda_quark_compactionTest.cu:253
253             int thr3 = (nSummen + blockSize2-1) / blockSize2;
(gdb) bt
#0  0x0000000000482b64 in quark_compactTest_cpu_singleCompaction (thr_id=<optimized out>, threads=<optimized out>, nrm=0x200d00200, d_nonces1=0x505cc0000, function=0x0, 
    startNounce=0, inpHashes=0x500ec0000, d_validNonceTable=0x5064c0000) at quark/cuda_quark_compactionTest.cu:253
#1  0x0000000000482d89 in quark_compactTest_cpu_dualCompaction (thr_id=0, threads=-1462528201, nrm=0x200d00200, d_nonces1=<optimized out>, d_nonces2=0x5060c0000, startNounce=0, 
    inpHashes=0x500ec0000, d_validNonceTable=0x5064c0000) at quark/cuda_quark_compactionTest.cu:300
#2  0x0000000000482e0c in quark_compactTest_cpu_hash_64 (thr_id=thr_id@entry=0, threads=<optimized out>, startNounce=<optimized out>, inpHashes=<optimized out>, 
    d_validNonceTable=<optimized out>, d_nonces1=<optimized out>, nrm1=nrm1@entry=0x7f178b330b58, d_nonces2=0x5060c0000, nrm2=nrm2@entry=0x7f178b330b60, order=order@entry=6)
    at quark/cuda_quark_compactionTest.cu:343
#3  0x0000000000481596 in scanhash_quark (thr_id=thr_id@entry=0, pdata=pdata@entry=0x7f178b330d10, ptarget=0x7f178b330d90, max_nonce=max_nonce@entry=1048575, 
    hashes_done=hashes_done@entry=0x7f178b330c58) at quark/quarkcoin.cu:220
#4  0x0000000000441718 in miner_thread (userdata=0x16bc940) at cpu-miner.c:903
#5  0x00007f178e9141da in start_thread () from /lib64/libpthread.so.0
#6  0x00007f178dcdebed in clone () from /lib64/libc.so.6
(gdb) p blockSize2 
$1 = 0
(gdb) 

The binary was built using default CFLAGS etc. from the configure script after executing autogen.sh.
GPU in the test system is a GTX 550 Ti which is quite old so i'm not sure if it might be caused by that.

NVIDIA driver version is 343.13.

NVCC and GCC versions are:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2013 NVIDIA Corporation
Built on Wed_Jul_17_18:36:13_PDT_2013
Cuda compilation tools, release 5.5, V5.5.0
gcc (Gentoo 4.7.3-r1 p1.3, pie-0.5.5) 4.7.3

If needed i can upload a core file for further investigation of the issue.

roche-emmanuel pushed a commit to roche-emmanuel/ccminer that referenced this issue Jan 20, 2017
Quick Readme update for Lyra2v2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant