Currently, htop 2.2.2-8 is broken.
There was a fix for the crash in source code form only and one had to build it from source code to fix the crash. Now a deb package is available if anyone is interested.
Instructions:
-
remove the actual htop
sudo apt-get remove --purge htop
-
remove any data left
sudo rm -rf .config/htop
sudo su
rm -rf /root/.config/htop -
install the htop with the fix
wget https://github.com/avafinger/htop_2.2.2/releases/download/v1.9/htop_2.2.2-11_arm64.deb
sudo dpkg -i htop_2.2.2-11_arm64.deb
Selecting previously unselected package htop.
(Reading database … 71138 files and directories currently installed.)
Preparing to unpack htop_2.2.2-11_arm64.deb …
Unpacking htop (2.2.2-11) …
Setting up htop (2.2.2-11) …
Processing triggers for mime-support (3.64ubuntu1) …
Processing triggers for man-db (2.9.1-1) …
If you want to display vcore in real-time, edit the config file and add the path to cpu vcore for your current kernel.
-
first run after install
sudo htop
(and then exit) -
add the path in the config file (root user), you can use mcedit (install it if needed)
sudo apt-get install mcedit
-
edit the new top config file (htoprc-ng)
mcedit /root/.config/htop/htoprc-ng
-
add the path
htop 2.2.2-11