!HCjHPBLFfoFpYNgwdE:matrix.org

Neovim dev

203 Members
Discussion about Neovim development and adjacent topics14 Servers

Load older messages


SenderMessageTime
17 Sep 2024
@muniter:matrix.orgmuniter

I'm having trouble passing the test suite locally.

RUN      T738 server -> client connecting to its own pipe address does not deadlock: 

It totally deadlocks 🫠

10:10:37
@justinmk2:matrix.orgjustinmk
In reply to @muniter:matrix.org

I'm having trouble passing the test suite locally.

RUN      T738 server -> client connecting to its own pipe address does not deadlock: 

It totally deadlocks 🫠

what OS? works for me on macos. how exactly are you running it
11:29:08
@muniter:matrix.orgmuniter
In reply to @justinmk2:matrix.org
what OS? works for me on macos. how exactly are you running it
MacOS Somoa. Clean master branch, distclean, make test. Tried multiple times.
12:29:47
@muniter:matrix.orgmuniter

Ran the test from neovim terminal and just with kitty directly.

I'm wondering if it could be something with env variables. Very recent with macos brought my zshrc from Linux and have been conditionally setting some env variables XDG_

12:34:37
@clason:matrix.orgclasonworks heere12:36:01
@clason:matrix.orgclason * works here12:36:04
@clason:matrix.orgclason(Sonoma, fish)12:36:12
@clason:matrix.orgclasonmake sure you are on latest master and have Clang 16 installed12:36:35
@clason:matrix.orgclason(also, Intel or ARM?)12:36:40
@muniter:matrix.orgmuniterARM, installed clangd just yesterday from brew. But will check 12:37:04
@clason:matrix.orgclasonoh, that one's not supported12:37:17
@clason:matrix.orgclasonuse the Xcode command line tools12:37:26
@muniter:matrix.orgmuniter

Thanks, didn't know about that. Just updated:

clangd --version
Apple clangd version 16.0.0 (clang-1600.0.26.3)
Features: mac+xpc
Platform: arm64-apple-darwin23.6.0

Did a distclean, make, make test. But still deadlocking 🤔

13:05:34
@muniter:matrix.orgmuniterOh just got it to work commenting all my .zshenv13:05:51
@clason:matrix.orgclasonoh, that's Sonoma, not Sequoia (they should have used a different initial letter for macOS 15 😠)13:13:22
@muniter:matrix.orgmuniter The culprit was XDG_RUNTIME_DIR=/tmp 13:16:22
@muniter:matrix.orgmuniterWhen that variable is set, the test deadlocks13:16:47
@clason:matrix.orgclasonMakes sense; we had issues with "wrong" XDG directories.13:17:34
@muniter:matrix.orgmuniterThat's what happens for being lazy and just reusing my linux zsh config 😃 without reading about what should i change13:19:34
@clason:matrix.orgclasonBut you would have saved soooo much time had it worked :)13:20:46
@justinmk2:matrix.orgjustinmk
In reply to @muniter:matrix.org
The culprit was XDG_RUNTIME_DIR=/tmp
that reproduces it for me. would you mind creating an issue? even if it's just a lack of visibility in our test runner, that's something worth improving
13:24:06
@muniter:matrix.orgmuniterSure!13:24:22
@justinmk2:matrix.orgjustinmkand if it points to a lower-level issue, then that's even more worth fixing :p13:24:31
@gpanders:matrix.orggpanders hi muniter !! 18:03:27
@gpanders:matrix.orggpanderslong time no see18:03:49
@muniter:matrix.orgmuniter

Hi @gpanders:matrix.org !! Yes it's been a while. I've been missing the fun 😊

22:10:27
19 Sep 2024
@kaddkaka:matrix.orgkaddkaka joined the room.19:44:09
@kaddkaka:matrix.orgkaddkaka

When doing :InspectTree in a cpp file with deep nesting I get a stack overflow. Not very nice. Should this be filed as an issue on neovim github?

Error executing Lua callback: stack overflow
stack traceback:
        [C]: in function 'id'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:57: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:63: in function 'traverse'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:108: in function 'new'
        ...vid/.local/share/nvim/runtime/lua/vim/treesitter/dev.lua:330: in function 'inspect_tree'
        ...e/david/.local/share/nvim/runtime/lua/vim/treesitter.lua:454: in function 'inspect_tree'
        vim/_defaults.lua: in function <vim/_defaults.lua:0>
19:45:24
@gpanders:matrix.orggpandersyes please file an issue, this is a bug19:46:19
@kaddkaka:matrix.orgkaddkaka👍️19:47:44

Show newer messages


Back to Room ListRoom Version: 10