Open justinmk opened 6 years ago
Does it happen in MINGW_32? It can't build helptags now because nvim.exe crashes immediately (commands for --cmd
don't run).
In case anyone else runs into this - I got past this by building with a Release
configuration instead of a Debug
configuration. I suspect what's happening is that the Debug
build links against a debug UCRT (ucrtbased.dll
), which conflicts with a release UCRT (ucrtbase.dll
) that gets pulled in by the bundled uv.dll
. I think file descriptors returned by ucrtbase.dll
are invalid in ucrtbased.dll
, resulting in the _osfile(fh) & FOPEN
assertion error, but I am not certain.
nvim --version
: f711b635133fSteps to reproduce using
nvim -u NORC
x86-Debug
configuration.nvim.exe
.fopen_noinh_readbin .. fdopen
with an assertion error:_osfile(fh) & FOPEN
.Notes
There is this old libuv issue but the problem may just be a race.
Need more investigation.