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

Segfault with AUTO on CPU Instructions (1.8.1) #401

Open
Baxxster opened this issue Jun 9, 2018 · 6 comments
Open

Segfault with AUTO on CPU Instructions (1.8.1) #401

Baxxster opened this issue Jun 9, 2018 · 6 comments

Comments

@Baxxster
Copy link

Baxxster commented Jun 9, 2018

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
Copy link
Owner

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
Copy link
Author

Auto is choosing AVX

I tried SSE4 now and it also segfaults with that

@Skippydog
Copy link

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

@Skippydog
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@Skippydog @Baxxster @Creepsky and others