-
Notifications
You must be signed in to change notification settings - Fork 5
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
Neovim sometimes crashes on lua_getallocf called from json5.so #5
Comments
Here's stack trace with debug info:
though it probably doesn't tell much...
And for completeness:
though I'm not sure what is the issue, |
Closing as this was solved in mlua-rs/mlua#479. TLDR: don't use lazy-loading for lua-json5, e.g. with lazy.nvim ensure that it is defined such that {
'Joakker/lua-json5',
config = function()
require('json5')
end
}, |
Hi, I am using lua-json5 for nvim-dap to load
launch.json
. I noticed that once in a while when I load dap configurations for the first time the whole Neovim crashes. From core dump usingcoredumpctl
I can see the following:and in GDB using
bt
:I don't have debug symbols for lua-json5 so that doesn't tell much, but GDB with debuginfod could point to the following:
so the question is what part of lua-json5 calls
lua_getallocf
with invalid arguments.I will try to compile lua-json5 with debug symbols so that the next time it happens I can say more.
The text was updated successfully, but these errors were encountered: