-
Notifications
You must be signed in to change notification settings - Fork 28
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
[CN] Hang when passing pointer to struct with multiple array elements #613
Comments
This feels like #399 to me |
It spun for 9 hours and I finally killed it. The last output with
These are the relevant resources
If we simplify multiplication and Here it is from the working case:
It looks the same so I am at the limit of black box investigation. |
Here is the problem:
Is it possible that the search for struct elements is consuming rejected resources instead of restoring them to the context? That would explain this pattern. |
This seems to be a performance bug in z3. When I run this with cvc5 it finishes instantly:
|
Something odd is happening with z3. Setting "sat.smt=true" to improve performance results in a verification failure (where the same C code passes using cvc5:
for array-problem.c:
|
z3 bug filed: Z3Prover/z3#7438 |
Fixed in current build Z3Prover/z3#7438 (comment) , so we can switch on |
With one element it finishes quickly.
At least three minutes, I'll update if it ever finishes. I suspect this is a hang.
The text was updated successfully, but these errors were encountered: