aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/client.lua
diff options
context:
space:
mode:
authorzhaozg <zhaozg@gmail.com>2024-03-02 11:46:21 +0800
committerChristian Clason <c.clason@uni-graz.at>2024-03-02 09:38:34 +0100
commit72e3d8c3f94941e0a91ae45467a62c593e96980d (patch)
tree2c585bc9c0609d12215b01c206b6b10d113d1f44 /runtime/lua/vim/lsp/client.lua
parent39928a7f24916b35577864e28e505dda74103fb8 (diff)
downloadrneovim-72e3d8c3f94941e0a91ae45467a62c593e96980d.tar.gz
rneovim-72e3d8c3f94941e0a91ae45467a62c593e96980d.tar.bz2
rneovim-72e3d8c3f94941e0a91ae45467a62c593e96980d.zip
fix(deps): bump luv to 1.48.0-2
close #27678 Return a userdata wrapper around the uv_req_t to allow it to be garbage collected before the program exits. Previously, the returned userdata held a reference to itself in the Lua registry, meaning it would never be able to be garbage collected until the process ended. This reverts commit 0e4a895, which attempted a workaround for the same underlying problem, but introduced a use-after-free. ``` Application Specific Information: abort() called Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x18cde20dc __pthread_kill + 8 1 libsystem_pthread.dylib 0x18ce19cc0 pthread_kill + 288 2 libsystem_c.dylib 0x18cd25a40 abort + 180 3 libsystem_malloc.dylib 0x18cc3cb08 malloc_vreport + 908 4 libsystem_malloc.dylib 0x18cc403f4 malloc_report + 64 5 libsystem_malloc.dylib 0x18cc54ebc find_zone_and_free + 308 6 nvim 0x100eb13b8 uv__fs_scandir_cleanup + 84 7 nvim 0x100eb7e68 uv_fs_req_cleanup + 120 8 nvim 0x100e03634 luv_fs_gc + 132 9 nvim 0x100e42aec lj_BC_FUNCC + 44 10 nvim 0x100e44cc8 gc_call_finalizer + 148 (lj_gc.c:521) 11 nvim 0x100b7fdb4 nlua_push_Object + 320 (converter.c:781) 12 nvim 0x100b7fc48 nlua_push_Dictionary + 332 (converter.c:722) 13 nvim 0x100992228 nlua_api_nvim_get_mode + 160 (lua_api_c_bindings.generated.c:6379) 14 nvim 0x100e42aec lj_BC_FUNCC + 44 15 nvim 0x100e590b4 lua_pcall + 228 (lj_api.c:1150) ```
Diffstat (limited to 'runtime/lua/vim/lsp/client.lua')
0 files changed, 0 insertions, 0 deletions