-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Disabling persistent verbose pb solver log messages #6107
Comments
It is most likely hitting a bug and the output is there to draw attention to it. |
Thanks for the advice! |
it is a bug |
Thanks, I have a self-contained repro ReproduceZ3Bug.cpp. (I built z3@5db133f8 with the cmake build on on my x86 Mac. I hope it triggers the error message for you on your platform, but if not please let me know.) |
it isn't reproducing so far. Tried with 3K random seeds, same result no assertion violations. |
Ok thanks! I also tried building on x86 ubuntu and the bitstring I included did not trigger the bug. I'm preparing a docker image to reproduce this, and can upload that in .tar.gz exported format if this doesn't reproduce for you. |
thank you this works. Don't work on docker |
I have been trying for some time to eliminate all Z3 logging output from my C++ program. The undesired output looks like the following:
I found the "is above consequent in stack" string in pb_solver.cpp. I read the source code in that file to find the relevant tags to call
Z3_disable_trace(tag)
, as a suggested here. I tried disabling these tags:This does not silence the output above.
This issue seems related. In both cases the verbosity was 0. The solution then was to increase verbosity to 1, although no example problem instance was provided to reproduce the issue (let me know if a smtlib example would be helpful).
Is this a bug or is there a way to disable this log output using the z3 API? Thank you very much.
The text was updated successfully, but these errors were encountered: