Page 1 of 1

[Rseding91] [0.16.35] Crash on single core system in graphics options

Posted: Sat Mar 24, 2018 11:10 pm
by Tirus
When running Factorio 0.16.X on a single core [Linux] system, it will crash when I try to open the graphics options.
Probably there is a small bug in the slider creation for the render thread count field.

Steps to reproduce:
1. Find a single core system. On Linux you can disable all but one cores during runtime via /sys/devices/system/cpu/cpuX/online. Just echo 0 > online for all but one core. Reenable with echo 1.
2. Start Factorio to main menu.
3. Go to Options -> Graphics -> Crash

The log says:
84.026 Error Util.cpp:49: Can't set min value to >= max value.

Re: [Rseding91] [0.16.35] Crash on single core system in graphics options

Posted: Sat Mar 24, 2018 11:32 pm
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.16.

Re: [Rseding91] [0.16.35] Crash on single core system in graphics options

Posted: Wed Mar 28, 2018 12:55 pm
by chris13524
Wow. What a nice bug report!

Re: [Rseding91] [0.16.35] Crash on single core system in graphics options

Posted: Wed Mar 28, 2018 2:35 pm
by Lorash
This is extremely interesting, could you tell in a nutshell what caused the problem?

Re: [Rseding91] [0.16.35] Crash on single core system in graphics options

Posted: Wed Mar 28, 2018 3:27 pm
by Rseding91
Lorash wrote:This is extremely interesting, could you tell in a nutshell what caused the problem?
https://www.reddit.com/r/factorio/comme ... 6/dwf1nen/