mimblewimble / cuckoo-miner

Mining wrapper around the Cuckoo Cycle proof of work system for the Grin/MimbleWimble blockchain.
Apache License 2.0
52 stars 16 forks source link

Crash in the cargo test #14

Open lu-zero opened 6 years ago

lu-zero commented 6 years ago

after issuing cargo test --features=build-cuda-plugins -- --nocapture

Thread 15 "on_cuda_commit_" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffeb5fd700 (LWP 1017)]
0x00007fffecd90dda in cuckoo_internal_process_hash (hash=0x7fffeb5fcdd8 "\265\026\365\006:\206o\246\300\262\311\275\265\306I\357F\\B \205\342\231\357<\v\334%\"x\230\225", hash_length=32,
    nonce=0x7fffeb5fcdd0 "\376Y\r\004\217^<d\265\026\365\006:\206o\246\300\262\311\275\265\306I\357F\\B \205\342\231\357<\v\334%\"x\230\225") at /usr/src/cuckoo-miner/src/cuckoo_sys/plugins/cuckoo/src/cuckoo_miner/cuda_miner_adds.h:305
305     DEVICE_INFO[device_id].is_busy=true;
(gdb) bt
#0  0x00007fffecd90dda in cuckoo_internal_process_hash (hash=0x7fffeb5fcdd8 "\265\026\365\006:\206o\246\300\262\311\275\265\306I\357F\\B \205\342\231\357<\v\334%\"x\230\225", hash_length=32,
    nonce=0x7fffeb5fcdd0 "\376Y\r\004\217^<d\265\026\365\006:\206o\246\300\262\311\275\265\306I\357F\\B \205\342\231\357<\v\334%\"x\230\225") at /usr/src/cuckoo-miner/src/cuckoo_sys/plugins/cuckoo/src/cuckoo_miner/cuda_miner_adds.h:305
#1  0x00007fffecd8fd72 in cuckoo_process (args=0x0) at /usr/src/cuckoo-miner/src/cuckoo_sys/plugins/cuckoo/src/cuckoo_miner/cuckoo_miner.h:264