-
Notifications
You must be signed in to change notification settings - Fork 114
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
boogie does not terminate #993
Comments
It appears the problem here also manifests by ever growing memory (Boogie grows over 100g in some cases). Any idea what could cause this, and a possible option to turn off/on to prevent the memory growth? |
cc @shazqadeer |
The file is large. There is no magic. If I were to debug this problem, I would start by trying to minimize the size while not losing the issue. Can you try to do a bit of this? Then I will also try to help. How many verification problems are present in the file? Is there any non-linear arithmetic? If not, most likely the problem is due to quantifiers. |
The problem is not z3 here, with quantifiers and the like, but Boogie. We are observing that boogies memory grows unbounded (100GB and growing). Wondering what could cause this? Is there an algorithm inside Boogie which does constant rewriting of the VC such that it grows without bounds? We are used to this from Z3 but not from Boogie. We also seeing no active z3 instance running and still Boogie using compute. |
Thanks for that clarification. Very interesting! I will take a look. |
Here is another boogie.bpl (1).txt which should clearly show the memory explosion, run as:
|
This thing actually verifies sometimes but othertimes finishes with SIGKILL, I guess because out of memory. It may pass on your machine, but on my Mac I can see with Activity Monitor how it goes over 100GB |
I tried the first file @rahxephon89 supplied. Boogie has been running on my Mac for about 12 minutes now and the memory consumption of Boogie appears to be holding steady at 2GB. I will now try the second file also. |
To summarize our observation:
Perhaps these two issues are separate, perhaps have some related cause? Thank you for any help. Unfortunately it is pretty hard to reproduce which of the tons of formulas causes it and which feature interaction contributes. |
@shazqadeer Here is a smaller example: boogie-bug.bpl.txt. It seems that procedure |
Hi, when I tried to verify the following program boogie.bpl using the command:
boogie got stuck without terminating. Any hints on why it happens and/or how to debug it further? Thanks!
System spec:
The text was updated successfully, but these errors were encountered: