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

Deadlock during validateEdit call in UI thread #826

Open
ysong10 opened this issue Nov 1, 2020 · 2 comments
Open

Deadlock during validateEdit call in UI thread #826

ysong10 opened this issue Nov 1, 2020 · 2 comments
Assignees
Labels
bug Something isn't working info-needed

Comments

@ysong10
Copy link
Owner

ysong10 commented Nov 1, 2020

If the user has configured validateEdit to prompt before connecting, the connection to the server is done in the UI thread. Connections are serialized using a Java synchronized block. This can cause deadlock if another thread is connecting at the same time and is trying to prompt.

@bee-tool bee-tool bot added the bug Something isn't working label Nov 1, 2020
@bee-tool
Copy link

bee-tool bot commented Nov 1, 2020

Quality assessment:

- The system's expected behavior (EB) and steps to reproduce (S2R) might not have been provided!

@ysong10 Can you provide this information in the bug report?

@bee-tool
Copy link

bee-tool bot commented Nov 1, 2020

Title: Deadlock during validateEdit call in UI thread

Description:

If the user has configured validateEdit to prompt before connecting, the connection to the server is done in the UI thread. Connections are serialized using a Java synchronized block. This can cause deadlock if another thread is connecting at the same time and is trying to prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working info-needed
Projects
None yet
Development

No branches or pull requests

1 participant