Skip to content

Parser bug when compiling with assertions #2577

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

Closed
wintered opened this issue Sep 23, 2019 · 0 comments
Closed

Parser bug when compiling with assertions #2577

wintered opened this issue Sep 23, 2019 · 0 comments

Comments

@wintered
Copy link

Hi,

I found out that the following (probably invalid formula) is accepted by z3 compiled with assertions.

 (assert (a  0  (let ())

z3 throws the following assertion violation

File: ../src/util/ref_vector.h
Line: 91
sz <= m_nodes.size()

I'm curious, where do you typically put assertions and when you put them do you expect
unintended behaviour at that very place?

OS: Ubuntu 18.04
Revision: dee8a9f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant