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 #768

Open
ysong10 opened this issue Jun 18, 2020 · 2 comments
Open

Deadlock during validateEdit call in UI thread #768

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

Comments

@ysong10
Copy link
Owner

ysong10 commented Jun 18, 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 Jun 18, 2020
@bee-tool
Copy link

bee-tool bot commented Jun 18, 2020

Quality assessment:

- The system's expected behavior (EB) might not have been provided!

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

@bee-tool
Copy link

bee-tool bot commented Jun 18, 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.

Repository owner deleted a comment from roneyfraga Mar 18, 2024
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

3 participants
@ysong10 and others