You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use neovim from MSYS2 MinGW. It always worked fine until some recent updates.
Using Lazy with MinGW packages will make neovim crash.
What's more puzzling: using the same version of neovim from the https://github.com/neovim/neovim/releases (nvim-win64.zip) works just fine...
Sometime I get some more information beside "Segmentation Fault":
0 [main] git (17340) child_copy: cygheap read copy failed, 0x800000000..0x80000C500, done 0, windows pid 17340, Win32 error 299
0 [main] git (18376) child_copy: cygheap read copy failed, 0x800000000..0x80000C500, done 0, windows pid 18376, Win32 error 299
389 [main] git 1908 child_copy: dll data read copy failed, 0x180224000..0x180231010, done 0, windows pid 17340, Win32 error 299
578 [main] git 1908 C:\dev\msys64\usr\bin\git.exe: *** fatal error in forked process - couldn't create signal pipe, Win32 error 5
413 [main] git 1909 child_copy: dll data read copy failed, 0x180224000..0x180231010, done 0, windows pid 18376, Win32 error 299
599 [main] git 1909 C:\dev\msys64\usr\bin\git.exe: *** fatal error in forked process - couldn't create signal pipe, Win32 error 5
Install nvim and dependencies pacman -S --needed git mingw-w64-x86_64-neovim
Use Lazy (use repro.lua below unchanged)
Launch nvim with: nvim -u repro.lua
Expected Behavior
No Seg Fault
Repro
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
The text was updated successfully, but these errors were encountered:
ienapliss
changed the title
bug: Lazy make neovim crash when using MSYS MinGW on Windows.
bug: Lazy makes neovim crash (using MSYS MinGW on Windows).
Feb 12, 2024
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.5 Build type: Release LuaJIT 2.1.1707061634
Operating system/version
Windows 11
Describe the bug
I use neovim from MSYS2 MinGW. It always worked fine until some recent updates.
Using Lazy with MinGW packages will make neovim crash.
What's more puzzling: using the same version of neovim from the https://github.com/neovim/neovim/releases (nvim-win64.zip) works just fine...
Sometime I get some more information beside "Segmentation Fault":
Steps To Reproduce
pacman -S --needed git mingw-w64-x86_64-neovim
nvim -u repro.lua
Expected Behavior
No Seg Fault
Repro
The text was updated successfully, but these errors were encountered: