ysong10 / fast_ALS

0 stars 1 forks source link

Deadlock during validateEdit call in UI thread #645

Closed ysong10 closed 4 years ago

ysong10 commented 4 years ago

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[bot] commented 4 years ago

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[bot] commented 4 years ago

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.