Skip to content
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

Fatal failure CDHashMap::insertAtContextLevelZero() at src/context/cdhashmap.h:408 #407

Closed
mpreiner opened this issue Jan 14, 2022 · 2 comments
Assignees
Labels

Comments

@mpreiner
Copy link
Member

murxla/murxla@541e5f1
cvc5/cvc5@0f5ee6b

(set-option :global-declarations true)
(define-sort _s1 (_y2 _y2))

error:

Fatal failure within void cvc5::context::CDHashMap<Key, Data, HashFcn>::insertAtContextLevelZero(const Key&, const Data&) [with Key = std::__cxx11::basic_string<char>; Data = std::pair<std::vector<cvc5::api::Sort>, cvc5::api::Sort>; HashFcn = std::hash<std::__cxx11::basic_string<char> >] at cvc5/src/context/cdhashmap.h:408
Check failure

 d_map.find(k) == d_map.end()

Aborted (core dumped)

I know that the above is not valid SMT2 (minimized by ddsmt), but it should not trigger this assertion error in any case, but instead report a proper parse error. Error may be related to cvc5/cvc5#4767

@4tXJ7f 4tXJ7f self-assigned this Jan 14, 2022
@ajreynol
Copy link
Member

I believe this is the same issue as cvc5/cvc5#4767.

@ajreynol
Copy link
Member

ajreynol commented Mar 2, 2022

Fixed by cvc5/cvc5@bcf90d5. Now gives this error:

(error "Parse Error: proj-issue407.smt2:2.27: Unexpected token: ')'.

  (define-sort _s1 (_y2 _y2))
                             ^
")

@ajreynol ajreynol closed this as completed Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants