Btop crashes when one tries to reload config from disk right after program start, using either the SIGUSR2 signal or ctrl+r keybind.
Error message:
ERROR: Exception in runner thread -> Net:: -> deque::_M_range_check: __n (which is 55)>= this->size() (which is 14)
This error does not occur after btop has been running for around 8 seconds. After this time period, btop behaves as it should and successfully reloads the config.
This error also does not occur when running with --debug flag.
To Reproduce
Launch btop
Change the config file (easiest too see if it succeeds is by changing color_theme)
Provide SIGUSR2 signal / press ctrl+r when in program (needs to be done before at most 8 seconds have passed)
Describe the bug
Btop crashes when one tries to reload config from disk right after program start, using either the SIGUSR2 signal or ctrl+r keybind.
Error message:
ERROR: Exception in runner thread -> Net:: -> deque::_M_range_check: __n (which is 55)>= this->size() (which is 14)
This error does not occur after btop has been running for around 8 seconds. After this time period, btop behaves as it should and successfully reloads the config.
This error also does not occur when running with
--debug
flag.To Reproduce
Expected behavior
Btop correctly reloads the config from the disk
Screenshots
Info (please complete the following information):
Additional context
Contents of
~/.config/btop/btop.log