creepMiner icon indicating copy to clipboard operation
creepMiner copied to clipboard

Segfault with AUTO on CPU Instructions (1.8.1)

Open Baxxster opened this issue 6 years ago • 6 comments

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)

Baxxster avatar Jun 09 '18 01:06 Baxxster

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?

Creepsky avatar Jun 10 '18 19:06 Creepsky

Auto is choosing AVX

I tried SSE4 now and it also segfaults with that

Baxxster avatar Jun 10 '18 22:06 Baxxster

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

Skippydog avatar Jun 12 '18 14:06 Skippydog

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

Skippydog avatar Jun 12 '18 14:06 Skippydog