MangoHud
MangoHud copied to clipboard
Changing font size has a chance to crash
Describe the bug Changing font size in mangohud config when an application with hud enabled has a chance to crash said application
List relevant hardware/software information
- Linux Distribution: Arch
- MangoHud version: v0.8.0-rc2-2-g68fd1b0
- GPU: AMD Radeon RX 580
To Reproduce Steps to reproduce the behavior:
- Comment out option font_size=30.
- Uncomment
- Proceed to step 1 if app/game didn't crash with hud enabled
[2025-02-04 21:54:47.949] [MANGOHUD] [debug] [overlay_params.cpp:797] Version: v0.8.0-rc2-2-g68fd1b0
/usr/include/c++/14.2.1/bits/stl_vector.h:1130: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = Function; _Alloc = std::allocator<Function>; reference = Function&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
[2025-02-04 21:54:47.949] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
zsh: IOT instruction (core dumped) mangohud eglgears_wayland
Expected behavior Crash does not happen
I might have resolved this in 0.8.1