cquery icon indicating copy to clipboard operation
cquery copied to clipboard

Latest ( standard in/out changes introduces race condition

Open wberrier opened this issue 6 years ago • 0 comments

#819 introduces a hang where cquery no longer responds to any requests from stdin.

Going to the commit before that change fixes it.

I could reproduce this about 9 out of 10 times on a project that takes about 45 seconds for querydb to finish.

Doing some light debugging on cquery: I could see that messages were coming in on stdin. The thread waiting for something to come into the stdout queue would wait indefinitely. No messages were getting to stdout back to the client. The client would eventually time out.

OS: Ubuntu 16.04 Editor: emacs 26.1 using lsp-mode

Let me know what other information would be helpful.

wberrier avatar Nov 07 '18 00:11 wberrier