Skip to content

snarkit compile crashs under ubuntu #14

@noel2004

Description

@noel2004

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions