ERROR: Exception in runner thread -> Cpu:: -> deque::_M_range_check: __n (which is 3)>= this->size() (which is 2)
Read the README.md and search for similar issues before posting a bug report!
Any bug that can be solved by just reading the prerequisites section of the README will likely be ignored.
Describe the bug
I used a snap install at first, then I remove it. I followed the readme process to install btop, using the make default configuration, and after that running btop reported errors.
To Reproduce
Running btop keeps giving me errors
Screenshots
Info (please complete the following information):
- btop++ version:
1.4.0+5535f50- If using snap:
snap info btop do have some info
- If using snap:
- Binary: [self compiled]
- Architecture: [x86_64]
- Platform: [Linux]
- (Linux) Kernel:
6.8.0-48-generic - (OSX/FreeBSD) Os release version:
- Terminal used:
- Font used:
Additional context
Contents of ~/.config/btop/btop.log
2025/01/17 (09:40:39) | ===> btop++ v.1.4.0
2025/01/17 (09:40:39) | ERROR: Exception in runner thread -> Cpu:: -> deque::_M_range_check: __n (which is 3)>= this->size() (which is 2)
Note: The snap uses: ~/snap/btop/current/.config/btop
(try running btop with --debug flag if btop.log is empty)
GDB Backtrace
If btop++ is crashing at start the following steps could be helpful:
(Extra helpful if compiled with make OPTFLAGS="-O0 -g")
run (linux):
gdb btop(macos):lldb btoprto run, wait for crash and press enter if prompted, CTRL+L to clear screen if needed.(gdb):
thread apply all bt(lldb):bt allto get backtrace for all threadsCopy and paste the backtrace here:
Source: aristocratos/btop