Bug 275054

Summary: sysutils/pftop: crashes since update to 0.9 when selecting view 5 and 6
Product: Ports & Packages Reporter: Marcel Bischoff <marcel>
Component: Individual Port(s)Assignee: Michael Gmelin <grembo>
Status: Open ---    
Severity: Affects Only Me CC: kp
Priority: --- Flags: grembo: maintainer-feedback+
Version: Latest   
Hardware: amd64   
OS: Any   

Description Marcel Bischoff 2023-11-13 14:08:00 UTC
On 13.2-RELEASE-p5 with GENERIC kernel.

When using fish shell, selecting view 5 or 6 results in:

fish: Job 1, 'pftop' terminated by signal SIGBUS (Misaligned address error)

When using built-in sh:

Bus error (core dumped)

The core dump is available when required.
Comment 1 Michael Gmelin freebsd_committer freebsd_triage 2024-04-24 23:21:45 UTC
(In reply to Marcel Bischoff from comment #0)

Is it possible, that this was already solved in bug #277587 ?
Comment 2 Michael Gmelin freebsd_committer freebsd_triage 2024-04-27 10:25:15 UTC
I could reproduce this on 13.2 when using pftop 0.10_1 combined with an older version of libpfctl (0.7).

After upgrading (e.g., by doing `pkg delete libpfctl; pkg install pftop`) it works ok.