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

Larger block space met Segmentation fault #6

Open
jimmyli-421 opened this issue Jun 25, 2022 · 1 comment
Open

Larger block space met Segmentation fault #6

jimmyli-421 opened this issue Jun 25, 2022 · 1 comment

Comments

@jimmyli-421
Copy link

Thanks for your contribution! This function is very useful to me.
But i met Segmentation fault, when I set block space as 8.
Below is the error message.
Error: Command failed: circom --wasm --sym --r1cs --output /tmp/circom_-15849-4lBfKEKyj3rZ /home/user/tmp/sha256-var-circom/circuits/sha256VarSpace8_test.circom thread 'main' panicked at 'index out of bounds: the len is 55587651 but the index is 10037632455167976532', constraint_list/src/constraint_simplification.rs:80:24 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace Segmentation fault (core dumped)
Have you ever encountered a problem like this?

@noway
Copy link
Owner

noway commented Jun 28, 2022

@jimmyli-421

Interesting. I haven't encountered this myself - this is weird and the tests should run really... Worked on circom compiler 2.0.3 i'm pretty sure.

Maybe try to disable optimisation?

image

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

2 participants