Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 651494

Summary: app-misc/tmux-2.6 with sys-libs/ncurses-6.1-r1 with app-editors/neovim with x11-terms/st - tmux session crashes
Product: Gentoo Linux Reporter: Viacheslav Ostroukh <slava>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: fakih18716, jer, shell-tools, xmw
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/tmux/tmux/issues/1264
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 639706, 652080    
Attachments: emerge --info sys-libs/ncurses app-editors/neovim app-misc/tmux

Description Viacheslav Ostroukh 2018-03-25 16:59:11 UTC
Created attachment 525414 [details]
emerge --info sys-libs/ncurses app-editors/neovim app-misc/tmux

Steps to reproduce:

- launch tmux session
- launch nvim inside

Session crashes afterwards. Tmux or neovim separately can be launched.

Downgrade to ncurses-6.0-r1 fixes the crash.
Comment 1 anonymous 2018-03-26 08:23:28 UTC
https://github.com/tmux/tmux/issues/1264 is the related issue.
Either ncurses or suckless st should be updated to a newer version.
Or, ncurses-6.1 can be masked.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-26 08:34:18 UTC
OK, so this problem is caused by the terminfo for x11-terms/st installed by sys-libs/ncurses? Because x11-terms/st does not install its own terminfo files.
Comment 3 anonymous 2018-03-26 08:43:25 UTC
According to https://github.com/tmux/tmux/issues/1264, to fix the crash,

1) upgrade ncurses-6.1
2) upgrade st-0.7
3) downgrade ncurses-6.1 to ncurses 6.0
Comment 4 Larry the Git Cow gentoo-dev 2018-03-26 09:00:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf870f194390d88a49834f752ff4c6517645401

commit 1bf870f194390d88a49834f752ff4c6517645401
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-03-26 09:00:16 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-03-26 09:00:16 +0000

    sys-libs/ncurses: Revbump to fix st-0.7 terminfo issue. Removed old.
    
    Bumped straight to stable where -r1 was stable.
    
    Closes: https://bugs.gentoo.org/651494
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../ncurses/files/ncurses-6.1-st07_terminfo_typo.patch     | 14 ++++++++++++++
 .../{ncurses-6.1-r1.ebuild => ncurses-6.1-r2.ebuild}       |  1 +
 2 files changed, 15 insertions(+)