Crash on startup, detecting devices
I'm unable to start any versions of OpenRGB (including the latest nightly), it always crashes and leaves this in the application logs:
Faulting module name: OpenRGB.exe, version: 0.4.0.0, time stamp: 0x5f5872ee
Exception code: 0xc0000005
Fault offset: 0x0000000000092d3e
Faulting process ID: 0x3d00
Faulting application start time: 0x01d6c0e39e4c1198
Faulting application path: C:\Users\lewis\Downloads\OpenRGB Windows 64-bit\OpenRGB.exe
Faulting module path: C:\Users\lewis\Downloads\OpenRGB Windows 64-bit\OpenRGB.exe
Report ID: e9360b11-b4ca-4918-901e-417c4ecf0f49
Faulting package full name:
Faulting package-relative application ID:
I have run as administrator, installed the c++ runtime and disabled the services and processes for iCue and CAM.
Update:
Traced the issue to i2c_smbus_i801.cpp
if (std::regex_search(q_res_PNPAllocatedResource[0]["Antecedent"], matches, rgx2))
and found it is producing an error vector subscript out of range, I think it's because q_res_PNPAllocatedResource has no items when the device name is Intel(R) C610 series/X99 chipset SMBus Controller - 8D22.
Changing to if (!q_res_PNPAllocatedResource.empty() && std::regex_search(q_res_PNPAllocatedResource[0]["Antecedent"], matches, rgx2))
will run but only detects corsair lighting node, not ram or nzxt kraken.