Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minimap has a fatal bug. #474

Open
akiyosi opened this issue May 17, 2023 · 0 comments
Open

minimap has a fatal bug. #474

akiyosi opened this issue May 17, 2023 · 0 comments

Comments

@akiyosi
Copy link
Owner

akiyosi commented May 17, 2023

Currently, the minimap has a fatal bug. The problem is that the entire Goneovim application will randomly freeze if you continue to operate the application while the minimap is displayed.
#450 is a related issue.

I am investigating this issue but do not know the root cause.
The results of the analysis by go-delve show that the values are not received in the channels created inside neovim/go-client and remain in a waiting state. This can be understood as no response from Neovim as a result of executing the API to Neovim.
On the other hand, if it freezes, it is likely that there is a more fundamental problem hiding behind it, since it occurs in the same processing each time.

Frame 3: /Users/akiyoshi/goneovim/vendor/github.com/neovim/go-client/msgpack/rpc/rpc.go:299 (PC: 5b19198)
   294:         return nil
   295: }
   296:
   297: // Call invokes the target method and waits for a response.
   298: func (e *Endpoint) Call(method string, reply interface{}, args ...interface{}) error {
=> 299:         c := <-e.Go(method, make(chan *Call, 1), reply, args...).Done
   300:         return c.Err
   301: }
   302:
   303: // Go append method call to queue and returns the new Call.
   304: func (e *Endpoint) Go(method string, done chan *Call, reply interface{}, args ...interface{}) *Call {
(dlv) print 
@akiyosi akiyosi pinned this issue May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant