Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651494 - app-misc/tmux-2.6 with sys-libs/ncurses-6.1-r1 with app-editors/neovim with x11-terms/st - tmux session crashes
Summary: app-misc/tmux-2.6 with sys-libs/ncurses-6.1-r1 with app-editors/neovim with x...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CVE-2017-16879 ncurses-6.1
  Show dependency tree
 
Reported: 2018-03-25 16:59 UTC by Viacheslav Ostroukh
Modified: 2018-03-31 12:51 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info sys-libs/ncurses app-editors/neovim app-misc/tmux (emerge-info.txt,7.81 KB, text/plain)
2018-03-25 16:59 UTC, Viacheslav Ostroukh
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)