-
Notifications
You must be signed in to change notification settings - Fork 47
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
IDEA to Engine process deadlock #1539
Labels
ctg-bug
Issue is a bug
Comments
Merged
Repository owner
moved this from Todo
to Done
in UTBot Java
Dec 16, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Fix deadlock when IDEA process under readlock asks Engine process, which then asks IDEA process for isCancalled which also tries to take readlock, but some write action occured and readlock for isCancelled cant be taken.
To Reproduce
Make any write action while
read classes
phase of test generation. It might take some time to reproduce such behaviour.Expected behavior
Tests are supposed to be generated.
Actual behavior
Test generation indefinetely hangs.
The text was updated successfully, but these errors were encountered: