I have a ryzen 1600
The Problem is when I set -t 7 than the exe crashes. I use the hodlminer AVX2. When I run -t 8 550 hash/s. With -t 7 600 hash/s and better power consumption
Hi Easy fix for you.
Run the program with out any -t command in the bat. Then go to task manager. Click Prosses tab. Then RIGHT click the hodlminer and click go to details. Right click again and click set affinity. Then you can select the CPU threads you wish to use

Hope this helps.
Raster.
EDIT:I know this works for miners crashing on -t commands because my own miner has a mardy if I set -t 20 it will crash. But I can do it with the task man set affinity and there is no crashing from the app.