Commit d0cb93de causes a segmentation fault.
Description of Bug
OpenRGB cannot open due to a segmentation fault. I have bisected it using git bisect to commit d0cb93de ("Adding Logitech G903 V2 to the Logitech common controller to resolve #1946 (closed)"). I have tested this in 6 different fresh git clones. With commit: segfault, after reverting, runs as intended. This may have passed verification because I have a Logitech mouse that I control the lighting of through OpenRGB. It may not have broken for people without Logitech devices, but it's definitely broken here.
It fails basically immediately:
./openrgb
Attempting to connect to local OpenRGB server.
Connection attempt failed
Local OpenRGB server unavailable.
Running standalone.
[OpenRGBEffectsPlugin] version 0.1 (1a72ceecf46377b43132dad85006ebe9212d6798), build date 2021-11-19 08:47:16 +0100
[OpenRGBEffectsPlugin] 50 effects registered
NZXT Hue 2 Devices: 00, 00, 00, 00, 00, 00,
NZXT Hue 2 Devices: 10, 00, 00, 00, 00, 00,
NZXT Hue 2 Devices: 11, 00, 00, 00, 00, 00,
NZXT Hue 2 Devices: 00, 00, 00, 00, 00, 00,
[1] 42654 segmentation fault (core dumped) ./openrgb
Hardware Configuration
4x ENE RAM modules (G.Skill Trident Z RGB)
NZXT Kraken X63
ASRock X570 Taichi Motherboard
Logitech G502 Hero
I just unplugged my mouse, and OpenRGB launches. This explains why it wasn't caught, assuming y'all may not have Logitech mice to test with. But yeah, it definitely is broken.