-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luajit crash: SIGSEGV, Segmentation fault. #18235
Comments
did you try to disable, all your plugins and then one by one enabling them to see if it is related to a particular plugin? |
I tried, but because the crash is random it makes it really hard (and time consuming) to hit the issue. From the backtrace it is apparent that this bug is closely related to luajit, which can be triggered with any plugins. |
crash is in luajit. |
My luajit version is |
Update: having using luajit version |
In the past few hours with the
With high confidence I can say this is not a Neovim's issue, rather a luajit issue. I'm not sure how best to handle this situation. Some people might have the latest |
Should be fixed by #18378 (please test!) |
@clason thank you for updating the dependencies. I have been using the latest commit since this morning and had a couple of crashes. Here is the coredump: The output of Click to view the output
The output of Click to view the output
Please do let me know if I can provide more information. NoteAfter the first crash, I removed treesitter to force it to compile its parsers again. The above coredump is with the new parsers. QuestionWhat is the relation between the luajit in the dependencies of Neovim during the compile time, and the luajit that the system has? I'm trying to understand if you updated the luajit dependency version, why this crash depends on the luajit I have installed on my computer? |
Zero, hopefully -- if you build from the repo with Please try a manual build from the repo ( |
Will do. Thanks. |
Having worked with Neovim for the past week, I didn't have any crashes related to this issue. Thank you all for your help. |
Neovim version (nvim -v)
NVIM v0.8.0-dev+35-ga98cf154e
Vim (not Nvim) behaves the same?
N/A
Operating system/version
Arch linux
Terminal name/version
Kitty 0.25.0-1
$TERM environment variable
tmux-256color
Installation
AUR
How to reproduce the issue
The crash is very random, which makes it very hard to produce a minimum configuration to hit the issue.
It's worth noting that my setup is mostly in Lua.
Expected behavior
I expect Neovim to operate normally.
Actual behavior
It crashes with a coredump.
Edit: Sometimes the crash happens before I can see the UI. I can't tell if the UI was loaded or not.
The output of
coredumpctl gdb -1
:Click to view the output
The output of
thread apply all bt full
:Click to view the output
Please let me know if there is any more information I can provide.
Thank you!
The text was updated successfully, but these errors were encountered: