Coder Social home page Coder Social logo

Comments (5)

daa84 avatar daa84 commented on August 15, 2024 3

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 πŸ˜„

from neovim-gtk.

daa84 avatar daa84 commented on August 15, 2024

Hello!
Wait timeout error occur when neovim process does not respond in 5 seconds. This can be:

  • some bug in neovim
  • just long response time because of something, maybe neovim was too busy
  • this can be some unsupported neovim behavior (for example neovim process wait for something that neovim-gtk don't know)
    One solution is maybe increase 5 seconds to some bigger value.

from neovim-gtk.

unclechu avatar unclechu commented on August 15, 2024

@daa84 where this timeout is set so I could change it?

from neovim-gtk.

wezm avatar wezm commented on August 15, 2024

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.

from neovim-gtk.

daa84 avatar daa84 commented on August 15, 2024

I found same issue in neovim-qt: equalsraf/neovim-qt#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

from neovim-gtk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.