ysong10 / fast_ALS

0 stars 1 forks source link

Deadlock during validateEdit call in UI thread #817

Closed ysong10 closed 3 years ago

ysong10 commented 3 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 3 years ago

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[bot] commented 3 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.