Bug 263024

Summary: sysutils/htop: 3.1.2 crashes on 14.0-CURRENT while compiling things
Product: Ports & Packages Reporter: parv.0zero9+freebsd
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: gaod, grahamperrin, lwhsu, parv.0zero9+freebsd
Priority: --- Flags: bugzilla: maintainer-feedback? (gaod)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 263865    
Bug Blocks:    

Description parv.0zero9+freebsd 2022-04-03 06:15:18 UTC
Quoting self from htop bug report ...

  https://github.com/htop-dev/htop/issues/970


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.

htop ran for a while before crashing 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
...

Backtrace & "objdump" output are available at the above list URL.
Comment 1 parv.0zero9+freebsd 2022-04-23 09:19:26 UTC
Patches provided ...

  https://github.com/htop-dev/htop/pull/977
  ( https://github.com/htop-dev/htop/pull/977.patch )

... stopped the crash.
Comment 2 Hung-Yi Chen 2022-05-08 17:03:29 UTC
(In reply to parv from comment #1)
Upstream already accept the patch && released in 3.2.0.