Package: tmux
Version: 3.3a-3
I've run into this:
$ tmux set-option -g remain-on-exit \; new-session -d false
$ tmux set-buffer x \; paste-buffer
server exited unexpectedly
In dmesg I see:
tmux: server[4496]: segfault at 8c ip 00000000f7ee162b sp 00000000ffb537a4
error 4 in libevent_core-2.1.so.7.0.1[f7ed9000+20000] likely on CPU 1 (core 1,
socket 0)
Backtrace:
#0 0xf7ea662b in bufferevent_write (bufev=0x0, data=0x5745f730, size=1) at
./bufferevent.c:454
#1 0x5659d0a6 in cmd_paste_buffer_exec (self=0x57442f20, item=0x574751d0) at
./cmd-paste-buffer.c:98
#2 0x5659e892 in cmdq_fire_command (item=0x574751d0) at ./cmd-queue.c:647
#3 cmdq_next (c=0x57480b00) at ./cmd-queue.c:763
#4 0x565ee113 in server_loop () at ./server.c:270
#5 0x565da562 in proc_loop (tp=0x57438580, loopcb=0x565ee0b0 <server_loop>) at
./proc.c:222
#6 0x565ee96c in server_start (client=0x57437d00, flags=402718720, base=0x57437600,
lockfd=5, lockfile=0x57437950 "") at ./server.c:251
#7 0x5658e72b in client_connect (flags=<optimized out>, path=0x57437500
"/tmp/tmux-1000/default", base=0x57437600) at ./client.c:164
#8 client_main (base=0x57437600, argc=7, argv=0xfffed398, flags=<optimized
out>, feat=0) at ./client.c:287
#9 0x56589432 in main (argc=7, argv=<optimized out>) at ./tmux.c:519
-- System Information:
Architecture: i386
Versions of packages tmux depends on:
ii libc6 2.36-9+deb12u4
ii libevent-core-2.1-7 2.1.12-stable-8
ii libtinfo6 6.4-4
ii libutempter0 1.2.1-3
--
Jakub Wilk