Segmentation fault (core dumped)
Closed this issue · 3 comments
Latest vim build has introduced an issue when using this plugin:
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Aug 8 2024 08:44:38)
Included patches: 1-664
How to replicate:
- Launch vim
- Start FuzzyFiles
Vim: Caught deadly signal SEGV Vim: Finished. Segmentation fault (core dumped)
This is probably not connected to this plugin specifically, but I guess you might know better what vim api has stopped working.
Hi,
I ran into the same issue in my fork and the issue seems related to the AsyncCb call in the worker function inside selector.vim. Sadly I lack the knowledge to know the exact why and how, but might be related to vim patch 9.1.0646.
If you want a temporary workaround you can comment out the call to Worker(async_tid) on row 243 in 'autoload/utils/selector.vim'.
My vim version is
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Aug 12 2024 00:00:00)
Included patches: 1-672
Nice find, I'll report this to the vim repo.
Thanks!
Nice find, I'll report this to the vim repo.
Thanks!
Hi I just did a simple test and this seem to be the minimal code to reproduce this bug. Hope it can help when you report to vim.
vim9script
var F1_ref: func
def F1()
enddef
def Start()
F1_ref = function('F1')
F1_ref()
enddef
Start()