Lyude / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
161 stars 10 forks source link

nvim-gtk bails with "Error reading message" #116

Open ford-prefect opened 4 months ago

ford-prefect commented 4 months ago

Describe the bug Every once in a while (relatively frequently), neovim-gtk bails for me. Right now, this might happen just after startup if I open a file with :e. Doing the same thing with just nvim works fine. I see the following in a redraw message that seems to correspond with the failure:

[2024-07-17T01:08:29Z DEBUG nvim_rs::neovim] Get message RpcNotification { method: "redraw", params: [Array([String(Utf8String { s: Ok("chdir") }), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire/../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire/../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire/../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire/../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire/../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire/../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire/../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire/../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire/../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire/../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Ok("/home/arun/code/pipewire/pipewire") })]), Array([String(Utf8String { s: Err(([47, 104, 111, 109, 101, 47, 97, 114, 117, 110, 47, 99, 111, 100, 101, 47, 112, 105, 112, 101, 119, 105, 114, 101, 47, 112, 105, 112, 101, 119, 105, 114, 101, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 46, 46, 47, 147, 2, 172, 115, 117, 98, 115, 99, 114, 105, 112, 116, 105, 111, 110, 149, 168, 66, 117, 102, 69, 110, 116, 101, 114, 161, 42, 0, 217, 33, 47, 104, 111, 109, 101, 47, 97, 114, 117], Utf8Error { valid_up_to: 274, error_len: Some(1) })) })])])] }

Technical information (please complete the following information):

ford-prefect commented 4 months ago

Might not be relevant, but this seems to happen when I open the file from a specific directory, but not from other directories.