Open timlag1305 opened 9 months ago
Here is a snippet of the backtrace with some of the symbols. The Input::process is repeated like 10,000 times.
#0 0x00005c6960ea009a in std::unordered_map<std::basic_string_view<char, std::char_traits<char> >, bool, std::hash<std::basic_string_view<char, std::char_traits<char> > >, std::equal_to<std::basic_string_view<char, std::char_traits<char> > >, std::allocator<std::pair<std::basic_string_view<char, std::char_traits<char> > const, bool> > >::at (__k=..., this=<optimized out>, this=<optimized out>, __k=...)
at /usr/include/c++/13.2.1/bits/unordered_map.h:1004
No locals.
#1 Config::getB (name=..., name=...) at src/btop_config.hpp:80
No locals.
#2 Input::process (key="down") at src/btop_input.cpp:209
filtering = <optimized out>
vim_keys = <optimized out>
help_key = <optimized out>
kill_key = <optimized out>
boxes = {_M_elems = {"gpu5", "cpu", "mem", "net", "proc", "gpu0", "gpu1", "gpu2", "gpu3", "gpu4"}}
last_press = 0
#3 0x00005c6960ea04b0 in Input::process (key="down") at src/btop_input.cpp:282
keep_going = false
no_update = true
redraw = true
filtering = <optimized out>
vim_keys = <optimized out>
help_key = <optimized out>
kill_key = 0x5c6960f381cb "k"
boxes = {_M_elems = {"gpu5", "cpu", "mem", "net", "proc", "gpu0", "gpu1", "gpu2", "gpu3", "gpu4"}}
last_press = 0
Same thing on macOS (Darwin 23.6.0 Darwin Kernel Version 23.6.0
).
Backtrace:
thread #1, queue = 'com.apple.main-thread'
frame #0: 0x000000018437b0cc libsystem_kernel.dylib`__pselect + 8
frame #1: 0x000000018438f464 libsystem_kernel.dylib`pselect + 112
frame #2: 0x0000000100096144 btop`Input::poll(unsigned long long) + 212
frame #3: 0x000000010000ead4 btop`main + 7300
frame #4: 0x000000018402b154 dyld`start + 2476
thread #2
frame #0: 0x0000000184376aa4 libsystem_kernel.dylib`__workq_kernreturn + 8
thread #3
frame #0: 0x0000000184376aa4 libsystem_kernel.dylib`__workq_kernreturn + 8
thread #4
frame #0: 0x0000000000000000
* thread #5, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x0000000100111394 btop`Proc::collect(bool) + 4380
frame #1: 0x0000000100009c04 btop`Runner::_runner(void*) + 2388
frame #2: 0x00000001843b5f94 libsystem_pthread.dylib`_pthread_start + 136
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
BTOP is crashing with the latest version 1.3.2. I suspect this is because rocm doesn't fully support my GPU (RX Vega 56)
To Reproduce
Open btop and wait for it to crash.
Expected behavior
Not crash
Screenshots
[If applicable, add screenshots to help explain your problem.]
Info (please complete the following information):
btop -v
btop version: 1.3.2snap info btop
uname -m
x86_64uname -r
6.7.4-zen1-1-zenAdditional context
Contents of
~/.config/btop/btop.log
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 btop
r
to run, wait for crash and press enter if prompted, CTRL+L to clear screen if needed.(gdb):
thread apply all bt
(lldb):bt all
to get backtrace for all threadsCopy and paste the backtrace here: