Skip to content

Instantly share code, notes, and snippets.

@nogweii
Last active May 9, 2022 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nogweii/f07e83bcaddac9c8e3d35731ac65fd34 to your computer and use it in GitHub Desktop.
Save nogweii/f07e83bcaddac9c8e3d35731ac65fd34 to your computer and use it in GitHub Desktop.
neovim debugging

this was resolved by compiling luv from the latest HEAD to include PR #598. Then reinstalling neovim from source to pick up the later version of luv.

brew unlink neovim luv
brew install --HEAD luv
brew install --HEAD neovim
NVIM v0.8.0-dev+166-gc55867b46
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by nog@MacBook-Pro.local
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/opt/homebrew/Cellar/neovim/HEAD-c55867b/share/nvim"
Run :checkhealth for more info
---------
macos 12.3.1 on a 16-inch M1 Max
$TERM = xterm-256color
Running in iTerm2
Installed via homebrew (`brew install --HEAD neovim`)
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
* frame #0: 0x0000000183f70db8 libsystem_kernel.dylib`__pthread_kill + 8
frame #1: 0x0000000183fa5ee0 libsystem_pthread.dylib`pthread_kill + 288
frame #2: 0x0000000183ee0340 libsystem_c.dylib`abort + 168
frame #3: 0x0000000183dc28c0 libsystem_malloc.dylib`malloc_vreport + 552
frame #4: 0x0000000183dc5f34 libsystem_malloc.dylib`malloc_report + 64
frame #5: 0x0000000183db4ca0 libsystem_malloc.dylib`free + 300
frame #6: 0x00000001005e3d0c libuv.1.dylib`uv__free + 40
frame #7: 0x00000001005e9314 libuv.1.dylib`uv__fs_work + 3928
frame #8: 0x00000001005ea3f4 libuv.1.dylib`uv_fs_closedir + 132
frame #9: 0x00000001005bd7c8 libluv.1.dylib`luv_fs_closedir + 204
frame #10: 0x000000010072aca8 libluajit-5.1.2.dylib`lj_BC_FUNCC + 44
frame #11: 0x0000000100737910 libluajit-5.1.2.dylib`lua_pcall + 148
frame #12: 0x00000001001308bc nvim`nlua_pcall + 120
frame #13: 0x000000010013064c nvim`nlua_typval_exec + 224
frame #14: 0x000000010013075c nvim`nlua_typval_call + 188
frame #15: 0x00000001000ba5fc nvim`call_func + 1232
frame #16: 0x00000001000b9ff8 nvim`get_func_tv + 384
frame #17: 0x000000010008cb0c nvim`call_func_rettv + 248
frame #18: 0x000000010008bda0 nvim`handle_subscript + 568
frame #19: 0x0000000100092a28 nvim`eval7 + 3268
frame #20: 0x0000000100091b24 nvim`eval6 + 72
frame #21: 0x00000001000916bc nvim`eval5 + 72
frame #22: 0x0000000100091420 nvim`eval4 + 60
frame #23: 0x00000001000912ac nvim`eval3 + 64
frame #24: 0x0000000100081954 nvim`eval1 + 64
frame #25: 0x00000001000813bc nvim`eval0 + 108
frame #26: 0x0000000100081bc8 nvim`eval_to_string + 56
frame #27: 0x0000000100081db4 nvim`eval_to_string_safe + 128
frame #28: 0x000000010005449c nvim`build_stl_str_hl + 5116
frame #29: 0x00000001001d7b3c nvim`win_redr_custom + 688
frame #30: 0x00000001001d8094 nvim`redraw_custom_statusline + 64
frame #31: 0x00000001001d7fd0 nvim`showruler + 104
frame #32: 0x00000001001773e8 nvim`normal_check + 1500
frame #33: 0x000000010020f6ac nvim`state_enter + 116
frame #34: 0x000000010013b07c nvim`main + 10708
frame #35: 0x0000000100391088 dyld`start + 516
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment