Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
tmux 2.6-2 crashdumps when starting neovim 0.2.2-2 #1264
I just noticed that when I start nvim in a tmux session it closes immediately. The logs says it crash dumped:
I have played around with this a bit, why this is crashing:
I am happy to provide further information if required. I am happy to install a debug build, provide the coredump or compile a specific debug version from scratch. Just let me know what to do. I have not provided any reports to NVIM about 0.2.2-2 or Arch Linux.
I submitted them in the original issue: Feb 21 12:04:56 XXX systemd-coredump: Process 19962 (tmux: server) of user 1000 dumped core. Stack trace of thread 19962: #0 0x00007f9c4c306f11 __strlen_avx2 (libc.so.6) #1 0x00007f9c4ca15a98 tparm (libtinfo.so.6) #2 0x0000560dc78507d7 n/a (tmux) #3 0x0000560dc78519e1 n/a (tmux) #4 0x0000560dc785293b n/a (tmux) #5 0x0000560dc784620e n/a (tmux) #6 0x0000560dc7847c7e n/a (tmux) #7 0x0000560dc783da12 n/a (tmux) #8 0x0000560dc7848285 n/a (tmux) #9 0x0000560dc7814b99 n/a (tmux) #10 0x0000560dc7811312 n/a (tmux) #11 0x00007f9c4c1d0f4a __libc_start_main (libc.so.6) #12 0x0000560dc78114ea n/a (tmux) Feb 21 12:04:56 XXX systemd: Started Process Core Dump (PID 20172/UID 0). Feb 21 12:04:56 XXX kernel: tmux: server: segfault at 2 ip 00007f9c4c306f11 sp 00007ffc9fefffb8 error 4 in libc-2.26.so[7f9c4c1b0000+1ae000] Kind Regards Thomas Preissler February 21, 2018 1:20 PM, "Nicholas Marriott" wrote: Logs? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (#1264 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/APekUR5Zj5Q64KnV_fx4Xv_3SKrpQ_avks5tXBgQgaJpZM4SNnql).
Cloned 5a44e18 and ... started locally.
Your "Ss" entry is wrong:
"Ss" only takes one parameter, but this has two. This make ncurses crash (because tparm() is variadic and uses the capability string to work out how many parameters to look for).
I think this is a typo in the st-0.7 entry in the terminfo database - it should be "Ms" not "Ss". This needs to be reported to the ncurses-dev mailing list or @ThomasDickey. This is the fix in terminfo.src:
You can fix this for the short term by doing this in .tmux.conf:
added a commit
Mar 24, 2018
Since update of ncurses-6.1 on Gentoo with the patch proposed in this thread applied on ncurses, tmux is complaining that it can't find
The terminfo file for xterm-256color is located at
It used to work before with ncurses-6.0 on Gentoo (w/o the patch above).
The problem can be solved by building and installing
If you don't want to
That way, no need to configure
By the way, the