Creepsky / creepMiner

Burstcoin C++ CPU and GPU Miner
GNU General Public License v3.0
171 stars 64 forks source link

Segfault with AUTO on CPU Instructions (1.8.1) #401

Open Baxxster opened 6 years ago

Baxxster commented 6 years ago

Subject of the issue

Segfault with AUTO on CPU Instructions (1.8.1)

Your environment

Version: 1.8.1 (release, tar.gz source) OS: Debian 9.2 ( 4.9.0-4-amd64)

Steps to reproduce

Compiled creepminer, pasted in my plots, pool info and deadline, started the miner with AUTO on CPU instructions.

Expected behavior

Miner should start without errors

Actual behavior

When "cpuInstructionSet" is set to AUTO it segfaults, it's fixed (for me) by changing it to SSE2. My CPU supports the following: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid amd_dcm aperfmperf eagerfpu pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core perfctr_nb cpb hw_pstate vmmcall arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold

The Auto detection fails on this CPU for some reason. (AMD Opteron 6282 SE)

Creepsky commented 6 years ago

Hi, what cpu instruction set is it auto choosing for you? You can see it either in the log file or terminal (one of the first lines in code, when it is listing all the settings). You say, that SSE2 is fixing it for you, however your cpu also can do SSE4.. did you try that also?

Baxxster commented 6 years ago

Auto is choosing AVX

I tried SSE4 now and it also segfaults with that

Skippydog commented 6 years ago

I am seeing the same thing. Running Latest ryzen processor on latest lts ubuntu.

Skippydog commented 6 years ago

Ignor my error. I had POC1 and POC2 plots in the same plot file directory causing the error.