-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
The Neovim process has crashed when open .xm file #722
Comments
Sorry, there's no information here I can use to look into anything. If Neovim crashes, it is usually a problem with Neovim itself and with such cases a backtrace is required to investigate anything. |
Thanks, Neovim crashes if the |
Can you share a minimal |
It woud crash even though I delete all lines in the file named |
Ok, it crashed for me too. It is having trouble because the encoding of the file is |
Perhaps related to vim.iconv change ee61b32 - I have a utf-16le file that is crashing out nvim. When I roll back to the commit before that neovim doesn't crash. Been trying to find the fix, but not quite there, although if I do change line 367 in
or
then neovim doesn't crash when loading the utf-16le file, although gitsigns shows the gitsigns works for other files though with this change in. Any suggestions? Things I can try / test? edit: note that neither airblade/vim-gitguttern nor mhinz/vim-signify render git signs for this utf-16le file. Perhaps a first step may be to disable gitsigns for utf-16le files (as opposed to crashing out) |
I've raised neovim/neovim#21924 to re-implement iconv to handle |
- also add BOM stripping Fixes: #722
- also add BOM stripping Fixes: #722
#725 should work around the issue for now, but I do plan to fix |
Thank you. That stabilises it for me. No crash on opening up a utf-16le file |
Thanks! It's OK for me too. |
Description
The Neovim process has crashed when open
.xm
file.It's ok if I rename the
.xm
file to.txt
.Neovim version
0.8.0, 0.8.2
Operating system and version
Windows 10
Expected behavior
.xm
file opened successfully and I can edit it.Actual behavior
The Neovim process has crashed.
![image](https://user-images.githubusercontent.com/55801796/212283407-82727148-a043-4690-bbab-55715bdd62b4.png)
Minimal config
Steps to reproduce
nvim-win64
to my %home%.https://github.com/lewis6991/gitsigns.nvim
toshare\nvim\runtime\pack\packer\start
bin\nvim-qt.exe
to open it.app.xm
file to it.Gitsigns debug messages
I can't see any debug messages.
The text was updated successfully, but these errors were encountered: