Closed unclechu closed 6 years ago
Hello! Wait timeout error occur when neovim process does not respond in 5 seconds. This can be:
@daa84 where this timeout is set so I could change it?
I just encountered the same crash but the cause may be different. I'm not actually sure what triggered it as I wasn't using Neovim at the time.
Nov 24 13:45:11 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: Unknown error type: Wait timeout
Nov 24 13:45:16 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: Unknown error type: Wait timeout
Nov 24 13:45:21 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: Unknown error type: Wait timeout
Nov 24 13:45:26 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: Unknown error type: Wait timeout
Nov 24 13:45:31 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: Unknown error type: Wait timeout
Nov 24 13:45:36 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: Unknown error type: Wait timeout
Nov 24 13:45:36 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', /checkout/src/libcore/result.rs:860:4
Nov 24 13:45:36 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: note: Run with `RUST_BACKTRACE=1` for a backtrace.
Nov 24 13:45:36 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: thread '<unnamed>' panicked at 'Can't join dispatch thread: Any', /checkout/src/libcore/result.rs:860:4
Nov 24 13:45:41 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: Unknown error type: Wait timeout
Nov 24 13:45:46 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: Unknown error type: Wait timeout
Nov 24 13:45:51 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: Unknown error type: Wait timeout
Nov 24 13:45:56 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: Unknown error type: Wait timeout
Nov 24 13:46:01 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: Unknown error type: Wait timeout
Nov 24 13:46:06 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: Unknown error type: Wait timeout
Nov 24 13:46:11 wes-thinkpad org.daa.NeovimGtk.desktop[21104]: thread 'main' panicked at 'Can't send mouse input event: GenericError("Wait timeout")', /checkout/src/libcore/result.rs:860:4
I got two "NeovimGtk isn't responing" dialogues from GNOME before it crashed. They give the choice of Force Quit or Wait, I chose Wait in each case.
I found same issue in neovim-qt: https://github.com/equalsraf/neovim-qt/issues/319 So I think it is need to introduce new --timeout command line argument like neovim-qt do and increase default timeout, maybe this helps. @unclechu currently it is not possible to change timeout value
Fixed memory leak #28 - this can produce slowdown and timeout error at the end. Fixed problem with timeout error when neovim wait for user input and focus event executed. Also increase default timeout to 10 sec and add option to set timeout from command line (https://github.com/daa84/neovim-gtk/wiki/Configuration#command-line). Hope this helps 😄
It freezes and after about 10-20 seconds it fails.
Here is the log:
Neovim
:version
:My neovim config: https://github.com/unclechu/neovimrc/