-
-
Notifications
You must be signed in to change notification settings - Fork 517
Description
After recently updating htop
to 3.4.1 via MacPorts, I ran sudo htop
for 2 hours and then this crash occurred. I did nothing except start the program and leave it running. Prior to this crash, an identical segfault occurred after running it for only 20 seconds.
The following is the requested information generated by the error message:
FATAL PROGRAM ERROR DETECTED
Please check at https://htop.dev/issues whether this issue has already been reported.
If no similar issue has been reported before, please create a new issue with the following information:
- Your htop version:
3.4.1
- Your OS and kernel version (
uname -a
):Darwin my_hostname 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:33:47 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T6000 arm64
- Your distribution and release (
echo "macOS $(sw_vers -productVersion) $(sw_vers -buildVersion) $(uname -m)"
):macOS 15.4.1 24E263 arm64
- Likely steps to reproduce (How did it happen?): I ran
sudo htop
for 2 hours and then this crash occurred. I did nothing except start the program and leave it running. Prior to this crash, an identical segfault occurred after running it for only 20 seconds. - Backtrace of the issue (see below)
Error information:
------------------
A signal 11 (Segmentation fault: 11) was received.
Setting information:
--------------------
htop_version=3.4.1;config_reader_min_version=3;fields=0 48 6 17 18 38 39 2 46 47 49 1;hide_kernel_threads=0;hide_userland_threads=0;hide_running_in_container=0;shadow_other_users=0;show_thread_names=0;show_program_path=1;highlight_base_name=1;highlight_deleted_exe=1;shadow_distribution_path_prefix=0;highlight_megabytes=0;highlight_threads=1;highlight_changes=0;highlight_changes_delay_secs=5;find_comm_in_cmdline=1;strip_exe_from_cmdline=1;show_merged_command=0;header_margin=1;screen_tabs=0;detailed_cpu_time=0;cpu_count_from_one=1;show_cpu_usage=1;show_cpu_frequency=0;show_cached_memory=1;update_process_names=0;account_guest_in_cpu_meter=0;color_scheme=5;enable_mouse=1;delay=15;hide_function_bar=0;header_layout=two_50_50;column_meters_0=AllCPUs Memory Swap;column_meter_modes_0=1 1 1;column_meters_1=Tasks LoadAverage Uptime;column_meter_modes_1=2 2 2;tree_view=0;sort_key=47;tree_sort_key=0;sort_direction=-1;tree_sort_direction=1;tree_view_always_by_pid=0;all_branches_collapsed=0;screen:Main=PID USER TTY PRIORITY NICE M_VIRT M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME Command;.sort_key=PERCENT_MEM;.tree_sort_key=PID;.tree_view_always_by_pid=0;.tree_view=0;.sort_direction=-1;.tree_sort_direction=1;.all_branches_collapsed=0;
Backtrace information:
----------------------
0 htop 0x0000000104f1bb40 CRT_handleSIGSEGV + 288
1 libsystem_platform.dylib 0x000000018d0cf624 _sigtramp + 56
2 htop 0x0000000104f31224 DarwinProcess_scanThreads + 472
3 htop 0x0000000104f3167c ProcessTable_goThroughEntries + 540
4 htop 0x0000000104f1fdc4 Machine_scanTables + 172
5 htop 0x0000000104f29058 ScreenManager_run + 364
6 htop 0x0000000104f19f20 CommandLine_run + 1872
7 dyld 0x000000018ccf6b4c start + 6000
To make the above information more practical to work with, please also provide a disassembly of your htop binary. This can usually be done by running the following command:
otool -tvV `which htop` > ~/htop.otool
Link: https://gist.github.com/ylluminarious/0d8daa5c6e1dc27df2c446742ca9f87b