Skip to content

[Bug Report] Gigabyte X570 Aorus Master resizable zones crashes OpenRGB on next launch

Description of Bug

Hi, I'm having an issue with the resizable zones on my GigaByte X570 Aorus Master. If I set the zones for D_LED1 Bottom or D_LED2 Top to anything other than 0 then the next time I open OpenRGB it dumps core and crashes. So, on the first time the resizable zone configuration is done OpenRGB works well and I can change the rgb and everything of the component. But for subsequent launches of OpenRGB it just crashes on startup.

Screenshot_20220630_205456

Removing ~/.config/OpenRGB/sizes.ors makes the Resizable zone popup come back and I can set the zones and use the program normally.

Attempting to connect to local OpenRGB server.
Connection attempt failed
Local OpenRGB server unavailable.
Running standalone.
Current Language changed to English
/usr/include/c++/12.1.0/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = matrix_pos_size_type; _Alloc = std::allocator<matrix_pos_size_type>; reference = matrix_pos_size_type&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
[1]    49387 IOT instruction (core dumped)  openrgb --loglevel 6

gdb debugging

#0  0x00007ffff678236c in ?? () from /usr/lib/libc.so.6
#1  0x00007ffff6732838 in raise () from /usr/lib/libc.so.6
#2  0x00007ffff671c535 in abort () from /usr/lib/libc.so.6
#3  0x00007ffff6ad9002 in std::__glibcxx_assert_fail (file=file@entry=0x55555587b4d8 "/usr/include/c++/12.1.0/bits/stl_vector.h", line=line@entry=1123, 
    function=function@entry=0x55555588a170 "std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = matrix_pos_size_type; _Alloc = std::allocator<matrix_pos_size_type>; reference = matrix_pos_size_type&; "..., condition=condition@entry=0x55555587b17e "__n < this->size()")
    at /usr/src/debug/gcc/libstdc++-v3/src/c++11/debug.cc:60
#4  0x00005555556d25a0 in std::vector<matrix_pos_size_type, std::allocator<matrix_pos_size_type> >::operator[] (this=<optimized out>, __n=<optimized out>)
    at /usr/include/c++/12.1.0/bits/stl_vector.h:1121
#5  std::vector<matrix_pos_size_type, std::allocator<matrix_pos_size_type> >::operator[] (__n=<optimized out>, this=<optimized out>)
    at /usr/include/c++/12.1.0/bits/stl_vector.h:1121
#6  DeviceView::setController (this=<optimized out>, controller_ptr=<optimized out>) at qt/DeviceView.cpp:200
#7  0x00005555556e4c07 in Ui::OpenRGBDevicePage::OpenRGBDevicePage (parent=0x0, dev=<optimized out>, this=<optimized out>) at qt/OpenRGBDevicePage.cpp:86
#8  Ui::OpenRGBDialog2::UpdateDevicesList (this=0x7fffffffd7d0) at qt/OpenRGBDialog2.cpp:1183
#9  0x00007ffff6eee440 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#10 0x00007ffff7942b3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff6ecaad8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#12 0x00007ffff6ecb5e3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#13 0x00007ffff6f11548 in ?? () from /usr/lib/libQt5Core.so.5
#14 0x00007ffff5c91c6b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0x00007ffff5ce8001 in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x00007ffff5c8f392 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#17 0x00007ffff6f1532c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#18 0x00007ffff6ec327c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#19 0x00007ffff6ecdda9 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#20 0x00005555555ef7d1 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/OpenRGB/main.cpp:408

Attached Log

OpenRGB_20220630_205638.log

Operating System

OS - Linux

  • Arch Linux
  • AUR openrgb-git r2471.bbc6c3b8-1

Hardware Configuration

  • Arch Linux
  • Gigabyte X570 Aorus Master