New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unibilium crashes neovim in st (simple terminal) from ncurses-6.0_p20171125-r0 on #31
Comments
Doesn't that mean it's a neovim bug? |
|
Maybe, it crashes inside libunibilium, so I decided to start here. |
|
|
That's not really helpful. There is no code or reproduction steps in this bug report. Just "unibilium crashes". What am I supposed to do with this? |
|
I managed to download and build neovim, but it didn't crash when I ran it. |
|
I am sorry. I am hunting this bug for 2 whole days now. This is the first "concrete" thing I found. Even when I build debug versions of the components it is gone. Did you use TERM=st-256color nvim? |
|
I tried |
|
Thanks for your help. Sorry for bothering you. |
|
@mauke I have now found a way to reproduce it:
I know this is still no test program, but maybe it helps. Otherwise I would provide a chroot, containing the error. |
|
Here is a stacktrace (TERM=st-256color gdb /usr/bin/nvim) If you think the bug is in unibilium. I can create a chroot with debug versions of neovim and the sources, so gdb works and upload it on my server. |
@ganwell Can you try Nvim HEAD? Maybe neovim/neovim@90dd2b1 helps. |
|
@justinmk neovim nightly works. but just patching 0.2.2 with neovim/neovim@90dd2b1 doesn't help. I see there are other revisions referenced, shall I try some combinations of these? What is the best way to get a patch into the distro? Also shall we switch to a issue on neovim? |
You could try
No idea, depends on your distro. We offer pre-built packages at https://github.com/neovim/neovim/releases , that's the most we can do until a release is ready.
If it's fixed on master, there's nothing to discuss.... |
Thanks a lot that worked. neovim/neovim@5cbd3b383c fixes the problem.
I meant to document the patch, but there is already an issue. Sorry for hijacking this issue tracker and thanks to both of you. |
Interesting. that does suggest a unibilium bug. |
|
yeah, it's possible that unibilium invokes UB somewehre and expects GLIBC behaviour (i.e. no nasal daemons summoned) |
#30 seems to related but is not, since using https://github.com/mauke/unibilium/tree/wide-int doesn't solve the problem.
I was able to fix the problem by using the terminfo bundled with st instead the one that come with ncurses. But no other programs crashes, so I guess it must be fixed in unibilium.
The text was updated successfully, but these errors were encountered: