From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#34616: neovim segfaults Date: Fri, 01 Mar 2019 17:31:12 +0100 Message-ID: <87a7iey2sv.fsf@elephly.net> References: <5cacf4b49b42b6c8f29ea14772ac4068@lepiller.eu> <877edr50co.fsf@elephly.net> <04f4ff1028b0defe4de7d72236f07a90@lepiller.eu> <8736of4y00.fsf@elephly.net> <767bed0d2f47c74490a878b801dc715d@lepiller.eu> <87r2bz3fzb.fsf@elephly.net> <20190224090200.GH18280@macbook41> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzl4u-0007kQ-E5 for bug-guix@gnu.org; Fri, 01 Mar 2019 11:32:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzl4t-0005xR-9T for bug-guix@gnu.org; Fri, 01 Mar 2019 11:32:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43206) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzl4s-0005wi-Ud for bug-guix@gnu.org; Fri, 01 Mar 2019 11:32:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzl4s-0007j0-Ad for bug-guix@gnu.org; Fri, 01 Mar 2019 11:32:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <20190224090200.GH18280@macbook41> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Efraim Flashner Cc: 34616@debbugs.gnu.org Efraim Flashner writes: >> > /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/libc.so.6 >> > #1 0x0000000000505b31 in strequal () >> > #2 0x000000000045681e in tui_tk_ti_getstr () >> > #3 0x00007ffff7e649a5 in try_load_terminfo_key () from >> > /gnu/store/pl7nh8chyp0av6lb7qck5n9mvvaz24z5-libtermkey-0.21.1/lib/libt= ermkey.so.1 >> > #4 0x00007ffff7e64b59 in load_terminfo () from >> > /gnu/store/pl7nh8chyp0av6lb7qck5n9mvvaz24z5-libtermkey-0.21.1/lib/libt= ermkey.so.1 >> > #5 0x00007ffff7e64eda in start_driver () from >> > /gnu/store/pl7nh8chyp0av6lb7qck5n9mvvaz24z5-libtermkey-0.21.1/lib/libt= ermkey.so.1 >> > #6 0x00007ffff7e6007e in termkey_start () from >> > /gnu/store/pl7nh8chyp0av6lb7qck5n9mvvaz24z5-libtermkey-0.21.1/lib/libt= ermkey.so.1 >> >> So the problem is in libtermkey. Can we reproduce this with another >> package using libtermkey? >> > > The only other package which uses libtermkey is vis, a text editor. vis does not segfault for me. I tried running the segfaulting nvim again, but with the TERM variable unset. It does not segfault. TERM=3D /gnu/store/d8ibld5vpsgq7is3k3sf5gqj0i7sgmbh-neovim-0.3.4/bin/nv= im Any other value for TERM that I tried leads to a lookup of the terminfo files provided by the ncurses package and subsequently leads to a segfault. I would also like to point out that this does not segfault: guix environment --container --ad-hoc neovim -- nvim Outside of the container ~/.guix-profile/share/terminfo is available, which resides in my profile because I happen to have rxvt-unicode installed. This package provides these files: ./share/terminfo/r/rxvt-unicode/rxvt-unicode{,-256color} The value of TERM in my sessions is =E2=80=9Cxterm-256color=E2=80=9D. -- Ricardo