Created attachment 250928 [details] 0001-sysutils-tmux-Fix-crash-when-text-selection-using-mo.patch Since tmux 3.4 is hold off at bug 277041, please consider to apply this patch to fix crash.
It doesn't crash on 14.0-RELEASE but crashes on 14.1-STABLE FreeBSD 14.1-STABLE stable/14-n267784-e85f2ed0950 GENERIC amd64 for me.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a77b3ff4c0e9fed2b3dab55023735008cff1e73 commit 5a77b3ff4c0e9fed2b3dab55023735008cff1e73 Author: Koichiro Iwao <meta@FreeBSD.org> AuthorDate: 2024-05-24 18:15:51 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2024-06-14 08:31:54 +0000 sysutils/tmux: Fix crash when text selection using mouse I re-ported a patch originally ported to 3.2a by Tobias Brick, a Microsoft employee to 3.3a. The patch depends on ncurses 6.4-20230423 or later so I bind this port to ncurses:port. See commit message of the patch for detail [1] [1] https://github.com/microsoft/azurelinux/blob/a1f78f2/SPECS/tmux/manual-patch-to-fix-crash-due-to-change-to-ncurses.patch PR: 279276 Approved by: maintainer timeout Obtained from: https://github.com/microsoft/azurelinux/issues/6598 Obtained from: https://github.com/microsoft/azurelinux/pull/6766 sysutils/tmux/Makefile | 4 +- ...-fix-crash-due-to-change-to-ncurses.patch (new) | 63 ++++++++++++++++++++++ 2 files changed, 65 insertions(+), 2 deletions(-)
Committed due to maintainer timeout.