Darktable Windows 2.6.0rc1 fails to start with error 0xc0000142
The problem has appeared in some machines (Windows 10, 64bit) but not in others. When running darktable the "shell" window will appear and then a pop-up window with the error information. It happens when run from the GUI or directly from the command windows. It happens also with darktable-cli.exe executable. In the last case, the error pops-up even before the "help" string of the command is printed.
The program does not modify anything (db for example) since one can go ahead and reinstall 2.4.4 without problems.
This is consistent with the little information available on the web, which ties this error to installation problems.
I have two computers, a laptop with an Intel graphics chipset and Windows 10, English language, and the installation worked well. The other is the main desktop, Spanish language, and NVIDIA graphics chipset. The bug shows up in this system. The problem is hard to reproduce.
Things we have tried:
1. Copied the installation directly from the "working" machine to the machine with the problem (Dave's suggestion). Did not work.
2. Used "Dependency Walker" in the machine with the problem and compared to same from a working installation (thanks Jan). No difference was detected, so no missing DLLs or packages.
3. The problem showed up in a machine with Spanish Language and one with a German installation (Blandyna's). I changed the main language to English (both for the user and for non-unicode applications), reinstalled. Still the same problem.
I inspected the registry from my "good" machine and compared it to the "bad" machine. There were some differences but they seemed, to my untrained eye, related to the different usages histories of the computers. Nothing jumped at me as weird, but then again I know very little about windows in general.
Note: in the Affected Version selector, version 2.6.0rc1 is not an option.
#3 Updated by Christian Kanzian about 1 year ago
There is a discussion on this here:
Looks like it is a compiler option which generates code with AVX2 instructions. Some CPUs do not support this. New builds on the way, which might solve this.