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

ICE: failed to run fixpoint ... EOF while parsing a value #969

Open
enjhnsn2 opened this issue Jan 11, 2025 · 3 comments
Open

ICE: failed to run fixpoint ... EOF while parsing a value #969

enjhnsn2 opened this issue Jan 11, 2025 · 3 comments

Comments

@enjhnsn2
Copy link
Collaborator

In response to Z3 hanging, Ranjit and Vivienne recomended I try using CVC5 to see if that just fixes the problem. However, after adding solver="cvc5" to Tock's flux.toml, Flux throws a very opaque ICE:

error: internal compiler error: crates/flux-infer/src/fixpoint_encoding.rs:436:35: failed to run fixpoint: Custom { kind: UnexpectedEof, error: Error("EOF while parsing a value", line: 1, column: 0) }

Any advice on debugging this error would be greatly appreciated.

This ICE can be reproduced by adding solver="cvc5" to flux.tomlintock/, entering tock/kernel, and running cargo flux.

@enjhnsn2
Copy link
Collaborator Author

LLM begone

@nilehmann
Copy link
Member

nilehmann commented Jan 11, 2025

  1. You can FLUX_DUMP_CONSTRAINT=1 and run fixpoint directly on the *.smt2 file.
  2. You can put #[flux_rs::opts(solver = "cvc5")] on top of a function to only check that function with cvc5.

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

3 participants
@nilehmann @enjhnsn2 and others