tmux crashes on tpm init
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tmux-plugin-manager (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
[Impact]
Initializing the tpm plugin for tmux causes it to crash.
[Test Case]
Getting the core dump is sometimes tricky. This procedure generates it every time:
$ lxc launch ubuntu-daily:cosmic tester && lxc exec tester bash
# apt update && apt dist-upgrade -y && apt install -y tmux tmux-plugin-manager &&
ulimit -c unlimited &&
cat << 'EOF' >"$HOME/.tmux.conf"
# set prefix: Alt + e
set -g prefix M-e
# Let's bind this too, so that repeated
# presses work, esp. when nesting.
bind -n M-e send-prefix
# start window numbering at 1
set -g base-index 1
# start pane numbering at 1
set -g pane-base-index 1
# use mouse
set -g mouse on
setw -g mode-keys vi
# Use Alt-arrow keys WITHOUT PREFIX KEY to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
set -g @scroll-
set -g @scroll-
set -g @emulate-
# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/
set -g @plugin 'tmux-plugins/
set -g @plugin 'tmux-plugins/
set -g @plugin 'tmux-plugins/
set -g @plugin 'tmux-plugins/
set -g @plugin 'tmux-plugins/
set -g @plugin 'tmux-plugins/
set -g @plugin 'tmux-plugins/
set -g @plugin 'nhdaly/
set -g @plugin 'tmux-plugins/
run -b "/usr/share/
EOF
# tmux
* Press alt-e, then shift-i
* exit immediately:
# exit
# tmux
* Press alt-e, then shift-i
Result:
root@tester:~# [lost server]
[Original Description]
Crash on a fresh install and first start after adding tmux plugin manager.
ProblemType: Crash
DistroRelease: Ubuntu 18.10
Package: tmux 2.7-1
ProcVersionSign
Uname: Linux 4.18.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Jan 18 19:09:19 2019
ExecutablePath: /usr/bin/tmux
ExecutableTimes
InstallationDate: Installed on 2019-01-01 (17 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
ProcCmdline: tmux
ProcCwd: /home/pvl
Signal: 11
SourcePackage: tmux
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip docker libvirt lpadmin plugdev sambashare sudo
modified.
mtime.conffile.
tags: | added: server-triage-discuss |
description: | updated |
tags: | added: server-triage-discuss |
tags: | removed: server-triage-discuss |
affects: | tmux (Ubuntu) → tmux-plugin-manager (Ubuntu) |
StacktraceTop: e6f0, data_in= data_in@ entry=0x55fae21 d14c0, datlen=0) at buffer.c:1730 entry=0x55fae10 94589 "%s") at cmd-queue.c:421 shell_print (msg=msg@ entry=0x55fae21 ca3b0 "", job=<optimized out>) at cmd-run-shell.c:68 shell_callback (job=0x55fae21f 1850) at cmd-run-shell.c:131
?? ()
evbuffer_add (buf=0x55fae21e
cmdq_print (item=<optimized out>, fmt=fmt@
cmd_run_
cmd_run_