-
Notifications
You must be signed in to change notification settings - Fork 232
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
F* loops when Z3 times out or gets killed #8
Comments
I noticed the same problem on my laptop - using the packaged mono. However, the continuous integration, that uses a up-to-date mono compiled from source, does not have this problem. What are your system's specifications ? |
|
I don't completely understand the code in ask_process. Why is System.Threading.Monitor.Wait called? Isn't it just silly to do a Wait right before an Exit? And anyway, what other thread is supposed to be competing for this lock? :) |
[Sorry, posted this in the wrong bug report at first] |
Something like this ? http://msdn.microsoft.com/en-us/library/system.diagnostics.process.exited(v=vs.110).aspx |
Yes. |
I've tried the following:
It just blocks at the "with_sig" and I don't see any reason for that. |
I've been looking into this more, and it's a bit of a mess:
I'll send in a patch that exits cleanly when Z3 is dead, and that changes from |
Asked for a better solution on the Z3 forum: |
System.Threading.Monitor.Wait in ask_process in utils.fs gets stuck forever when Z3 times out or gets killed. Could this be some sort of deadlock?
The text was updated successfully, but these errors were encountered: