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

snarkit compile crashs under ubuntu #14

Open
noel2004 opened this issue Jul 28, 2021 · 3 comments
Open

snarkit compile crashs under ubuntu #14

noel2004 opened this issue Jul 28, 2021 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@noel2004
Copy link
Member

Compile circuits/testdata under ubuntu with following command

snarkit compile /home/ubuntu/fluidex-backend/circuits/testdata/Block_2_5_10_5 --verbose --backend=auto

is always fail and prompt me Command terminated by signal 11

The issue seems caused by --verbose switch which called /usr/bin/time. so I can run the command succefully without --verbose switch.

However, call the sole command under bash shell directly runs well (though it would failed inside snarkit )

/usr/bin/time -v node --max-old-space-size=8192 --stack-size=65500 /usr/local/lib/node_modules/snarkit/node_modules/circom/cli.js /home/ubuntu/fluidex-backend/circuits/testdata/Block_2_5_10_5/circuit.circom -r /home/ubuntu/fluidex-backend/circuits/testdata/Block_2_5_10_5/circuit.r1cs -c /home/ubuntu/fluidex-backend/circuits/testdata/Block_2_5_10_5/circuit.cpp -s /home/ubuntu/fluidex-backend/circuits/testdata/Block_2_5_10_5/circuit.sym -v
@HAOYUatHZ
Copy link
Member

what about

snarkit compile /home/ubuntu/fluidex-backend/circuits/testdata/Block_2_5_10_5 --verbose  --backend=native

@noel2004
Copy link
Member Author

Still no luck ... and seems same error

@noel2004
Copy link
Member Author

The failing logs is attached here (with backend=auto/native).

When run without --verbose we success but of course, no log available ...

failsnarkit-native.log
failsnarkit-auto.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants