From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 01 11:31:40 2019 Received: (at 34616) by debbugs.gnu.org; 1 Mar 2019 16:31:40 +0000 Received: from localhost ([127.0.0.1]:56750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzl4V-0007iM-Rb for submit@debbugs.gnu.org; Fri, 01 Mar 2019 11:31:40 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzl4S-0007iD-SX for 34616@debbugs.gnu.org; Fri, 01 Mar 2019 11:31:37 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1551457877; cv=none; d=zoho.com; s=zohoarc; b=di2wZvfx8k0YJ0f5yYS2oX3XH0KXXJJb/G8bQaYwUDY1KKGm5+PAyAwm8pcS9jS5y6sPeVnjux8IzY//0PIPi/sPV8ex6hCHx6Vda7xL/gYxes2teQ+GRq/sGEobMy+WU9vHexYLfhf5ZLEusK9jgSzhyHnb5zmFOYGdvtB9YPk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1551457877; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=OKKGyzYNGaZugIgy3UayFRacophhstGoYQti7u2Oav0=; b=bIXnZYmZHeU4GwE/50KkwI8a5kxwaNel5BuHfx4VDkhpcZ6y0OuW/w07VpGOhi6i44ROJUVy+ncPIIeFkHsDGNTeCsSgxf56paCa5sPHh99KTgaavdTotYMll/KnhGU4HCbZ68BxxbCnFMkecrxkWzsdMF2dVox51O52gvIHdW4= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1551457876; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1816; bh=OKKGyzYNGaZugIgy3UayFRacophhstGoYQti7u2Oav0=; b=YmoKWaXAiQd7BWRfSnIJ4SkmeNL+Up/idGdDGPMHk7NXOQ4ICn9U5fM/LqV+se5U 6oZ6OrSFhZOXEMOSTLJBHfksqO1iZMPgy84r/gozaWQt57blibhv1Q6rUHtm98t8S6T WOVIuJzkSfER9OfImaQLTyPE+ddxtMMYQ6/AnnMs= Received: from localhost (141.80.247.231 [141.80.247.231]) by mx.zohomail.com with SMTPS id 155145787544744.01014032310172; Fri, 1 Mar 2019 08:31:15 -0800 (PST) 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> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Efraim Flashner Subject: Re: bug#34616: neovim segfaults In-reply-to: <20190224090200.GH18280@macbook41> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 01 Mar 2019 17:31:12 +0100 Message-ID: <87a7iey2sv.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34616 Cc: Julien Lepiller , 34616@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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