** Description changed:

+ [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-down-exit-copy-mode off
+ set -g @scroll-without-changing-pane on
+ set -g @emulate-scroll-for-no-mouse-alternate-buffer on
+ 
+ # plugins
+ set -g @plugin 'tmux-plugins/tpm'
+ set -g @plugin 'tmux-plugins/tmux-sensible'
+ set -g @plugin 'tmux-plugins/tmux-resurrect'
+ set -g @plugin 'tmux-plugins/tmux-continuum'
+ set -g @plugin 'tmux-plugins/tmux-copycat'
+ set -g @plugin 'tmux-plugins/tmux-pain-control'
+ set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
+ set -g @plugin 'tmux-plugins/tmux-open'
+ set -g @plugin 'tmux-plugins/tmux-yank'
+ set -g @plugin 'nhdaly/tmux-better-mouse-mode'
+ set -g @plugin 'tmux-plugins/tmux-logging'
+ 
+ run -b "/usr/share/tmux-plugin-manager/tpm"
+ EOF
+ 
+ # tmux
+ 
+ * Press alt-e, then shift-i
+ * exit immediately:
+ 
+ # exit
+ # tmux
+ 
+ * Press alt-e, then shift-i
+ 
+ Result:
+ 
+ root@tester:~# [lost server]
+                             root@tester:~#
+ 
+ [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
  ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17
  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
  ExecutableTimestamp: 1523656091
  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.conffile..etc.apport.crashdb.conf: [modified]
  mtime.conffile..etc.apport.crashdb.conf: 2019-01-15T04:51:59.517661

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1812387

Title:
  tmux crashes on tpm init

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tmux/+bug/1812387/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to