Skip to content

htop 3.1.2 crashes on FreeBSD 14 (current, c 20220316, 2022402) while things are being compiled #970

@ghost

Description

htop 3.1.2 crashes after some time (every time) at least whenever something is being compiled on Framework laptop with Intel i5-1135G7 CPU & 32 GB RAM.

Crash happened while ...

  • building world;
  • compiling ports/net/wifibox;
  • compiling ports/devel/binutils.

uname -a
FreeBSD luna 14.0-CURRENT FreeBSD 14.0-CURRENT #4 main-n254246-6833ac673d9: Sat Apr 2 15:37:22 HST 2022 root@luna:/build/world/freebsd/src/amd64.amd64/sys/GENERIC-NODEBUG amd64

Edited captured output via script(1) ...

...
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.1.2'
  • Your OS and kernel version (uname -a)
  • Your distribution and release (lsb_release -a)
  • Likely steps to reproduce (How did it happen?)
  • Backtrace of the issue (see below)

Error information:

A signal 6 (Abort trap) was received.

Setting information:

htop_version=3.1.2;config_reader_min_version=2;fields=48 3 0 46 47 39 49 20 53 6 18 2 99 1;sort_key=20;sort_direction=1;tree_sort_key=0;tree_sort_direction=1;hide_kernel_threads=1;hide_userland_threads=0;shadow_other_users=0;show_thread_names=0;show_program_path=1;highlight_base_name=1;highlight_deleted_exe=1;highlight_megabytes=1;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;tree_view=0;tree_view_always_by_pid=0;all_branches_collapsed=0;header_margin=0;detailed_cpu_time=0;cpu_count_from_one=0;show_cpu_usage=1;show_cpu_frequency=1;show_cpu_temperature=0;degree_fahrenheit=0;update_process_names=0;account_guest_in_cpu_meter=0;color_scheme=6;enable_mouse=1;delay=15;hide_function_bar=0;header_layout=two_50_50;column_meters_0=LoadAverage AllCPUs2 MemorySwap ZFSCARC ZFSARC;column_meter_modes_0=2 1 1 2 2;column_meters_1=System Hostname Uptime DateTime Battery DiskIO NetworkIO;column_meter_modes_1=2 2 2 2 2 2 2;

Backtrace information:

0: 0x21c842 /usr/local/bin/htop (CRT_handleSIGSEGV+0x102) [0x21c842]
1: 0x8270aa5a0 /lib/libthr.so.3 (_fini+0) [0x8270aa4d0]
2: 0x8270a9b5f /lib/libthr.so.3 (_fini+0) [0x8270a9a20]
3: 0x7ffffffff2d3 ? (+0) [0x7ffffffff2d0] {signal frame}
4: 0x82448edfa /lib/libc.so.7 (_fini+0) [0x82448edf0] {signal frame}
5: 0x8270a9a20 /lib/libthr.so.3 (_fini+0) [0x8270a9890]

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:

objdump -d -S -w which htop > ~/htop.objdump
...

I will attach "objdump" output & backtrace. For future, is backtrace needed when "objdump" output is also provided?

htop.objdump.txt
htop.gdb.bt-full.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    FreeBSD 👹FreeBSD related issuesLinux 🐧Linux related issuesbug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions