FS#79661 - [neovim] Crashes with SIGABORT due to `libuv` error
Attached to Project:
Arch Linux
Opened by Ignacio Taranto (itaranto) - Monday, 11 September 2023, 20:13 GMT
Last edited by Toolybird (Toolybird) - Saturday, 07 October 2023, 00:41 GMT
Opened by Ignacio Taranto (itaranto) - Monday, 11 September 2023, 20:13 GMT
Last edited by Toolybird (Toolybird) - Saturday, 07 October 2023, 00:41 GMT
|
Details
Description:
Neovim crashes when using the dynamically linked `libuv` library, this was evidenced when the CMake option `USE_BUNDLED=OFF` was added recently. See: https://gitlab.archlinux.org/archlinux/packaging/packages/neovim/-/commit/ee29bbcd1baf0d0b5d883116254ca1f7b65923da Additional info: * package version(s): 0.9.2-1 * link to upstream bug report, if any: https://github.com/neovim/neovim/issues/25086 Steps to reproduce: See the provided Github link for the reproduction steps. |
This task depends upon
Closed by Toolybird (Toolybird)
Saturday, 07 October 2023, 00:41 GMT
Reason for closing: Upstream
Additional comments about closing: If it's a bug in libuv then please bisect and report upstream to libuv.
Saturday, 07 October 2023, 00:41 GMT
Reason for closing: Upstream
Additional comments about closing: If it's a bug in libuv then please bisect and report upstream to libuv.
0.9.1-2 doesn't have the issue.
This issue happens with Neovim's AppImage too, but it doesn't happen when building Neovim with bundled libraries (Neovim's default).
My point is that you may want to revert to using Neovim bundled libraries or at least use `USE_BUNDLED_LIBUV=ON` due to this regression.
(I'm not aware of the reason why the Arch Linux package disables bundled libraries for Neovim).
make CMAKE_BUILD_TYPE=Release CMAKE_INSTALL_PREFIX=/usr USE_BUNDLED=OFF USE_BUNDLED_TS_PARSERS=ON
to:
make CMAKE_BUILD_TYPE=Release CMAKE_INSTALL_PREFIX=/usr
fixes the issue.
Strangely, using:
make CMAKE_BUILD_TYPE=Release CMAKE_INSTALL_PREFIX=/usr USE_BUNDLED=OFF USE_BUNDLED_LIBUV=ON USE_BUNDLED_TS_PARSERS=ON
doesn't seem to be working (ldd still shows nvim linking to libuv).