From: Ricardo Wurmus <rekado@elephly.net>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: 34616@debbugs.gnu.org
Subject: bug#34616: neovim segfaults
Date: Fri, 01 Mar 2019 17:31:12 +0100 [thread overview]
Message-ID: <87a7iey2sv.fsf@elephly.net> (raw)
In-Reply-To: <20190224090200.GH18280@macbook41>
Efraim Flashner <efraim@flashner.co.il> 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/libtermkey.so.1
>> > #4 0x00007ffff7e64b59 in load_terminfo () from
>> > /gnu/store/pl7nh8chyp0av6lb7qck5n9mvvaz24z5-libtermkey-0.21.1/lib/libtermkey.so.1
>> > #5 0x00007ffff7e64eda in start_driver () from
>> > /gnu/store/pl7nh8chyp0av6lb7qck5n9mvvaz24z5-libtermkey-0.21.1/lib/libtermkey.so.1
>> > #6 0x00007ffff7e6007e in termkey_start () from
>> > /gnu/store/pl7nh8chyp0av6lb7qck5n9mvvaz24z5-libtermkey-0.21.1/lib/libtermkey.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= /gnu/store/d8ibld5vpsgq7is3k3sf5gqj0i7sgmbh-neovim-0.3.4/bin/nvim
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 “xterm-256color”.
--
Ricardo
next prev parent reply other threads:[~2019-03-01 16:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-22 13:06 bug#34616: neovim segfaults Julien Lepiller
2019-02-22 15:06 ` Ricardo Wurmus
2019-02-22 15:13 ` Julien Lepiller
2019-02-22 15:57 ` Ricardo Wurmus
2019-02-22 16:35 ` Julien Lepiller
2019-02-22 17:11 ` Ricardo Wurmus
2019-02-24 9:02 ` Efraim Flashner
2019-03-01 16:31 ` Ricardo Wurmus [this message]
2019-03-05 19:53 ` Bradley Haggerty
[not found] <CAE4v=pg1YHwn4_xqJCpARYyn2qY1qK=o_aX6zB2fsGLN6je53A@mail.gmail.com>
2019-03-07 10:25 ` Gábor Boskovits
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a7iey2sv.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=34616@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).